Forcefull adding of invisible links

Ask for help about NoScript, no registration needed to post
BloodyRain2k

Forcefull adding of invisible links

Post by BloodyRain2k »

I just found something weird while using a Greasemonkey Script I wrote: for some reason did 2 links appear in the body that I added, but I didn't add them there nor where they actually visible.
They were inside of a hidden div that got added but NoScript added them also to the body because the site wasn't allowed to use JS.

It wasn't actually me who found out that it was NoScript, Ventero from the Greasemonkey IRC channel did that.
He was also so nice to host a demo page for it: http://ventero.de/temp/nstest.html

<Ventero> It's in the part where it tries to detect (and follow) JS redirects...
<Ventero> (for reference: the responsible part is ns.detectJSRedirects, more specifically lines 3841-3848 in NoScript 2.5)
Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20100101 Firefox/14.0.1
dhouwn
Bug Buster
Posts: 968
Joined: Thu Mar 19, 2009 12:51 pm

Re: Forcefull adding of invisible links

Post by dhouwn »

Ah indeed, independent of "Attempt to fix JavaScript links" which is just for navigational links I guess (but might lead to a similar effect).
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20100101 Firefox/15.0
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3377
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: Forcefull adding of invisible links

Post by GµårÐïåñ »

AFAIK this is normal behavior and has been like this for a long time. In fact you often see it when you go to a site that has not been allowed and you will get a stack of links in blue underneath and that's just showing you what's in play. Its not a bug.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20100101 Firefox/14.0.1
Post Reply