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

Comments:

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.
Fixed!
2004-12-08 15:31 - arantius
What a stupid typo =) The bookmarklet works correctly now!

Post a comment:

Username
Password
  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.
Subject:
Comment:

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

  • An empty line between text will create a paragraph boundary.
  • Use angle braces around a plain URL to auto-link it: <http://www.example.com/>.
  • Use this format to create a link with different text showing: [An Example](http://www.example.com/).
  • Use backticks (``), not leading spaces to enclose a code block.

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.)