Live data from Hacker News

Please disable JavaScript to view this site

heydonworks.com

31–40 of 281 posts

Re: Please disable JavaScript to view this site

#31
post #29
post #20

Earlier quoted context omitted.

"Reproduction or distribution of any materials obtained on this website or linking to this website without written permission is prohibited." https://www.berkshirehathaway.com/disclaimer.html What? :)

Haven't the courts ruled you don't need permission to have a link?

Didn't even know this was a thing.

Re: Please disable JavaScript to view this site

#32
post #23
post #17

After disabling js I get a blank page in Firefox. Is that right? CBA to decipher the source or work out how to disable js in Chromium.

I disabled it with 4 taps in uBlock Origin, Firefox Android. Open menu, Add-ons, uBlock Origin, the JavaScript icon. Then another tap to reload the page, the back button and the site did show.

Fair enough. For me, using the "Toggle js on and off" extension on Firefox 83.0 on Ubuntu, I see a blank page.

Re: Please disable JavaScript to view this site

#33
post #9

Thanks to this I learned how to disable JS on iOS Safari. An annoying number of clicks. So thanks for that I guess

You can assign a keyboard shorcut to that easily (I bound it to Cmd+Shift+J and find it super-handy):

https://support.apple.com/en-gb/guide/mac-help/mchlp2271/mac

If someone knows how to achieve the same on Linux for Chrome and Firefox, I'd love to hear it (browser plugins are a bit of a security and stability shitshow, so non-plugin solution would be preferred, all else being equal).

Re: Please disable JavaScript to view this site

#34
post #13

So running untrusted code on your computer is a bad thing. Well, it should be in a sandbox, but that has many intentional and proably some less intentional holes to do stuff on your machine. So how do I trace what Javascript is doing on my machine? Generally mitmproxy gives a feeling what sites the browser talks too. And strace gives often a good feeling what a Linux binary does. But the browser is too big and compli…

> Can anybody recommend a tool to look what Javascript code loaded by a certain page is doing? Open your browser's developer tools, go to the Script/Debugger tab and have at it. It's just about as obtuse to use as a tool as gdb, but you'll see exactly what it does. Chrome dev tools has automatic formatting of the code, maybe firefox too. But you'll be stuck with shitty variable names if they been mangled. Although yo…

> It would be interesting to have a browser tool that is like strace and you could filter by calls, so you can see exactly where window.navigator is being used for example, or localStorage.setItem.

Exactly, that's what I meant.

Re: Please disable JavaScript to view this site

#36
post #18
post #9

Thanks to this I learned how to disable JS on iOS Safari. An annoying number of clicks. So thanks for that I guess

Is there a way to disable JavaScript per website on iOS? Or an alternate iOS browser that supports it?

I use Purify ad blocker only for its JavaScript blocking option. I can re-enable JavaScript on a per-site basis by going through “Purify Actions” from Safari’s Share Sheet.

I combine this with another ad blocker (Wipr) to block everything else.

Re: Please disable JavaScript to view this site

#37
post #17

After disabling js I get a blank page in Firefox. Is that right? CBA to decipher the source or work out how to disable js in Chromium.

It's a personal CV-type website. Here[1] is the link to disabling JS for a site in Chromium. [1] chromium://settings/content/javascript

When I enter that into my address bar in Chromium I get a duckduckgo search, but I managed to turn off js from "site settings" and see the site.

Re: Please disable JavaScript to view this site

#40
post #33
post #9

Thanks to this I learned how to disable JS on iOS Safari. An annoying number of clicks. So thanks for that I guess

You can assign a keyboard shorcut to that easily (I bound it to Cmd+Shift+J and find it super-handy): https://support.apple.com/en-gb/guide/mac-help/mchlp2271/mac If someone knows how to achieve the same on Linux for Chrome and Firefox, I'd love to hear it (browser plugins are a bit of a security and stability shitshow, so non-plugin solution would be preferred, all else being equal).

From a security stand point you should at least have uBlock Origin installed for Chrome and Firefox. It can block JavaScript easily. I would trust NoScript as well which provides fine grain control over scripts. I get not wanting any extensions, but blocking scripts will unfortunately never be viable in a user base that doesn’t know what a “script” is...
Post reply on HN