Hi,
I have
Flashgot 1.2
Mac OS 10.5.7
Firefox 3.5.2
SpeedDownload 5.2.1
A web page serves ULRs like this:
javascript:showWaitText();document.location.href='http://1.2.3.4/0123456789ABCDEF/?m=dl'
Is there a way to get Flashgot to rewrite the URL, to remove the leading javascript code up to the
quote and the trailing quote?
Ralf
URL rewrite?
URL rewrite?
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2
Re: URL rewrite?
URL where this occurs?
Perhaps the Build Gallery can help - using the JavaScript Functions to strip the unwanted text.
(Don't ask me how to do that?)
Otherwise, if you save the links to a file, then used Vim (or SED or similar) something like this...
(If you don't know Vim or SED, that probably won't help you much.)
Perhaps the Build Gallery can help - using the JavaScript Functions to strip the unwanted text.
(Don't ask me how to do that?)
Otherwise, if you save the links to a file, then used Vim (or SED or similar) something like this...
Code: Select all
s/.*=\'// ; remove everything up to "http"
s/\'$// ; remove closing ' character
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.22) Gecko/20090605 SeaMonkey/1.1.17
Re: URL rewrite?
> URL where this occurs?
save.tv
It isn't openly accessible AFAIK; I pay a fee.
> Perhaps the Build Gallery can help - using the JavaScript Functions to strip the unwanted text.
It looks complicated... (and I only have one URL at a time)
> Otherwise, if you save the links to a file, then used Vim (or SED or similar) something like this...
It still requires lots of clicks and keystrokes. My hope is to make it work with Alt-click again,
as it was in the past until save.tv decided to put the javascript stuff around the URL.
Ralf
save.tv
It isn't openly accessible AFAIK; I pay a fee.
> Perhaps the Build Gallery can help - using the JavaScript Functions to strip the unwanted text.
It looks complicated... (and I only have one URL at a time)
> Otherwise, if you save the links to a file, then used Vim (or SED or similar) something like this...
It still requires lots of clicks and keystrokes. My hope is to make it work with Alt-click again,
as it was in the past until save.tv decided to put the javascript stuff around the URL.

Ralf
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2
- Giorgio Maone
- Site Admin
- Posts: 9524
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: URL rewrite?
FlashGot 1.2.0.1 makes an attempt at it.
How does it work for you?
How does it work for you?
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)
Re: URL rewrite?
It works perfectly! Alt-Click does the trick again. What a relief!Giorgio Maone wrote:FlashGot 1.2.0.1 makes an attempt at it.
How does it work for you?
Thank you very much!!!
Ralf
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2