Is it possible to modify the JavaScript-link to normal-link conversion for certain pages?
For example I've a forum which has a link
javascript:who\(([0-9])\)
And I want that it gets replaced by
who.php?id=$1
Modify JS-Link => Normal Link?
Modify JS-Link => Normal Link?
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8
- Giorgio Maone
- Site Admin
- Posts: 9454
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: Modify JS-Link => Normal Link?
NoScript attempts the most obvious conversions by its own (i.e. where an URL can be inferred).
In your case, your best bet is writing a GreaseMonkey script.
In your case, your best bet is writing a GreaseMonkey script.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8 (.NET CLR 3.5.30729)
Re: Modify JS-Link => Normal Link?
Okay thanks. Is there a chance that something like that will be implemented in a future release? Installing GreaseMonkey just for that (I tried it several times but only found 1-2 cases where I could use it) would be little bit exaggerated .
PS: Thanks too for this great addon.
PS: Thanks too for this great addon.
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8
- Giorgio Maone
- Site Admin
- Posts: 9454
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: Modify JS-Link => Normal Link?
Nope, it's too much specific to be checked by NoScript everywhere.Mars wrote: Is there a chance that something like that will be implemented in a future release?
A nice thing about GreaseMonkey is that you specify the pages where a certain script must run, and the other ones get ignored.Mars wrote: Installing GreaseMonkey just for that (I tried it several times but only found 1-2 cases where I could use it) would be little bit exaggerated .
My pleasure.Mars wrote:PS: Thanks too for this great addon.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8 (.NET CLR 3.5.30729)