Need to see when a page was last modified?

16 02 2007

Way back when the Internet was in it’s infancy it was commonplace to see the “last modified date” posted on web pages. In recent years this has become less common, as it instantly ages the page, and unless you update on a daily basis do you really want people to read that your site was last updated when Mrs Thatcher was in power?

That said, sometimes there is a need to see when a page was last updated, and there is a quick and easy way to find out.

Simply paste the following line into the address bar, hit enter, and voila up pops a message telling you when the page was last updated:

javascript:alert(document.lastModified)

So there you go…. you can even create a bookmark with the code in it, so you have instant access to the last modified date of any site!


Actions

Informations

Leave a comment

You can use these tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>