News for hackers. Stuff that matters.
Re:Silicon Valley Is Listening to Your Most Intimate Moments by 3xblah on Friday December 13, 2019 @12:45AM (#21779387)
Unfortunately, the popular graphical browsers AFAIK do not allow the user to disable CSS. Other news sites that use AMP, such as WSJ, use CSS as well as Javascript to annoy the user. Disabling Javascript is not enough. It is possible to remove the offensive CSS from a page through the browser's developer console, developer tools, etc. but at that point we may as well use a browser extension.

Here is a filter for WSJ.

   sed -n '/<article/,/<\/article/{/./{/<h1/,/<\/h1>/p;};/<title>/,/<\/title>/p;/./{/<p>[^<]*/,/<\/p>/p;};}' a.htm

There are no comments on this comment yet.