noscript bug?

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

noscript bug?

Post by MiniMe » Mon Jun 16, 2014 11:54 am

Hi There.
I was observed that on some sites e.g. http://hells.pl , any AdBlock rules doesn't work, when NoScript plugin is enable.
I think that's not an adblock issue. Can you fix it?

Cheers
Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Firefox/24.0

User avatar
therube
Ambassador
Posts: 7598
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: noscript bug?

Post by therube » Mon Jun 16, 2014 3:00 pm

Works for me.

If I Allow Scripts Globally & keep ABP enabled, I see no ads.

If I then disable ABP & reload the page, I see ads.

Forbid Scripts Globally, then allow hells.pl, & still with ABP disabled - no ads.

URL: www.whatismyip.com, Wejdz
And it says, "Your IP: 94.23.95.146" (which it is not).

So hells.pl is working correctly.
And from what I see, both NoScript & ABP are too.
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:29.0) Gecko/20100101 SeaMonkey/2.26.1

MiniMe

Re: noscript bug?

Post by MiniMe » Mon Jun 16, 2014 3:23 pm

Did you try to block any content by unique selector?
Just try to block e.g. hells.pl##body
Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Firefox/24.0

barbaz
Senior Member
Posts: 9504
Joined: Sat Aug 03, 2013 5:45 pm

Re: noscript bug?

Post by barbaz » Mon Jun 16, 2014 4:45 pm

Oh, an element hiding filter...

Versions of ABP & NoScript?
What ABP subscriptions are you using?
On browser startup, any messages related to ABP in the Browser Console (Ctrl-Shift-J)?

When you go to that site and element hiding doesn't work, anything related (at all) in the Browser Console then?

(ignore the messages that say "Use of getUserData / setUserData is deprecated..." from requestNotifier.js, those are not relevant)
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:30.0) Gecko/20100101 Firefox/30.0 SeaMonkey/2.27a2

MiniMe

Re: noscript bug?

Post by MiniMe » Mon Jun 16, 2014 6:43 pm

Versions of ABP & NoScript: always latest; ABE (Adblock Edge) 2.1.2 , NoScript Security Suite 2.6.8.28

sets:
https://easylist-downloads.adblockplus.org/easylist.txt
http://adblocklist.org/adblock-pxf-polish.txt
https://dl.dropboxusercontent.com/u/257 ... sblock.txt

from console:

1.Znaleziono niedomknięty ciąg „"position: absolute; z-index: 2000000; top: 150px; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; padding: 10px; background-image: url(http://consent.truste.com/get?name=trans.png); left: 50%; margin-left: -420px; background-position: initial initial; background-repeat: initial initial; ]{-moz-binding: url(about:abp-elemhidehit?327860322970#dummy) !important;}”. Oczekiwano identyfikatora lub ciągu znaków dla wartości w selektorze atrybutu, ale odnaleziono „"position: absolute; z-index: 2000000; top: 150px; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; padding: 10px; background-image: url(http://consent.truste.com/get?name=trans.png); left: 50%; margin-left: -420px; background-position: initial initial; background-repeat: initial initial; ]{-moz-binding: url(about:abp-elemhidehit?327860322970#dummy) !important;}”. Zbiór reguł zignorowany z powodu błędnego selektora. elemhide.css:36360

after translate "Some rules was ignored because wrong selctor"


2.Niespodziewany koniec pliku podczas poszukiwania „}” zamykający zbiór nieprawidłowych reguł. Niespodziewany koniec pliku podczas poszukiwania koniec reguły @media, @supports lub @-moz-document. Niespodziewany koniec pliku podczas poszukiwania '}'. elemhide.css:36551

Something like "unexpected EOF"
Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Firefox/24.0

MiniMe

Re: noscript bug?

Post by MiniMe » Mon Jun 16, 2014 7:23 pm

Ok now i see that problem is with this set of rules
https://dl.dropboxusercontent.com/u/257 ... sblock.txt

When i disable this set hells.pl##body works well. When I turn on this list it works, also. When I close browser and starts it again with cookiesblock list then rule hells.pl##body doesn't work.

Is this rulesets problem?
Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Firefox/24.0

barbaz
Senior Member
Posts: 9504
Joined: Sat Aug 03, 2013 5:45 pm

Re: noscript bug?

Post by barbaz » Mon Jun 16, 2014 8:00 pm

You nailed the problem. This sort of thing is going to happen with element hiding rules because ABP & Adblock Edge don't check the validity of CSS selectors in hiding rules, and it's been stated that ABP won't ever do it.

All you can do is tell the maintainer of LubieCiasteczka to fix the rule

Code: Select all

ibm.com##div[style="position: absolute; z-index: 2000000; top: 150px; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; padding: 10px; background-image: url(http://consent.truste.com/get?name=trans.png); left: 50%; margin-left: -420px; background-position: initial initial; background-repeat: initial initial; ]
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux i686; rv:33.0) Gecko/20140616 Firefox/33.0 SeaMonkey/2.30a1

MiniMe

Re: noscript bug?

Post by MiniMe » Tue Jun 17, 2014 6:53 am

thanks&cheers
Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Firefox/24.0

Post Reply