PSA: If your browser extension modifies the DOM & adds markup with inline event handlers (onclick), your code is bad and you should feel bad
-
-
Replying to @arturjanc
Even worse, it will completely break on any site that serves a decent Content-Security-Policy and will cause its developers pain.
1 reply 1 retweet 2 likes -
Replying to @arturjanc
As long as extension APIs empower extensions to do it, it's that API that is bad. And if APIs have feelings, it should feel bad.
3 replies 0 retweets 1 like -
Replying to @jasvir @arturjanc
actually CSP allows for addons/extensions to behave however they want: https://www.w3.org/TR/CSP/#extensions …
1 reply 0 retweets 0 likes
Replying to @KingstonTime @jasvir
Extensions should be exempt from CSP by priority of constituencies, but modifying the DOM this way will still break.
11:22 AM - 3 Nov 2016
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.