(Gecko 52 / UXP, e10s disabled) ABE Anonymize breaks devtools

Bug reports and enhancement requests
Post Reply
barbaz
Senior Member
Posts: 10841
Joined: Sat Aug 03, 2013 5:45 pm

(Gecko 52 / UXP, e10s disabled) ABE Anonymize breaks devtools

Post by barbaz »

SeaMonkey 2.46
NoScript 5.0rc2
new profile

STR:
1) NoScript Options > Advanced > ABE > USER, add

Code: Select all

Site .hackademix.net
Anonymize
2) visit https://hackademix.net/
3) right-click the top blog entry's title > Inspect Element

Expected results: element and its CSS rules show up in the devtools inspector

Actual results: CSS rules pane is blank. Commenting out the ABE rule lets it work as expected. Changing the ABE rule to this also works -

Code: Select all

Site .hackademix.net
Accept INC(CSS) from .hackademix.net
Anonymize
Browser Console messages are what you'd expect from ABE, plus this -

Code: Select all

Exception {  }  resource://devtools/shared/protocol.js:907
Protocol error (unknownError): Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIChannel.contentCharset]  resource://devtools/client/inspector/shared/utils.js:157
Protocol error (unknownError): Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIChannel.contentCharset]  resource://devtools/client/inspector/rules/rules.js:883
(This thread might be related, but not the same issue - viewtopic.php?f=10&t=22372)
*Always* check the changelogs BEFORE updating that important software!
-
User avatar
therube
Ambassador
Posts: 7924
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: ABE Anonymize breaks devtools

Post by therube »

What is the rule supposed to do?

If enabled, https://hackademix.net/ won't even load (at least in FF).
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 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0 SeaMonkey/2.46 Lightning/.4.46
barbaz
Senior Member
Posts: 10841
Joined: Sat Aug 03, 2013 5:45 pm

Re: ABE Anonymize breaks devtools

Post by barbaz »

From ABE Rules .pdf -
https://noscript.net/abe/abe_rules.pdf wrote:Anonymize (synonyms are Anon and Logout) – strips Authorization and Cookie headers, turns methods different than GET, HEAD and OPTIONS into GET, remove upload data, then sends the modified request.
I guess it shouldn't really affect hackademix.net at all. I'm just using that site as an example.
*Always* check the changelogs BEFORE updating that important software!
-
barbaz
Senior Member
Posts: 10841
Joined: Sat Aug 03, 2013 5:45 pm

Re: ABE Anonymize breaks devtools

Post by barbaz »

I don't see this issue in Waterfox 56.2.6 + NoScript 5.1.9rc1.

Quick test with SeaMonkey 2.49.4 + NoScript 5.1.9rc1, and I can still reproduce the issue there. So I tried Firefox 52.9, and could not reproduce this issue there...until I tried disabling e10s.

UXP-based apps, e.g. Basilisk, are also affected.

So is this a NoScript issue, or a platform issue?
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux x86_64; rv:56.0; Waterfox) Gecko/20100101 Firefox/56.2.6
User avatar
therube
Ambassador
Posts: 7924
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: (Gecko 52 / UXP, e10s disabled) ABE Anonymize breaks devtools

Post by therube »

Assuming I've done it correctly "my" 5.1.9rc1 looks to be working correctly.
SeaMonkey 2.49.5, 2.53, Basilisk 2018.12.18 (all x64, Windows 7 x64).

"My" (hacked version), viewtopic.php?f=10&t=23319.
(IMO, some extension [internal] settings, features really bugger up "legacy" browsers - simply by being there.)


Oh, I guess I could test with an unhacked...


Still working.
Did I do something wrong, with ABE?

User:

Code: Select all

# User-defined rules. Feel free to experiment here.

Site .hackademix.net
Anonymize
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 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0 SeaMonkey/2.53 Lightning/5.8
User avatar
therube
Ambassador
Posts: 7924
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: (Gecko 52 / UXP, e10s disabled) ABE Anonymize breaks devtools

Post by therube »

OK, lets start again...
Actual results: CSS rules pane is blank.
The pertinent part. And for those who don't know what they're supposed to be looking for or what they're looking at...

"My" (hacked version)
Immaterial (to this issue).


So...

SeaMonkey 2.49.5 & Basilisk (FF 52 based, I believe), fail.

SeaMonkey 2.53 (FF 56 based), works.


(Was going to check FF 52, but I don't have my signing hack in there, so forgetaboutit! [said nicely]. But then Mozilla doesn't pay attention anyhow, so I should have said it not so nicely.)
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 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0 SeaMonkey/2.53 Lightning/5.8
barbaz
Senior Member
Posts: 10841
Joined: Sat Aug 03, 2013 5:45 pm

Re: (Gecko 52 / UXP, e10s disabled) ABE Anonymize breaks devtools

Post by barbaz »

therube wrote: Thu Jan 03, 2019 3:48 am (Was going to check FF 52, but I don't have my signing hack in there, so forgetaboutit! [said nicely].
What signing hack? I don't use any "hack" to disable requiring addon signing, I just set xpinstall.signatures.required to false and it's done.
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux x86_64; rv:56.0; Waterfox) Gecko/20100101 Firefox/56.2.6
User avatar
therube
Ambassador
Posts: 7924
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: (Gecko 52 / UXP, e10s disabled) ABE Anonymize breaks devtools

Post by therube »

Oops, I was confusing 52 & 56.

So...

FF 52.9 with NoScript 5.1.9 installed, is not showing Rules on my end?

Regardless of the value of, browser.tabs.remote.autostart (& restarting).
(Is that the correct Pref?)


(I started with a new Profile, initially with SM 2.49, then the same with 2.53, then the same with FF 52, so no longer "new", in that sense.)
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 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0 SeaMonkey/2.53 Lightning/5.8
User avatar
therube
Ambassador
Posts: 7924
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: (Gecko 52 / UXP, e10s disabled) ABE Anonymize breaks devtools

Post by therube »

Some sites (well on one at least), I do get rules.

Code: Select all

# User-defined rules. Feel free to experiment here.

Site .hackademix.net
Anonymize

Site .yahoo.com
Anonymize

Site .pcqanda.com
Anonymize
www.yahoo.com gives me Rules.
www.pcqanda.com does not.
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 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0 SeaMonkey/2.53 Lightning/5.8
Post Reply