[Fixed] Firefox + NoScript-11.2.4rc2 + Stylus + Bibliogram = Stylus not applying style

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

[Fixed] Firefox + NoScript-11.2.4rc2 + Stylus + Bibliogram = Stylus not applying style

Post by ppxxbu »

I've confirmed that this issue does not exist in NS 11.2.3.

Steps to replicate -

1. Install https://secure.informaction.com/downloa ... 2.4rc2.xpi

2. Install https://addons.mozilla.org/en-US/firefox/addon/styl-us/

3. Create a style in Stylus thusly, for URLs on the domain "bibliogram.nixnet.services". It removes the profile stats that are on the left of the page.

Code: Select all

    div.profile-counter {
      display: none;
    }
4. Go to https://bibliogram.nixnet.services/u/anti__reality

5. Notice that the stats are still visible.

6. However, the style does get applied if you click one of the images and then click the back button. Then the stats disappear as they should.

Expected behavior - Style should get applied immmediately upon visiting the page.
Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0
barbaz
Senior Member
Posts: 10841
Joined: Sat Aug 03, 2013 5:45 pm

Re: Firefox 78.8.0ESR/88.0a1 + NoScript-11.2.4rc2 + Stylus + Bibliogram = Stylus not applying style

Post by barbaz »

Confirmed here too in Firefox 86.0.

Disabling and re-enabling the Stylus style does not help. Every time I re-enabled it, another one of these nodes was added to the bottom of the document -

Code: Select all

<link href="null" rel="stylesheet" type="text/css" crossorigin="anonymous">
*Always* check the changelogs BEFORE updating that important software!
-
User avatar
Giorgio Maone
Site Admin
Posts: 9454
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Firefox 78.8.0ESR/88.0a1 + NoScript-11.2.4rc2 + Stylus + Bibliogram = Stylus not applying style

Post by Giorgio Maone »

Already found the culprit, thanks. WIll be fixed in rc3.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0
User avatar
Giorgio Maone
Site Admin
Posts: 9454
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Firefox 78.8.0ESR/88.0a1 + NoScript-11.2.4rc2 + Stylus + Bibliogram = Stylus not applying style

Post by Giorgio Maone »

Please check latest development build, thanks:

v 11.2.4rc3
============================================================
x Avoid stack trace generation for debugging purposes on
release builds
x More selective CSS PP0 protection, excluded on the Tor
Browser where it's unneeded and easier to test/debug on
dev builds
x Make isTorBrowser information available in child policy
x Prevent console noise on startup with privileged tabs
x [nscl] More refactoring out in NoScript Commons Library
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0
barbaz
Senior Member
Posts: 10841
Joined: Sat Aug 03, 2013 5:45 pm

Re: Firefox 78.8.0ESR/88.0a1 + NoScript-11.2.4rc2 + Stylus + Bibliogram = Stylus not applying style

Post by barbaz »

Fixed. Thanks Giorgio! Image
*Always* check the changelogs BEFORE updating that important software!
-
Post Reply