Live data from Hacker News

Two lines of CSS that will improve HN on mobile (IMO)

tdinh.notion.site

21–30 of 163 posts

Re: Two lines of CSS that will improve HN on mobile (IMO)

#21
About "Bookmarklets" (custom javascript one can call on a current page):

-- a good starting guide is at https://www.freecodecamp.org/news/what-are-bookmarklets/

-- it's not clear what could be the best method for calling them with a keyboard shortcut (where relevant/applicable), but a few approaches exist: https://superuser.com/questions/387729/creating-hotkeys-in-f...

-- it's not clear how to automate applying one such javascript snippet on each page load of a URL of defined pattern matching - there probably exist at least browser extensions

Re: Two lines of CSS that will improve HN on mobile (IMO)

#22
post #4

I just zoom in to 115% on iOS and 120% in Firefox on my desktop computer.

I zoom out to 80% in Firefox fwiw. There may well be more of you that zoom in, just wanted to point out it's not necessarily obvious to everyone it should be different in that direction.

Re: Two lines of CSS that will improve HN on mobile (IMO)

#23
post #14

Ok, but there are also other css things I would like to add on mobile, but how can I do this without a console, do I need an extension like grease monkey?

Bookmarklets. At least the work on mobile chrome. You open a site, then tap the url bar and type the name of the bookmarklet and tap that. I have one that removes all iframes, getting rid of 90% of ads

Does mobile Chrome not have extensions? Or you really prefer that solution to uBlock (or whatever)?

Re: Two lines of CSS that will improve HN on mobile (IMO)

#24
post #10
post #8

Earlier quoted context omitted.

Last time when I use this app, there is no login and comment function, only reading. I had to use Materialistic - Hacker News [0], with old UI and no update. [0]: https://play.google.com/store/apps/details?id=io.github.hidr...

I'm writing this from Harmonic - it definitely has upvotes + comment sending, but no comment edit / delete, or link posting.

Hope dev will add all functions in the future.

Re: Two lines of CSS that will improve HN on mobile (IMO)

#27
post #23
post #14

Earlier quoted context omitted.

Bookmarklets. At least the work on mobile chrome. You open a site, then tap the url bar and type the name of the bookmarklet and tap that. I have one that removes all iframes, getting rid of 90% of ads

Does mobile Chrome not have extensions? Or you really prefer that solution to uBlock (or whatever)?

It does not. There are alternative mobile. browsers that adblock, however.

Re: Two lines of CSS that will improve HN on mobile (IMO)

#30

Its annoying that alt+left-arrow is broken on that site. Instead of taking the browser back, it just selects some random part of the page.

Page up and page down also don't work on that page. Funny for a blog post that's about improving UI.
Post reply on HN