Live data from Hacker News

Ask HN: My eyesight is not good enough to read HN. What can I do?

news.ycombinator.com

21–30 of 55 posts

Re: Ask HN: My eyesight is not good enough to read HN. What can I do?

#21
On iOS, it's possible for App Store apps to add actions to Safari's share sheet that execute arbitrary JavaScript on the current page. This can act as a substitute for bookmarklets. (There's no way to have extensions run automatically, though.)

From a quick search of the App Store, here are two apps that may help – I haven't tried either of them, though:

Font Size App Extension: https://itunes.apple.com/us/app/font-size-app-extension/id10...

Safari Snippets (lets you add custom JS snippets to execute): https://itunes.apple.com/us/app/safari-snippets/id1126048257...

I'm assuming that by "I don't use apps", you just mean you don't want to use a specialized HN reader app. If you don't want to install any apps at all, I guess the above won't help… though you could always write your own app.

edit: The above may be unnecessary if, as mike-cardwell suggested, the issue isn't that the bookmarklet isn't executing, but that it tries to add a style tag and isn't allowed.

Re: Ask HN: My eyesight is not good enough to read HN. What can I do?

#22

On Android I've been using Hacker News Reader for years - https://play.google.com/store/apps/details?id=com.manuelmaly... . It's open source ( https://github.com/manmal/hn-android/ ), works great and it has a bunch of accessibility settings. It's basically a read-only experience, though - no commenting.

In Chrome just go to settings, accessibility and increase the font size. Works on my android phone.

Re: Ask HN: My eyesight is not good enough to read HN. What can I do?

#24

The existing HN CSP policy allows inline styles. A bookmarklet which just does the following would work: document.querySelectorAll('*').forEach(d => d.style.fontSize='20px') I find it odd that mobile browsers don't allow you to set the font size like desktop browsers do.

Firefox on Android allows scaling according to system font, under Settings > Accessibility.

I suppose though that OP is happy with system fonts and not HN fonts.

Re: Ask HN: My eyesight is not good enough to read HN. What can I do?

#25

I set the zoom level to 130% in Firefox for this site only. It is persistant. I don't have to do it every time I visit the site. And it doesn't effect other sites.

I do the same, except for me it's permanently at 240%.

Re: Ask HN: My eyesight is not good enough to read HN. What can I do?

#26

Why don't you just zoom in? This seems so obvious to me that I am sure I am missing something. I set the hn zoom level to 120%, and firefox remembers my zoom setting for the site so I don't have to set it every time.

On mobile Firefox, when I pinch zoom on HN, it means I end up having to constantly scroll horizontally to read anything. Maybe that's why?

You want Command + or the equivalent, not pinch zooming.

Re: Ask HN: My eyesight is not good enough to read HN. What can I do?

#27

Earlier quoted context omitted.

On mobile Firefox, when I pinch zoom on HN, it means I end up having to constantly scroll horizontally to read anything. Maybe that's why?

You want Command + or the equivalent, not pinch zooming.

Yeah. I use that regularly on my laptops and desktops. No idea how to do it on mobile phones though, which is what is being discussed here.
Post reply on HN