HighDots Forums  

History

JavaScript discussion (multi-lingual) JavaScript discussion (alt.comp.lang.javascript)


Discuss History in the JavaScript discussion (multi-lingual) forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
noone
 
Posts: n/a

Default History - 08-20-2004 , 02:37 AM






Hi everyone

Does anybody know how to access the url's in the history, without actually
going there.
I kow the methods, but I can't find a way to access the array.

greetings Robert



Reply With Quote
  #2  
Old   
Robert
 
Posts: n/a

Default Re: History - 08-22-2004 , 02:25 PM






"noone" <1@2.3> wrote

Quote:
Hi everyone

Does anybody know how to access the url's in the history, without actually
going there.
I kow the methods, but I can't find a way to access the array.

greetings Robert
For privacy reasons, modern browsers do not let you retrieve the url.


Robert


Reply With Quote
  #3  
Old   
noone
 
Posts: n/a

Default Re: History - 08-23-2004 , 03:28 AM




"Robert" <rccharles (AT) my-deja (DOT) com> skrev i en meddelelse
news:c6bb75ff.0408221125.580b19c1 (AT) posting (DOT) google.com...
Quote:
"noone" <1@2.3> wrote

Hi everyone

Does anybody know how to access the url's in the history, without
actually
going there.
I kow the methods, but I can't find a way to access the array.

greetings Robert

For privacy reasons, modern browsers do not let you retrieve the url.


Robert
Seems to be so, I found another solution to my problem anyway. But your
comment got me thinking.
With client side scripting activated, there should be a way of reading
history URL's.
Just use an invisible frame to direct the surfer backwards in history and
then read the Url from the frame.
Wouldn´t that work?

Robert




Reply With Quote
  #4  
Old   
Robert
 
Posts: n/a

Default Re: History - 08-23-2004 , 02:11 PM



Quote:
Seems to be so, I found another solution to my problem anyway. But your
comment got me thinking.
With client side scripting activated, there should be a way of reading
history URL's.
In the early days of the internet, it contained the urls. For privacy
reason, the urls were removed, but the array was left around so not to
break code.

Quote:
Just use an invisible frame to direct the surfer backwards in history and
then read the Url from the frame.

Quote:
Wouldn´t that work?
No, I do not thinks so ( IE does have some holes in it ;-). You can
only read data from pages in the same domain.


Greetings...

There is the dom variable document.referrer. It should be the url
that invoked the current page. There may be some conditions where it
is not set.

People do track url usage by writing a script and replacing all links
in a page with a script function. You can sometimes see this with a
link such as:

www.yahoo.com?linkto=www.ebay.com

You would need a server side program to do the tracking and
redirection.

For more details see:

"Logging redirection with JavaScript" in

Newsgroups: comp.lang.javascript

http://groups.google.com/groups?hl=e...1829727&rnum=2

Robert


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.