All these scripts must run in browser address bar.
- This will ask you to enter the javascript code you want to execute from browser against current page
javascript:var a=eval(prompt('Enter JS'));
- This will show you cookies planted by current site
javascript:alert((document.cookie));
- This would show you the size of viewstate generated on an ASP.NET page
javascript:alert(document.getElementById(prompt('Enter variable name:','__VIEWSTATE')).value.length/1024 +'kb');
- This would resize your browser to standards 1024 layout to check the page layout constraints
javascript:window.resizeTo(1024,768);
I normally keep them handy in favorites!
Mehul Trivedi
trivedimehulk@gmail.com
No comments:
Post a Comment