Page 1 of 1

Forcefull adding of invisible links

Posted: Mon Aug 13, 2012 12:48 am
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)

Re: Forcefull adding of invisible links

Posted: Mon Aug 13, 2012 1:04 am
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).

Re: Forcefull adding of invisible links

Posted: Thu Aug 16, 2012 11:07 pm
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.