nyxt icon indicating copy to clipboard operation
nyxt copied to clipboard

Create a `no-css-mode`

Open pdelfino opened this issue 2 years ago • 2 comments

Nyxt already offers commands that help to provide a low-bandwidth navigation, such as:

  • no-image;
  • no-script; and,
  • no-webgl.

no-css-mode is another alternative. It could also be handy for front-end developers (to do some tests).

I have pitched the idea to @jmercouris. He liked it but he was not sure about how to implement it. He speculated if there would be some WebKit API to disable CSS.

pdelfino avatar Aug 09 '21 19:08 pdelfino

Today, @jmercouris suggested using a variation of blocker-mode. It would be enough to block .css files from loading. However, it would not work for in-line css (which tends to be the minority of CSS occurrence).

pdelfino avatar Aug 11 '21 01:08 pdelfino

Which is /probably/ the minority. We don't have data to show that- yet!

jmercouris avatar Aug 11 '21 08:08 jmercouris

I don't think this is Nyxt's responsibility, but that of the renderer. If the renderer provides such an option, then it's trivial to implement it.

aadcg avatar Oct 22 '23 16:10 aadcg