Friday 24 February 2012

Javascript hacks

Add Cookie without Addon

Check this topic help you to add cookie without Addon and direct in Internet explorer too.

Step 1
Copy of the script that you want to use.


Rapidshare:
Code:
javascript:hf="http://rapidshare.com/";if(location.href.indexOf(":\/\/rapidshare.com")==-1){g=confirm("Hello%20from%20SN%20,%20Click%20OK%20to%20redirect%20to%20Rapidshare%20website!");if(g)location.href=hf;void(0);}else{c=prompt("Enter%20Rapidshare%20Cookie","Enter%20Here");if(c){r=confirm("Rememeber%20this%20cookie?");d=new%20Date();nd=new Date(d.getFullYear()+1,2,11);void(document.cookie="enc="+c+";domain=.rapidshare.com;path=/;"+(r?"expires="+nd:""));location.href=hf}void(0)}


Hotfile:
Code:
javascript:hf="http://hotfile.com/";if(location.href.indexOf(":\/\/hotfile.com")==-1){g=confirm("Hello%20from%20SN%20,%20Click%20OK%20to%20redirect%20to%20Hotfile%20website!");if(g)location.href=hf;void(0);}else{c=prompt("Enter%20Hotfile%20Cookie","Enter%20Here");if(c){r=confirm("Rememeber%20this%20cookie?");d=new%20Date();nd=new%20Date(d.getFullYear()+1,2,11);void(document.cookie="auth="+c+";domain=.hotfile.com;path=/;"+(r?"expires="+nd:""));location.href=hf}void(0)}


Megaupload:
Code:
javascript:hf="http://megaupload.com/";if(location.href.indexOf(":\/\/megaupload.com")==-1){g=confirm("Hello%20from%20SN%20,%20Click%20OK%20to%20redirect%20to%20Megaupload%20website!");if(g)location.href=hf;void(0);}else{c=prompt("Enter%20Megaupload%20Cookie","Enter%20Here");if(c){r=confirm("Rememeber%20this%20cookie?");d=new%20Date();nd=new%20Date(d.getFullYear()+1,2,11);void(document.cookie="user="+c+";domain=.megaupload.com;path=/;"+(r?"expires="+nd:""));location.href=hf}void(0)}


Fileserve:
Code:
javascript:hf="http://fileserve.com/";if(location.href.indexOf(":\/\/fileserve.com")==-1){g=confirm("Hello%20from%20SN%20,%20Click%20OK%20to%20redirect%20to%20Fileserve%20website!");if(g)location.href=hf;void(0);}else{c=prompt("Enter%20Fileserve%20Cookie","Enter%20Here");if(c){r=confirm("Rememeber%20this%20cookie?");d=new%20Date();nd=new Date(d.getFullYear()+1,2,11);void(document.cookie="cookie="+c+";domain=.fileserve.com;path=/;"+(r?"expires="+nd:""));location.href=hf}void(0)}


Oron:
Code:
javascript:hf="http://oron.com/";if(location.href.indexOf(":\/\/oron.com")==-1){g=confirm("Hello%20from%20SN%20,%20Click%20OK%20to%20redirect%20to%20Oron%20website!");if(g)location.href=hf;void(0);}else{c=prompt("Enter%20Oron%20Cookie","Enter%20Here");if(c){r=confirm("Rememeber%20this%20cookie?");d=new%20Date();nd=new Date(d.getFullYear()+1,2,11);void(document.cookie="xfss="+c+";domain=.oron.com;path=/;"+(r?"expires="+nd:""));location.href=hf}void(0)}


Easy-Share:
Code:
avascript:hf="http://easy-share.com/";if(location.href.indexOf(":\/\/easy-share.com")==-1){g=confirm("Hello%20from%20SN%20,%20Click%20OK%20to%20redirect%20to%20Easy-Share%20website!");if(g)location.href=hf;void(0);}else{c=prompt("Enter%20Easy-Share%20Cookie","Enter%20Here");if(c){r=confirm("Rememeber%20this%20cookie?");d=new%20Date();nd=new Date(d.getFullYear()+1,2,11);void(document.cookie="PREMIUM="+c+";domain=.easy-share.com;path=/;"+(r?"expires="+nd:""));location.href=hf}void(0)}




Step 2
Paste the script into the address on the browser you use.






Step 3
Click the GO button in the address bar or press Enter.
A popup will come.Press OK.






Step 4

After pressing the OK button and you will be redirected to the filehost's page.
Paste the script again in your address and press Enter, and now you will get a popup asking for the cookie.







Step 5
Enter the cookie.





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.


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;}}

No comments:

Post a Comment