proggR Posted July 25, 2008 Share Posted July 25, 2008 I want to know if there's any Javascript I can use to get the URL of the last page I visited? What I want to do is create a link to del.icio.us/post?url=URL&title=TITLE where URL is a script to get the URL that I last visited and TITLE is a script to pop up and prompt for a title. That way I can easily add an article I read to my del.icio.us posts. I'm aware they have a button that does this but I'm at work and can't install anything extra on the computers. If anyone knows if this is possible it'd be really helpful. Thanks Quote Link to comment Share on other sites More sharing options...
paul2463 Posted July 25, 2008 Share Posted July 25, 2008 Have a look <A HREF="http://www.netmechanic.com/news/vol4/javascript_no14.htm"> Here </A> Quote Link to comment Share on other sites More sharing options...
proggR Posted July 25, 2008 Author Share Posted July 25, 2008 Thanks Its probably not going to work though is it? They would think I'm trying XSS and have checks won't they? I just have it a try and the URL was entered as "http://<script>document.referrer" (i didn't put the http://). Is there anyway to have it parse those values before it sends it? Maybe I'm just doing it wrong. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.