Showing posts with label Java Scripts. Show all posts
Showing posts with label Java Scripts. Show all posts

Tuesday, May 24, 2011

Learn Basic JavaScript Hacking: How to Hack with Java Script

1 comments
Basic JavaScript hacking

LEVEL 1
You must first obtain the "source code": Set the security of Internet Explorer to high, click on the link to level 1 at the very top of the menu bar, Internet Explorer, the File, Edit, View, etc. Press the "View", "Source".This will take it up a Notepad window. Look for:

passwort=prompt("Please enter password!","") passwort = prompt ( "Please enter password !","")

This ensures a prompt box you can write in, that you enter as a password is stored in the variable "passwort".

if (passwort=="easy") if (passwort == "easy")

This checks on "passwort" (what you type) is "easy", the password for level 1 is when the "easy".

Set back security to medium and click on the link to the Level 1and type "easy".

Use the same procedure to obtain the "source code".

LEVEL 2
Once you have retrieved the Notepad window, there will be a lot of code. Just scroll further down, find this:

var m1, i; was m1, i;
m1="JavaScript"; m1 = "JavaScript";
value=prompt("Please enter password!",""); value = prompt ( "Please enter password !","");
if (value==m1) { if (value == m1) (
window.location=value+".htm"; window.location = value + ". htm";
i=4; i = 4;


What you type being stored in the variable "value",

if (value==m1) if (value == m1)

"m1" is a variable that contains a value. See further up:

m1="JavaScript " m1 = "JavaScript"
The password is "JavaScript".

Search and Learn From The Best Javascript Tutorials For Beginners

0 comments
Are you interested in learning JavaScript? Well, if you are then JavaScript tutorials for beginners is something that you need. JavaScript is a language developed that allows you to create interactive web pages in websites. An interactive element is something that works according to a user’s input. This is really powerful and a good menu JavaScript tutorial or any other tutorial can help you learn all of them. It will also allow your website to handle complex calculations, allow you to set controls such as displaying certain information when certain values provided, validate forms, and more.

JavaScript is a really simple programming language mostly designed to make a web page’s elements interactive. JavaScript tutorials for beginners can make it even easier for you to learn this in quick time. JavaScript is not related to Java but has similarity with C and C++. JavaScript is case sensitive. A good menu JavaScript tutorial or any other tutorial will help you know the ins and out of JavaScript.

JavaScript tutorials for beginners will also tell you about the things you can do with JavaScript. It can allow you to validate forms, create mousehover effects, change background color of a document with a click of a button and more. A good menu JavaScript tutorial and other such tutorials will also allow you to randomly display content without the use of server programs. You can also learn moving HTML elements around pages. JavaScript tutorials for beginners will further help you in changing page contents dynamically. You can also learn about the process of loading content in new browser windows and frames and even create online games and so on. You must remember that JavaScript is based on Object Oriented Programming concept. Its syntax is very similar to that of C, C++ and Java. But, it is certainly much easier to learn and implement with the help of a menu JavaScript tutorial and others.

One can find many JavaScript tutorials for beginners, learn from there and get started immediately. To start learning JavaScript, you will only need a simple text-editor and a browser. In windows, you can use notepad under your accessories and Linux and Mac users have a similar editor. You just have to create a blank HTML page and save the file. Then you need to open that page in a browser to see the results. Any JavaScript changes you make will show up instantly in the browser, just need to apply the changes and refresh the page. A menu JavaScript tutorial and others will also talk about internal and external JavaScript.

Best JavaScript tutorials for beginners also stress upon incorporating internal JavaScript in the proper location on a particular web page. Internal JavaScript code is placed anywhere within the web page between the HTML tags. A menu JavaScript tutorial and others will also tell you about implementing external JavaScript. JavaScript code placed in a file separate from the HTML code is called external JavaScript. So, start learning from the best JavaScript tutorials today.

Welcome to Tutorials Wire – Get Tutorials, tutorial, jquery tutorials for beginners, javascript tutorials for beginners, html tutorial for beginners, css tutorials for beginners, javascript tutorial, jquery ajax tutorial. Need of more information Visit our website: http://www.tutorialswire.com
Article Source

Sunday, April 17, 2011

Some kool Javascripts for fun

0 comments
Here i will post some cool java tricks... copy the scripts in adress bar (plae where u type facebook.com ) and hit enter..

1)
This piece of code pulls off all the images from your web page and rotates them in a circle. Really makes any page go naked (without its images). The best place to test is a website with many images. (Google Images for an example)

javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName("img"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',5); void(0);


2)
This code lets you edit any page/website in real-time. With Firefox, you can even edit and save the modified pages to your computer. a nice one.. i love this

javascript:document.body.contentEditable='true'; document.designMode='on'; void 0

3)
There are times when you are not sure that the website that you are visiting is authentic. Use this code whenever in doubt :-

Copy the code from here and paste into browsers address bar..

javascript:alert("The actual URL is:\t\t" + location.protocol + "//" + location.hostname + "/" + "\nThe address URL is:\t\t" + location.href + "\n" + "\nIf the server names do not match, this may be a spoof.");

4)
hake the Browser...

How about shaking the internet browser window?

Copy paste the code on the browser's address bar and press enter...

javascript:function Shw(n) {if (self.moveBy) {for (i = 35; i > 0; i--) {for (j = n; j > 0; j--) {self.moveBy(1,i) ;self.moveBy(i,0);self.moveBy(0,-i);self.moveBy(-i,0); } } }} Shw(6)


And finally Try this one :)



javascript:function reverse() { var inp = " (; xnaht yas ot tegrof tnoD ,skcoR diawaJ namialuS
...yad lufrednow a evaH "; var outp = ""; for (i = 0; i <= inp.length ; i++) { outp = inp.charAt (i) + outp ; } alert(outp) ;}; reverse();




Thursday, April 7, 2011

Edit any webpage INTERNET

0 comments
1) Go to the site you wish to edit

2) In the browser’s address bar, paste this code:

javascript:document.body.contentEditable
... ='true'; document.designMode='on'; void 0


3) Now click on the part of the page you want to edit and start changing, deleting and adding text

MAKE IMAGES ON INTERNET DANCE

0 comments
MAKE IMAGES ON INTERNET DANCE.
A Javascript trick that makes all the images on the site your on float and dance around. :]

You can do this to ANY site with images

... OPEN UR BROWSER
OPEN AYN SITE THAT CONTAINS IMAGES
Go to the address bar on top where site name is there eg.www.socialfun-king.blogspot.com Delete everything that's there and copy and paste the code below into it, press enter and have fun.

javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName("img"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+ "px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+" px"}R++}setInterval('A()',5); void(0);