REQ: display line number a block originated from

Bug reports and enhancement requests
Post Reply
sevmusic
Posts: 2
Joined: Fri Apr 01, 2011 2:32 pm

REQ: display line number a block originated from

Post by sevmusic »

First off, thank you for this great add-on! Now on to business...

I had a client who, unknowingly, uploaded some malicious script that buried itself in a flash JavaScript.

With NoScripts, it blocked the oddball websites trying to do something through the browser. It took me almost 2 weeks to pinpoint which JavaScript the block had originated (as there were many scripts it could have been).

Would be nice if the blocked items that appear in the NoScripts panel had a (line #) next to each blocked item so I have a general idea of where to look on the source code if such an event were to occur.

Thanks for reading this and keep up the awesome work!
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729; .NET4.0C)
User avatar
therube
Ambassador
Posts: 7971
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: REQ: display line number a block originated from

Post by therube »

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; U; Windows NT 5.1; en-US; rv:1.9.1.18) Gecko/20110320 SeaMonkey/2.0.13
sevmusic
Posts: 2
Joined: Fri Apr 01, 2011 2:32 pm

Re: REQ: display line number a block originated from

Post by sevmusic »

Thanks for the suggestion, but it seems that thread is discussing looking at the eternal and internal javascript source, what I am requesting would be more "roundabout" for example:

01 <html>
...
12 <script src="scripts/fileA.js"></script>
13 <script src="scripts/fileB.js"></script>

if something in the JS on line 13 is calling a site that NoScript is blocking would be nice to see:

Allow xxx.com (line 13)
Temporarily allow xxx.com

So now I would know that the JS on line 13 is calling something that may be unwanted and the file on line 12 is not. Process of elimination one step further.

Of course, if the JS is directly scripted on the html page, a specific line would be nice or at least the starting line of that JS.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729; .NET4.0C)
Post Reply