Cool Javascript Tricks For Your Browser!
What is Javascript? According to Wiki : JavaScript is an object-oriented scripting language used to enable programmatic access to objects within both the client application and other applications. It is primarily used in the form of client-side JavaScript, implemented as an integrated component of the web browser, allowing the development of enhanced user interfaces and dynamic websites. JavaScript is a dialect of the ECMAScript standard and is characterized as a dynamic, weakly typed, prototype-based language with first-class functions. JavaScript was influenced by many languages and was designed to look like Java, but to be easier for non-programmers to work with.
But today, let me show you guys some cool Javascript tricks that can be used to trick our friends or family.. =)
Usage Method : Copy and paste these code to your browser address bar and hit Enter!
The tricks :
“The Webmaster”
javascript:document.body.contentEditable=’true’; document.designMode=’on’; void 0
- This code lets you edit any page of website in real-time.. If your using Firefox browser, you can even save the modified pages to your computer.. Sweet!
“Merry Go Round”
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);
- This code pull out all the image on the current webpage & rotate them in a circle.. The best place to test this code is at Google Image
- Change the tag “img” (in line 2) to “p” or “a” and wallah! Text or links is now rotating instead of images..
“Calculator”
javascript: alert(34343+3434-222);
- Edit the number inside the bracket & the answer will come in alert! =)
“Spoof Sites Tracker”
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.”);
- If youre doubt that the sites your visit is authentic, use the code above..
- All of the code above were tested & working with Mozilla Firefox & Internet Explorer Browser..
- Dont worry, all the code above is safe & not gonna blow your PC off..








pesal aku copy tak jadi? ke kena pakai apa2 lagi ni?
beliamuda´s last blog ..(Gambar) Perodua MPV Alza
Er.. Browser ko javascript dia disable ke x?
ada yang jadi, ada yang tak…
beliamuda´s last blog ..Selamat Hari Raya Aidiladha
Ada yg x? Pelik..
x jadi pun …nape ek ..
Taufik SM´s last blog ..Gambar Tamara Bleszynski Berbikini
Hmm.. Aku guna smua javascript work elok plak..
lawat http://www.facebook.com/notes.php?id=1527825219#/note.php?note_id=189651912556
Taufik SM´s last blog ..(Panas) Natasha Hudson Bercerai Buat Kali Kedua ?
tak bole pon weh…
dah x leh pakai kot..