« Cross-site Scripting (XSS) | Creating Error 404 page »

View page source trick in firefox, flock

You may have read about firefox’s special about: pages like about:config, about:cache etc. Or you can go through Firefox about: pages to have an idea about them. There is one similar functionality in firefox which allows you to view page source of a page. You can type

view-source:http://www.google.com/

this in location bar to view page source of google.com.
So i have made this Bookmarklet to view page source: View Source (So you can drag this to your bookmark toolbar to have quick access).

Similarly you can type javascript: in your location bar to open java script error console.

Update1:
Key Board Shortcut: Use Ctrl+U to view page source

Related Post:
Firefox About Pages
Little tweaks with javascript : Bookmarklets.
Open webpages in sidebar

Comments

4 Responses to “View page source trick in firefox, flock”

  1. No Title on April 23rd, 2008 2:57 am

    View Source in Tab…

    Current version: 0.2.1
    Size: 5,57 KB
    Date: 2005-12-17
    Compatibility: 1.0-1.5.0.*, 1.0+

    Install View Source in Tab
    The Extensions Mirror

    This extension will open the page source in a new tab if you middle-click on View -> Page Source menu on men…

  2. View contents of Zip/Jar files using firefox : Burad’s Blog on May 15th, 2008 9:54 pm

    [...] Post: Perfect password according to firefox View Page Source trick in firefox/flock Firefox about pages Cross Site Scripting May 13, 2008 | Filed Under firefox, [...]

  3. TwoHawks on February 19th, 2010 1:54 am

    Great tip.
    what I really wnat to do is be able to right-click on any link and open it up in a new tab for viewing its source.
    Example… a site has a vbs script, or reg file, or whatever.. linked for download, but all I want to do for now is view its data in a new tab.
    Right now I can copy the link, create a new tab, type view-source: and I’m thankfully there, but it could be easier.

    Would be nice to be able to view the contents of a zip online before downloading too …hmmm…

  4. TwoHawks on February 19th, 2010 3:07 am

    Cool.. I found this…
    raw-vision
    https://addons.mozilla.org/en-US/firefox/addon/975

    ;^)

Leave a Reply