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

Hack – edit any website the way you want

Hacking a website isin't easy, but wasn't that cool that you edit some big website and show off to your friends that you are a "hacker", and you know how to hack into any website and edit its content?

This tutorial will show you how to edit any webpage, but remember its all temporary, as soon as you refresh your page all the edition that you made get lost, so use this trick to edit any website and then take screenshots of it and show off toyour friends.

Let's do it-

  • Go to the webpage you would like to edit
  • Copy/Paste the following in the address bar:

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

  • Press Enter
  • Now start editing, now you can edit/delete/add content do whatever you want.


How to Retrieve Passwords From Asterisks



We use the "Remember Me" feature in most form logins to help the signing in process faster. But taking advantage of that sometimes makes us forget what our real passwords are. If you often stare at the asterisks and wonder what's your actual password, try this trick. It uses Javascript alert popup to reveal you the password behind the asterisks.


Retrieving password behind asterisks

This trick only work on Firefox browser. On any page or login forms with asterisks passwords, copy paste the following Javascript into the url bar and hit enter. Your password should display on a popup window.

Script

javascript:(function(){var s,F,j,f,i; s = ""; F = document.forms; for(j=0; j<F.length; ++j) { f = F[j]; for (i=0; i<f.length; ++i) { if (f[i].type.toLowerCase() == "password") s += f[i].value + "\n"; } } if (s) alert("Passwords in forms on this page:\n\n" + s); else alert("There are no passwords in forms on this page.");})();

Make a bookmarklet

if you think you will be using this quite often, try creating a bookmarket out of it. Just drag Retrieve Passwd to your Firefox bookmark toolbar, rename if you want.



Technorati : , ,

Del.icio.us : , ,

Zooomr : , ,

Flickr : , ,