Checking "unchecked_css"

Post a reply

Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Checking "unchecked_css"

Re: Checking "unchecked_css"

by barbaz » Sun May 23, 2021 6:49 pm

@Quest

(I'm certain those questions were both already asked and answered on this forum, but I can't find it either, so...)

1) Yes. For benefits, please see the sticky - viewtopic.php?f=7&t=26285
The drawback is that the current mitigation may cause a FOUC (flash of unstyled content) and may result in loading some additional resources that wouldn't otherwise be loaded.

2) It should depend on the state of "script" capability:
Giorgio Maone wrote: Wed Mar 31, 2021 4:42 pm we assume JavaScript-enabled pages have plenty and more accurate ways to accomplish the same thing
... that CSS PP0 would accomplish.

This is off-topic for this thread, so if you wish to continue this please start a new thread. (If you do we can merge your post and this reply there as well if you like.)

Re: Checking "unchecked_css"

by Quest » Sun May 23, 2021 5:51 pm

Although the CSS-restriction name discussion goes on I venture to ask:
1. Are there any real security benefits or behavior drawbacks to (un)check these CSS non-restrictions?
2. Some of my custom Per-Site Permissions now have this option checked and some don’t.
These (un)checks have appeared automatically without any actions from my part.
What’s the logic?

Re: Checking "unchecked_css"

by barbaz » Thu May 20, 2021 4:26 pm

barbaz wrote: Wed Apr 28, 2021 7:27 pm The problem with "unrestricted CSS" is that the current mitigation doesn't "restrict" anything, it just loads CSS differently. What about "uncontrolled CSS"?
Giorgio could you please address this? Thanks

Re: Checking "unchecked_css"

by barbaz » Thu Apr 29, 2021 4:11 pm

fatboy wrote: Thu Apr 29, 2021 11:26 am What if the name is "unsafe CSS"?
That isn't a sharp description of this capability. That reads like un-checking it would result in NoScript actually blocking some CSS. But that is not the case atm.

Re: Checking "unchecked_css"

by fatboy » Thu Apr 29, 2021 11:26 am

"Do keep the name short though."
What if the name is "unsafe CSS"?

Re: Checking "unchecked_css"

by barbaz » Wed Apr 28, 2021 7:27 pm

Maybe there is no clean win on this one :?

The problem with "unrestricted CSS" is that the current mitigation doesn't "restrict" anything, it just loads CSS differently. What about "uncontrolled CSS"?

Re: Checking "unchecked_css"

by Giorgio Maone » Wed Apr 28, 2021 2:55 pm

I'm thinking of using a previous candidate, "unrestricted CSS", which we originally rejected because it seemed too long in characters for the UI layout. But the capabilities list is already two rows long no matter what on Chromium (which restricts the popup width to 800px max), so...

Re: Checking "unchecked_css"

by Guest » Wed Apr 28, 2021 6:55 am

I guess "css threat" is excessive, too? Maybe a native english speaker can come up with something nice. "unchecked_css" is confusing.

Re: Checking "unchecked_css"

by Giorgio Maone » Wed Apr 28, 2021 5:31 am

"css attack" would be more obvious, but IMHO excessive: by checking the checkbox, you're allowing the site to use any CSS without checks (not necessarily for an attack).

Checking "unchecked_css"

by Guest » Wed Apr 28, 2021 4:09 am

Just to make sure I understand correctly:
Checking "unchecked_css" makes it unchecked and unchecking it makes it checked? :roll:
My english is too bad to come up with a clever name for it but because everything else uses nouns maybe something like "css attack" would be more obviously?

Top