Show Real Source

2004-12-08 10:14 - Bookmarklets

It's becoming more and more common for web sites to use javascript to dynamically generate parts of their pages. Certainly the most common example is the Google ads that are displayed on many sites. A script is run, loaded from Google's servers, that prints out a little IFRAME to display the ad in. With this bookmarklet, you can view the generated source of a page, rather than the "source" that your browser downloaded from the web server.

Show Real Source


Slightly borken
2004-12-08 14:29 - arantius
This bookmarklet works *almost* perfectly. If the page you run it on contains a text area, it breaks. I wrote it to carefully deal with that situation, but loading it into a link, like above, un-does that trick. I'm working on how to fix that.
2004-12-08 15:31 - arantius
What a stupid typo =) The bookmarklet works correctly now!

Post a comment:

  If you do not have an account to log in to yet, register your own account. You will not enter any personal info and need not supply an email address.

You may use Markdown syntax in the comment, but no HTML. Hints:

If you are attempting to contact me, ask me a question, etc, please send me a message through the contact form rather than posting a comment here. Thank you. (If you post a comment anyway when it should be a message to me, I'll probably just delete your comment. I don't like clutter.)