3 ms·
Is there are reasonable way to do this on a mobile browser?
by e12e 5y ago
Is there are reasonable way to do this on a mobile browser?
- wongarsu 5y agoMaybe rewriting it as a bookmarklet that displays the results on the page? Anyways, here's the current result in a pastebin: https://pastebin.com/fR89qMKk https://pastebin.com/fR89qMKk
- e12e 5y agoGood tip, thank you. Bookmarklets work as normal(?) on Firefox on Android, and can be invoked via the address bar on Chrome: https://paul.kinlan.me/use-bookmarklets-on-chrome-on-android/ https://paul.kinlan.me/use-bookmarklets-on-chrome-on-android... A random intro to bookmarklets: https://betterprogramming.pub/are-bookmarklets-still-useful-48e2672795aa https://betterprogramming.pub/are-bookmarklets-still-useful-...
- gabrielsroka 5y agoI posted these: https://news.ycombinator.com/item?id=30213991 https://news.ycombinator.com/item?id=30213991 https://news.ycombinator.com/item?id=30215244 https://news.ycombinator.com/item?id=30215244 Edit (this version subtracts 1 to see the real score and pops open in a new window): javascript:open().document.write('<meta name=viewport content="width=device-width, initial-scale=1.0"><table>' + [...document.querySelectorAll('.fatitem table .athing')].map(el => ({place: el.textContent.trim(), score: parseInt(el.nextSibling.textContent) - 1})).sort((a, b) => b.score - a.score || a.place.localeCompare(b.place)).map(e => `<tr><td>${e.place}<td align=right>${e.score}`).join('') + '</table>')