Live data from Hacker News

Please disable JavaScript to view this site

heydonworks.com

41–50 of 281 posts

Re: Please disable JavaScript to view this site

#41
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).

On iOS Safari?

Re: Please disable JavaScript to view this site

#42

Any guesses as to why the source code look the way it does? I was expecting a traditional website inside the noscript tags, but instead I found an obfuscated soup letter between them.

It's an inline SVG image. That alphanumeric soup is the coordinates of the points (and handles) of a line. Scroll past that, and you get the website.

I have no idea why they made the SVG image inline but the CSS style external, though. That same image is used on every page.

Re: Please disable JavaScript to view this site

#43
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).

Mozilla removed the normal settings toggle a while back, so your options are to manually set javascript.enabled in about:config or use an extension. I agree in general that extensions aren't great, but I trust uBlock.

I think Chrome actually is fine although I don't know of a keybinding for it: Don't they still have a toggle right in the site menu (click the icon to the left of the URL to toggle all kinds of these things)?

Re: Please disable JavaScript to view this site

#44
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).

He said iOS, not macOS. Most iOS devices don't have a keyboard to do combos like that.

Re: Please disable JavaScript to view this site

#45
post #3

But there's nothing on this site once you do disable JavaScript. I was hoping for a 2020 take on a server-side rendered web app.

I see what you did there.... In other news, possibly the best designed website of 2020: http://www.muskfoundation.org/

https://www.theguardian.com/technology/2019/jan/23/how-elon-...

Re: Please disable JavaScript to view this site

#47

Any guesses as to why the source code look the way it does? I was expecting a traditional website inside the noscript tags, but instead I found an obfuscated soup letter between them.

It's an inline SVG image. That alphanumeric soup is the coordinates of the points (and handles) of a line. Scroll past that, and you get the website. I have no idea why they made the SVG image inline but the CSS style external, though. That same image is used on every page.

Ancient webserver that didn't serve the correct mime type for svg?

Re: Please disable JavaScript to view this site

#48
post #36
post #18

Earlier quoted context omitted.

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.

Do either of those deal with YouTube ads? The old iOS ad blocker I've been clinging to has stopped blocking YouTube ads recently.

Re: Please disable JavaScript to view this site

#49
post #35

This website does not track you . Correction -> This website does not track you via JS. You have no idea what's logged on the backend.

There are also ways to track you on the front end without JS but I think "This website will not… track you" is just a promise from the not something that followed from the lack of JS anyways.

Re: Please disable JavaScript to view this site

#50
post #5

I prefer making all my sites work just as well without JavaScript as with it. This is cool though if you need a quick check to see if JavaScript is enabled.

On my own site, any JS flourish has a noscript fallback. There's nothing major there in the first place, but it makes me happy to do that.

The other rule is that the JS is all hand-written. No frameworks or other dependencies.

Post reply on HN