Trouble posting a non-standard "url"
#1
Original Poster
Join Date: May 2007
Location: WAS
Programs: UA 1K, AS MPVG
Posts: 482
Trouble posting a non-standard "url"
I've created a small browser tool to help calculate the milage between cities, and I'm trying to create a thread about it in the MR Discussion forum. However, try as I might I can't get the link to work correctly. Specifically, I'd like to post a link to a short piece of javascript, so that users can drag it into the "links" section of their browser. When I try to use the [url] tool, the parser (1) adds "http://" to the front end of the url and (2) adds "<b></b>" (no quotes) after the word "javascript". Although it's frustrating, I understand the reasoning behind (1), but (2) baffles me.
In any case, I'm trying to post the following code:
And here's what I'm getting:
Milecalc
Obviously, I could just post the bare code, but it would be so much easier for other FT'ers to just be able to drag a link with their mouse, rather than having to manually create a new button. Any workaround for this?
In any case, I'm trying to post the following code:
Code:
javascript:{void(term=prompt('Enter itinerary (3 letter codes separated by -)',''))}if(term)location.href='http://www.milecalc.com/schmutzig/?paths='+escape(term)
Milecalc
Obviously, I could just post the bare code, but it would be so much easier for other FT'ers to just be able to drag a link with their mouse, rather than having to manually create a new button. Any workaround for this?
#3
Original Poster
Join Date: May 2007
Location: WAS
Programs: UA 1K, AS MPVG
Posts: 482
Thanks for the reply. Just to be clear, I'm not trying to execute javascript anywhere, I just wanted to allow people to create a bookmark/shortcut that then allows them to use javascript. But I understand that there may be no real distinction between those two things, so I'll try to post the hotlink elsewhere.
#4
Guest
Posts: n/a
Understood, we didn't think that you were trying to do anything malicious, but we cannot allow javascript to be used within a post. You could of course still use the method I suggested to set up a page that would show people how to set that up as well. Thanks,

