Hacker News new | ask | show | jobs
by 1vuio0pswjnm7 30 days ago
That message comes from inline Javascript

This page does not require Javascript to read the article and view the images of the author's screenshots

Disable Javascript

or

Add a Content Security Policy HTTP response header that disables inline Javascript

Something like

   http-response add-header Content-Security-Policy "script-src 'none'; img-src 'self'; default-src 'none'"
The later solution is not for everybody but I like it; I am a text-only browser user so I have different tastes in how I prefer a website to look. For example I think a default-src 'none' CSP makes HN look better in a graphical browser. I omit img-src as I just like to read text. If I want to view images I use Ctrl-U view-source: then follow the image URLs
2 comments

Another option is using a browser add-on or extension to add or modify the Content-Security-Policy response header
I'm not a web specialist. Where would you put that `http-response` thing?