Re: How current are web pages?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



True, many pages are set up that way, however, it will work on many which
have not been updated for some time. Not foolproof, but is a partial answer
to the original post.
"Vanguard" <vanguard.news@xxxxxxxxxxxx> wrote in message
news:uJ3kwDyQGHA.5808@xxxxxxxxxxxxxxxxxxxxxxx
"Happy" <happy@xxxxxxxx> wrote in message
news:OFZd$4xQGHA.2276@xxxxxxxxxxxxxxxxxxxxxxx
When the web page is up, try inserting this Javascript in the address
bar, "javascript:alert(document.lastModified)" (without the " ") It
should tell you the last date updated, for many sites. Try it for a few,
and let us know how it worked.


I'm not the OP but decided to try your suggestion. On several different
web sites where I tried your suggestion, your javascript returns the
current date and time. The datestamp will be for the copy rendered by the
browser, not for when the file for the page was last updated on the
*server*. The javascript is not running on the server. It is running
locally on your own host, and what it runs against is what got downloaded
to your host. The "document" being checked is the one that was just
rendered by the browser.

--
__________________________________________________
Post replies to the newsgroup. Share with others.
For e-mail: Remove "NIX" and add "#VN" to Subject.
__________________________________________________





.



Relevant Pages

  • Re: datatel envision
    ... to generate custome javascript calls ... to run BASIC code from the browser; tools that don't require you to ... BASIC is the best language for server ... is confusing...the developer must've setup the resolution between ...
    (comp.databases.pick)
  • comp.lang.javascript FAQ - Quick Answers 2008-10-13
    ... Javascript Tips ... _How can I disable the back button in a web browser_? ... _How do I check to see if a child window is open, ... upon the cache headers that your server sends. ...
    (comp.lang.javascript)
  • Re: Client side changes not reflected in page
    ... time you request a page from the browser, asp.net generates a HTML document ... that is sent back and parsed by the browser. ... document on the client side via JavaScript / VBScript. ... the server side, or use AJAX asynchronous calls. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Code added to my XHTML source files giving problems
    ... Server: webserver ... Get a proper web browser and developer tools, ... it's not powered by the Google logo... ... Mozilla throws a javascript error when fed with an HTML ...
    (comp.infosystems.www.authoring.html)
  • Re: Link Checers and the "www"
    ... I find it intensely annoying when a browser re-interprets ... it's the name of the host. ... For servers that have specific purposes, particular the ones being exposed to the public, they'll typically assign server names that denote the ... You can also assign multiple names to the same server, ...
    (comp.infosystems.www.authoring.html)