a little javascript to brighten your day
Ever wonder how to see when a website was last modified? In the past, it was a BIG thing to put a little script in your page so people could know when it was last updated. But as people and businesses went on and let their content get stale, they stopped putting in that info (who wants to read content that was last checked on in 1999?)
I’ve often found the need to see when a page was last modified, for one reason or another. I know how to do it, but the need to do so is usually few and far between, and by the time I need it again, I always forget. It’s a nice little tidbit to know and squirrel away somewhere - so I thought I’d squirrel it away here, when others can get use out of it.
So, here’s what you do.
Simply copy this line:
javascript:alert(document.lastModified)
and paste it into the address bar of the website you’re looking at. Hit the “Enter” button on your keyboard. Look at that. A little window pops up telling you the date and time the page was last updated.
What a nice little trick ![]()


