Modify JS-Link => Normal Link?

Post a reply

Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Modify JS-Link => Normal Link?

Re: Modify JS-Link => Normal Link?

by Giorgio Maone » Wed Apr 08, 2009 9:19 pm

Mars wrote: Is there a chance that something like that will be implemented in a future release?
Nope, it's too much specific to be checked by NoScript everywhere.
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 ;).
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:PS: Thanks too for this great addon.
My pleasure.

Re: Modify JS-Link => Normal Link?

by Mars » Wed Apr 08, 2009 9:14 pm

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.

Re: Modify JS-Link => Normal Link?

by Giorgio Maone » Wed Apr 08, 2009 8:55 pm

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.

Modify JS-Link => Normal Link?

by Mars » Wed Apr 08, 2009 8:32 pm

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

Top