h1

Find the date a web page was last updated

May 3, 2018

Here’s a neat trick for finding the date the content on a web page was last updated if it’s not clear from the page itself:

  1. Open the web page in a browser window.
  2. In the address box, type Javascript:alert(document.lastModified) then press Enter.
  3. The date and time the page was last updated is displayed in a pop-up window (NOTE: The date is mm/dd/yyyy format).

NOTE: This trick DOES NOT work with content that’s generated dynamically — for that content, you’ll always get the current date and time displayed. But for a static website, you’ll get the actual date and time the content was last updated.

(This trick is courtesy of Gerri Berendzen’s presentation — ‘Is this resource reliable?’ — at the ACES conference in 2018. Thanks Gerri! And thanks also to Dave Gash who added the ‘alert’ bit to create a pop-up window and not overwrite the web page.)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: