Monday, 1 August 2011

When The Website Is Last Modified?


This one is The Really Interesting JavaScript Code To Know When The Website Is Last Modified.

You can go to any website .


I am taking google.co.in .


Clear your address bar in your browser .


Now just copy and paste this below code in your address bar .





javascript:document.write(document.lastModified);







or if you want you can use this code


javascript:alert(document.lastModified);


This will show the date in the alert box without leaving the website. 


Note that the date is in this format  mm/dd/yyyy .




1 comment:

  1. That is an extremely smart written article. I will be sure to bookmark it and return to learn extra of your useful information. Thank you for the post. I will certainly return.

    ReplyDelete

Please do not spam

Related Posts Plugin for WordPress, Blogger...