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 .




2 comments:

  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
  2. It was very useful for me. Keep sharing such ideas in the future as well. This was actually what I was looking for, and I am glad to came here! Thanks for sharing the such information with us.

    ReplyDelete

Please do not spam

Related Posts Plugin for WordPress, Blogger...