Add URLS to Website Printouts

Martin Brinkmann
Mar 16, 2008
Updated • Feb 26, 2014

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.


Tutorials & Tips

Previous Post: «
Next Post: «


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

    This will be useful for me. :D

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

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

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

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

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

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

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

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

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

    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.

Leave a Reply

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

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.