andryou / scriptsafe

a browser extension to bring security and privacy to chrome, firefox, and opera
https://www.andryou.com/scriptsafe
509 stars 79 forks source link

Visible canvas element #405

Open God-damnit-all opened 5 years ago

God-damnit-all commented 5 years ago

ScriptSafe, for whatever reason, has a potentially visible canvas element when you reload pages and it can really mess with where chromium thinks the page should be scrolled to.

Personally, I fix it with this CSS in Stylus:

canvas[class^="scriptsafe_"], canvas[class*=" scriptsafe_"] { display: none }

However, simply making sure that these elements have style="display:none" included in their canvas tags would fix this issue for everyone.