Add URLS to Website Printouts - gHacks Tech News

Add URLS to Website Printouts

If you print a website you notice that the urls of the links contained on the website are not added to the printout, only the link anchor text is included obviously. It sometimes makes a lot of sense to print the urls as well and a Greasemonkey script named Annotate Links can do that for you.

All you need is a Greasemonkey compatible browser like Firefox, the Greasemonkey extension and the Annotate Links script that adds the functionality. The annotated links are not visible when browsing websites but will become visible once you print the website. Each link gets a unique identifier (number) which corresponds to a link in the link list at the end of the printout.

Only plain HTML links are added this way to the document. JavaScript links or relative links are not included which makes a lot of sense obviously. You can preview the output if you select Print Preview from the menu of your browser, the way the links are prepared and added should be visible there if the Greasemonkey extension is running.

Update: The Annotate Links script is no longer available on the author's website. The link is returning a 404 not found error.

The Printable userscript is an alternative that you can install instead. You still need Greasemonkey installed in Firefox to make use of the userscript. It is likely that the userscript is also working in Scriptish for Firefox, Google Chrome, Opera and other browsers supporting custom userscripts.

This script automatically adds link references to the end of the printed document. This way, the linked information are visible on the print out which may help in research later on.

Update 2: Most modern browsers include the web address automatically in the print out, so that you do not need to use a script to add those information anymore. We have removed the links in this article as a consequence.

Advertisement

We need your help

Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.

If you like our content, and would like to help, please consider making a contribution:


Previous Post: «
Next Post: »

Comments

  1. Roman ShaRP said on March 16, 2008 at 1:51 pm
    Reply

    Meanwhile – do you have a Ghacks button?
    I want to place one to my blog profile.
    Ghacks helped me a lot, may be my profile will return to it a few visitors or subscribers.

  2. Martin said on March 16, 2008 at 3:41 pm
    Reply

    Actually I do not have any buttons :) But I probably could ask a friend to create some, which dimensions would you need ? Very nice of you to do that, thanks ;)

  3. Roman ShaRP said on March 16, 2008 at 3:46 pm
    Reply

    Oh, whatever yo like. What you think about 90×32?
    Let your friend create some, and let people to pick what they like ;)

  4. Martin said on March 16, 2008 at 4:19 pm
    Reply

    I have this nice 600×600 button right here, do you want it ;)

  5. Roman ShaRP said on March 16, 2008 at 4:30 pm
    Reply

    Taking into account, that our webmasters call 468px high banner “skyscraper”, I think, that 600×600 is too large ;)

  6. Syahid A. said on April 7, 2008 at 7:28 am
    Reply

    This will be useful for me. :D

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

Please note that your comment may not appear immediately after you post it.