Lurker News

Comments (168) 24 threads

Earlier comments
twhb#
This isn’t a problem. CSS could already control what’s displayed and what effect it has. It could already make clicking “next page” open an invisible chat to their account, your password box send your password as a message, and your message from a friend read anything they want. It’s always been a trusted asset.

What might be a problem is developers not treating it as such.

paxy2 replies#
Can't Chrome extensions already intercept network traffic though? Why does this need to be done at the CSS level?
rocqua#
Chrome extensions are used here as the method for injecting CSS, but there are other possible ways to inject such CSS.

e.g. ads.

ktpsns#
This is a very good question. The github project README does not say anything about the issue with the extensions. Does it also work in a regular page? Weird.
maxchehab2 replies#
It actually can't. Instagram does use this protect java-script injection from extensions, but clearly injecting CSS is allowed.
sbarre#
But could you use CSP to block the image loading that happens in the CSS with 'img-src' definitions?

Someone else in this thread suggested that as well.

15155#
The requested resource, however, could be blocked by a CSP.

Load more comments