Nov 24, 2009
Pages: 1, 2

Old Websites? - find out HOW old!

free web hosting

Read Latest Entries..: (Post #14) by sabre z7 on Jun 5 2005, 09:54 AM.
Most. Sick. Thing. Ever. Made. For. A. ComputerVery cool i admire your support for tutorials! go FRICO!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Sab Z7...
read more.
Read the FIRST post of this Topic. - Express your Opinion! Contribute Knowledge :-).

Open Discussion & Free Web Hosting > Computers & Tech > How-To's and Tutorials > Internet > Internet Tools - Utilities - Hacks

Old Websites? - find out HOW old!

friso
hi all!

this is my first tutorial, i hope people will like it.
it's basically a way to find out how old the content in a specific website is, it works with javascript.This is a very short tutorial, because it's very simple.
You just type the javascript in the adressbar:
java script:alert(document.lastModified) en press enter. you will get:


ofcourse, you can put it on your webpage too, but i myself don't like prompts too much.

i hope you will find this tutorial useful, and would like all kinds of comments. Even the negative responses, but please, be subtile, and don't slap me with a wet fish, (you know what i mean, Nils,sorry about that wink.gif)


btw: the prompt i used was Google's last modified.

CODE
javascript:alert(document.lastModified)

 

 

 


Comment/Reply (w/o sign-up)

qwijibow
amasing !!!

Often i find myself reading documentation and tutorials on the internet that doesnt hve a date, doesnt have a software version number, and i dont know how dated or usefull the information is.

once i was trying to get a modem driver to work with a 2.6 kernel.
the instrctions i found were very well writtem, but turned out to be for the 2.0 kernel, and therefore useless.

this will be very usefull to me!

thanks.

Comment/Reply (w/o sign-up)

cryptonx
heeeeeey nice ticky one but it's not gonna work with all sites .. and i hate java tongue.gif ( nothing personal )

Comment/Reply (w/o sign-up)

vujsa
Neat tip. It should come in handy from time to time.
Does it still work on pages generated on-the-fly? Or just give the date and time that the page was requested.
Still a cool trick none the less.

Keep up the good work.

Happy coding, cool.gif
vujsa

Comment/Reply (w/o sign-up)

banjosforpeace
This would make a great plug-in button for Maxthon!!! Typing in the address bar every time would be a bit of a hassle. But if there was a button on your toolbar that you could click to get the info, that would be awesome!

I'm going to take this to the Maxthon user forums and see if it can be done. It may already be there or someone may already be working on it so I'll find out.

Comment/Reply (w/o sign-up)

amkint
QUOTE (cryptonx @ Feb 27 2005, 04:15 AM)
heeeeeey nice ticky one but it's not gonna work with all sites .. and i hate java tongue.gif ( nothing personal )
*

my dear friend... this is not java... its javascript. These two things are totally different and not related to each other... lot of guys get confused between the two.

Comment/Reply (w/o sign-up)

SingleDaddyof2
QUOTE (cryptonx @ Feb 26 2005, 02:45 PM)
heeeeeey nice ticky one but it's not gonna work with all sites .. and i hate java tongue.gif ( nothing personal )
*

cryptonx may have confused java and javascript but I think he's right when he says it's not gonna work with all sites. When I tried it, the popup box just gave me the date & time that the webpage downloaded to my computer (in other words, the current time). Is this due to the site or my browser or something else? unsure.gif

Comment/Reply (w/o sign-up)

banjosforpeace
QUOTE (SingleDaddyof2 @ Feb 27 2005, 06:09 AM)
cryptonx may have confused java and javascript but I think he's right when he says it's not gonna work with all sites. When I tried it, the popup box just gave me the date & time that the webpage downloaded to my computer (in other words, the current time). Is this due to the site or my browser or something else? unsure.gif
*


I just realized that it did the same thing for me, only giving me the date and time of when it downloaded to my computer. And I already posted in the Maxthon forums. Grrr. mad.gif

Is there something that can be changed in the code to give the ACTUAL last modified info??? huh.gif

 

 

 


Comment/Reply (w/o sign-up)

qwijibow
OOps....
yeah, i tried it on some webpages ive written, and it always flashes up current time.

maybe i should have tested this more before i approved it tongue.gif

ohh well, we all make mistakes.

Comment/Reply (w/o sign-up)

banjosforpeace
QUOTE (banjosforpeace @ Feb 27 2005, 05:38 AM)
This would make a great plug-in button for Maxthon!!! Typing in the address bar every time would be a bit of a hassle. But if there was a button on your toolbar that you could click to get the info, that would be awesome!

I'm going to take this to the Maxthon user forums and see if it can be done. It may already be there or someone may already be working on it so I'll find out.

*


To partially answer my own question, I got a plugin from the Maxthon forum that I will try later today when I'm on my regular computer. If the results bear any relevancy to this thread, I'll post them later. smile.gif

Comment/Reply (w/o sign-up)

Latest Entries

sabre z7
Most. Sick. Thing. Ever. Made. For. A. Computer

Very cool i admire your support for tutorials! go FRICO!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Sab Z7

Comment/Reply (w/o sign-up)

johnny
pretty sweet, I checked it on a whole bunch of websites and man some really have not been updated in forever

Comment/Reply (w/o sign-up)

cryptonx
@ friso and the rest ,

Yes I missconfused Java with Javascript but what these ppl are telling is what I ment about it NOT working with many sites , pure HTML sites are really really .. not much alot ... mostly personal pages or old websites ... i dont mean they are bad or anything but it's starting to show its age if it hasnt already .

nice tip tho never the less .

Comment/Reply (w/o sign-up)

banjosforpeace
QUOTE (banjosforpeace @ Feb 27 2005, 09:39 AM)
To partially answer my own question, I got a plugin from the Maxthon forum that I will try later today when I'm on my regular computer. If the results bear any relevancy to this thread, I'll post them later. smile.gif
*

Just a follow up the earlier posts.

The plugin for Maxthon does exactly what the original intention of the thread was. With one click, the date and time of when the page was last modified is displayed in an alert. You can find it here: LastModified 1.0

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Pages: 1, 2
Similar Topics

Keywords : Websites Old33


    Looking for websites

See Also,

*SIMILAR VIDEOS*
Searching Video's for websites
advertisement



Old Websites? - find out HOW old!

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com