Skip to main content

5 Awesome And Cool Javascript Tricks


Javascript is an object oriented scripting language.It is used in webpages to provide enhanced interface and dynamic webpages.It is mainly used as client-side scripting language.There are some cool javascript tricks that will blow your mind.You don’t need any programing knowledge to use these tricks.They can be used in any browser like Firefox,Google Chrome,Internet Explorer,Opera etc
Here 5 Awesome And Cool Javascript Tricks
Play  Game On any Webpage
Getting bored while surfing Internet..Lets play a game to refresh your mind.Open any website in your browser.Now copy and paste the following javascript code in your browser
javascript:var%20s%20=%20document.createElement('script');
s.type='text/javascript';document.body.appendChild(s);
s.src='http://erkie.github.com/asteroids.min.js';void(0);
Press Enter Key.Now you can see a Triangular icon on the Left-top corner of your browser.Rotate this icon with W,A,D and use Space-bar to fire.Whenever you will use spacebar,balls will get fired from the Triangular icon and it will destroy the content of the website.
Edit Any Webpage
Using this javascript trick you can edit the content of any website (temporarily).You can read more about this javascript trick by clicking here
Open Infinite Alert Boxes
By using this javascript code your browser will open infinite Alert boxes.
javascript:while(1){alert('Restart your browser to close this box!')}
To stop this code you have to restart your browser.
Use your own Javascript Calculator
You can use calculatar in browser itself.For this you have to edit the values in the javascript code.E.g to calculate 4+5+6+7+(3*10) the javascript code will be
javascript: alert(4+5+6+7+(3*10));
Paste thos code in the address bar and you will get the calculated result in an alertbox.
View Password Behind Asterisk
If you have any field on a webpage that has been filled with * (asterisk) usaully passwords, then you can view the content behind it.Simply paste this code in Address bar and press enter.
javascript: var p=r(); function r(){var g=0;var x=false;var x=z(document.forms);g=g+1;var w=window.frames;for(var k=0;k < w.length;k++) {var x = ((x) || (z(w[k].document.forms)));g=g+1;}if (!x) alert('Password not found in ' + g + ' forms');}function z(f){var b=false;for(var i=0;i < f.length;i++) {var e=f[i].elements;for(var j=0;j < e.length;j++) {if (h(e[j])) {b=true}}}return b;}function h(ej){var s='';if (ej.type=='password'){s=ej.value;if (s!=''){prompt('Password found ', s)}else{alert('Password is blank')}return true;}}

Comments

Popular posts from this blog

Windows Live Mail 2011 (15.4.3555)

Access your e-mail, contacts, and calendar even when you're offline. And Windows Live Mail helps you manage multiple e-mail accounts—Hotmail, Gmail, Yahoo! Mail Plus, and more—in one program. Offline access  - Older messages and calendar events are accessible in Mail, even when you’re offline. Event reminders  - Your calendar in Windows Live Mail helps you keep track of all the important stuff you’ve got coming up. Sync with web calendar  - You can edit events in your calendar in Mail, even when you’re offline. Shared calendars  - Your time isn’t always your own—there are family and friends who might need to know your schedule. Download Latest Version 1.23MB If You Got This Site Useful, Kindly Comment About This Site and Tell To Your Friends ! Thanks For Visiting.

How To Speed Up Your Windows XP

If like mine, your PC is getting slower and slower, there are a number of things you can do to speed it up. You will be surprised how much faster your computer gets after these steps, you won’t need to buy a new one. In addition to following the tips below, it’s a good idea to buy a trusted all-in-one PC optimizer. I would recommend  FixCleaner ,  a Microsoft Certified all-in-one tool which optimizes your computer and hugely improves speed through a number of tasks, including: cleaning the registry removing errors deleting junk files downloading critical updates improving browser speed Please refer to the FixCleaner website at  www.fixcleaner.com  to see the full list of features. By using a PC maintenance program such as FixCleaner, you can save a load of money from buying a new computer. Here is what you can do yourself to improve your Windows XP’s performance: Step 1 : Remove unused software You probably don’t use half the programs you have installed over time. Removing the on

MediaMonkey 4.0.3.1472 RC3

MediaMonkey is a music manager and jukebox for serious music collectors and iPod users. It catalogs your CDs, OGG, WMA, MPC, FLAC, APE, WAV and MP3 audio files. It offers an intelligent tag editor which looks up missing Album Art and track information via Freedb and the web, and an automated file and directory renamer to organize your music library. Organize music and edit tags in your audio library with a powerful, intuitive interface Automatically lookup and tag Album Art and other metadata Manage 50,000+ files in your music collection without bogging down Play MP3s and other audio formats, and never again worry about varying volume Record CDs into OGG, MP3, FLAC and WMA files Convert MP3s, OGG, FLAC and WMA files into other formats with the Audio Converter Create playlists and music mixes quickly and easily to suit any occasion Synchronize with iPods / MP3 players effortlessly and convert tracks on-the-fly Download audio content using the new integrated Podcatcher. Use Med