TipJar

  • View generated source

    Bookmarklets Posted by Webdesign RSS News on July 15, 2010


    Extreme useful for webdesigner: This bookmarklet views the generated source of a webpage (including output form a javascript).

    javascript:(function(){%20function%20htmlEscape(s){s=s.replace(/&/g,’&’);s=s.replace(/>/g,’>’);s=s.replace(/</g,'<');return%20s;}%20x=window.open();%20x.document.write('

    '%20+%20htmlEscape('\n'%20+%20document.documentElement.innerHTML%20+%20'\n'));%20x.document.close();%20})();

     

Comments

Leave a Comment

You'll need to login to post a comment. It's easy, you can use your Facebook, Twitter, Google or OpenID credentials.