Saturday 1 June 2013

Showing when a page last updated

A handy little trick I often use to check on the last time a web page was last updated (handy when having to reference the site it check it's activity)

javascript:alert(document.lastModified)

When using Chrome however, you need to manually type this in because when you copy and paste this in, Chrome will remove the javascript: section and therefore you'll just run a needless Google search on "alert(document.lastModified)"

It even works in Android (Chrome for Android does not remove the JavaScript: entry either)

image


Give it a try and crack open a newly brewed Budweiser to celebrate (and don't forget to check the born date on those bad boys just for consistency)