hackademix / noscript

The popular NoScript Security Suite browser extension.
https://noscript.net/
GNU General Public License v3.0
851 stars 90 forks source link

Prevent duplicate synthetic placeholders for invisible capability probes #369

Closed tiagoapimenta closed 3 months ago

tiagoapimenta commented 3 months ago

the new feature introduced on version 11.4.30 called "Best effort WebGL placeholders for offscreen capability detection" actually break the layout of several websites, including Google and Twitch.

image image image

It's even worst for twitch player: https://player.twitch.tv/?channel=...&parent=twitch.tv image

Please, add a settings to hide/show this placeholder, and preferable make it hidden by default.

hackademix commented 3 months ago

Thank you for this report.

Plan to fix it in 11.4.31:

  1. Create only one synthetic placeholder per capability/page for blocked off-screen detection probes.
  2. Make it smaller and fixed-positioned on the bottom left of the page.
  3. Add a new NoScript Options>Appearance>Show synthetic placeholders for invisible capability probes checkbox (on by default).
hackademix commented 3 months ago

Please check 11.4.31rc1, which implements 1 and 2 above, thanks.

hackademix commented 3 months ago

11.4.31rc2 implements 3 too: please check, thank you.

tiagoapimenta commented 3 months ago

I tested and Confirm it's working as expected.

Now it appears only once in the bottom right: image

And when changed the settings it's vanished after the page is refreshed