URL Hack to See When a Page Was Last Updated

Posted August 27, 2006 by MickeyMouse in Internet

Using one line of javascript, you can see the last time that a web page was updated. Read on to find out the code to paste into your address box.


Since I found this quick, simple hack, I have been using it frequently. It turns out to be a lot more useful than I ever imagined.

I just used it as I am editing this tech-recipe to show you what it looks like:



Try it now! Just paste this code into your address bar, and hit ENTER:

javascript:alert(document.lastModified)

This code will display the last time any web page was updated and will display it in a message box on your screen.

The Conversation

Follow the reactions below and share your own thoughts.