Link to home
Start Free TrialLog in
Avatar of BillDL
BillDLFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Get "Last Modified" date of web page using browser

Hello Experts

I have the need to try and find out the "Last Modified" date and time of this page:
http://rdsrc.us/Nzb1tX
Just to be clear, the site IS NOT mine, and I therefore have no access at server level or any other authority to directly access the files other than by using my own browser over the Internet.

I can't say for certain whether it worked at the time, but many years ago I recall pasting this into the browser's Address bar to show a message dialog with the last modified date:
javascript:alert(document.lastModified)
That, however no longer works if it did indeed retrieve the date and time in older browsers.  All it does is show the date and time that (presumably) the file was downloaded to the local browser cache.

I was able to retrieve a Google cached page that indicates it was last cached on 24th April 2011 by searching with the following text which is probably unique given the bad grammar:
"and that this information is transmitted to the SELLER in the form of a complete veterinary report".

I hope the owner doesn't change the page again before I have the chance to try and get the date that it was last changed.

That is a start, but  was really hoping that I could get a more accurate date and time if possible.  I found a page that suggests using Google advanced search:
http://webdesign.about.com/od/copyright/ht/show-dates-in-google-to-fight-copyright-infringement.htm

I tried various methods there but Google doesn't find the page using the same search string above and various time periods.

Is what I am trying to retrieve actually possible over the Internet?
I have Internet Explorer 7 (here) and 8 (at work), plus Firefox 3, Google Chrome, and Opera at my disposal to use. My OS is Windows XP.

Any suggestions will be appreciated.

Thanks
Bill
Avatar of Jagadishwor Dulal
Jagadishwor Dulal
Flag of Nepal image

Avatar of BillDL

ASKER

Hello jagadishdulal

Thnak you for your suggestion but, from my reading of the linked page, the JavaScript code is intended for the writer of a web page to display the "Last Modified" date and time on their OWN page.  I cannot see how this would work if the page is not my own one, as I indicated in my question.

If you can maybe suggest how I could use the code from the linked page, or some similar code, from my own computer to retrieve the Last Modified date and time of somebody else's page on a publicly available website over the Internet, then that would be excellent.

Bill
ASKER CERTIFIED SOLUTION
Avatar of freshcontent
freshcontent
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of BillDL

ASKER

Thank you freshcontent.  I've exhausted other possibilities also.  I also tried the "Wayback Machine" and it hasn't cached that site, so it looks like the closest I'll get is the last Google cache.
Avatar of BillDL

ASKER

The definitive answer, and well explained.