[Fixed] NS 'TypeError: a.href is undefined' flooding console

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

[Fixed] NS 'TypeError: a.href is undefined' flooding console

Post by milithruldur »

When searching using Google, for each link hover at the search results, the console is flooded with the following:

Code: Select all

Error: TypeError: a.href is undefined
Source file: chrome://noscript/content/ScriptSurrogate.js
Line: 316

Error: TypeError: a.getAttribute is not a function
Source file: chrome://noscript/content/ScriptSurrogate.js
Line: 316
Even while only using NoScript 2.6.3rc4 on a new profile, the same behavior persists. Can the error be disregarded? Google search results are still stripped of redirects despite the error.
Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Firefox/17.0
User avatar
therube
Ambassador
Posts: 7991
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: NS 'TypeError: a.href is undefined' flooding the console

Post by therube »

Confirmed.
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 NT 5.1; rv:19.0) Gecko/20121129 Firefox/19.0 SeaMonkey/2.16a2
milithruldur

Re: NS 'TypeError: a.href is undefined' flooding the console

Post by milithruldur »

any updates on this bug? it spams the error console whenever Google search is used. :)
Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20100101 Firefox/17.0
User avatar
Giorgio Maone
Site Admin
Posts: 9557
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: NS 'TypeError: a.href is undefined' flooding the console

Post by Giorgio Maone »

I believe I had fixed some hours later your report, but forgot to mention and publish another build.
At any rate, I cannot reproduce with latest development build 2.6.4rc1. Can you confirm?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0
milithruldur

Re: NS 'TypeError: a.href is undefined' flooding the console

Post by milithruldur »

Confirmed fixed in 2.6.4rc1. Thank you. :)
Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20100101 Firefox/17.0
Post Reply