Oddity? Style Affected Before Leaving NoScript Menu

Ask for help about NoScript, no registration needed to post
User avatar
therube
Ambassador
Posts: 7979
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Oddity? Style Affected Before Leaving NoScript Menu

Post by therube »

URL: http://www.techpowerup.com/downloads/SysInfo/GPU-Z/

Oddity? Style Affected Before Leaving NoScript Menu

Oh, is it a "style" even?

Anyhow

Allow techpowerup.com
then Allow tpucnd.com

With the second Allow, a dropdown box should display (on the Downloads in SysInfo › GPU-Z line).
[ Show latest versions | Show all versions ]

Open the NoScript menu
Forbid tpucnd.com

Immediately at that point, before you have left the NoScript menu, that dropdown box disappears

And then once you have left the menu, you'll see a jump with the box appearing for an instant, then disappearing again

Just an oddity? Or expected? Or?
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:35.0) Gecko/20100101 Firefox/35.0 SeaMonkey/2.32
barbaz
Senior Member
Posts: 11143
Joined: Sat Aug 03, 2013 5:45 pm

Re: Oddity? Style Affected Before Leaving NoScript Menu

Post by barbaz »

If the dropdown box is being displayed by JS, and can't be displayed at all if part of the JS it needs is stopped, that could happen.

The Forbid permission change takes effect in real time but Allow permission changes require something from the site to actually (re)load before having an effect.

I'll play with it a bit later see if I can reproduce / confirm that theory.
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:35.0) Gecko/20100101 Firefox/35.0
barbaz
Senior Member
Posts: 11143
Joined: Sat Aug 03, 2013 5:45 pm

Re: Oddity? Style Affected Before Leaving NoScript Menu

Post by barbaz »

Yup, reproducible. The dropdown has a class 'jsonly' - couple it with the following element

Code: Select all

<noscript class="noscript-show"><span><style>.jsonly { display: none !important; }</style></span></noscript>
and all becomes clear.

So nothing unexpected really.

Hope that helps.
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0 Iceweasel/27.0
Post Reply