top | item 37976710

(no title)

esdott | 2 years ago

Sometimes, if Im quick enough, pressing the reader view on my phone shows the whole article. It doesn’t work on every site just some that are lazy and just throw a divider up on the screen without hiding the actual content. That worked for me here. Otherwise, I just use the archive links HN users post.

discuss

order

mywacaday|2 years ago

Somebody posted this in HN, if use save it as the URL of a bookmark and run it on a page with a divider on screen it will delete it often enough that I keep on my bookmarks bar. javascript:(function()%7Bdocument.querySelectorAll(%22body%20%22).forEach(function(node)%7Bif(%5B%22fixed%22%2C%22sticky%22%5D.includes(getComputedStyle(node).position))%7Bnode.parentNode.removeChild(node)%7D%7D)%3Bdocument.querySelectorAll(%22html%20%22).forEach(function(node)%7Bvar%20s%3DgetComputedStyle(node)%3Bif(%22hidden%22%3D%3D%3Ds%5B%22overflow%22%5D)%7Bnode.style%5B%22overflow%22%5D%3D%22visible%22%7Dif(%22hidden%22%3D%3D%3Ds%5B%22overflow-x%22%5D)%7Bnode.style%5B%22overflow-x%22%5D%3D%22visible%22%7Dif(%22hidden%22%3D%3D%3Ds%5B%22overflow-y%22%5D)%7Bnode.style%5B%22overflow-y%22%5D%3D%22visible%22%7D%7D)%3Bvar%20htmlNode%3Ddocument.querySelector(%22html%22)%3BhtmlNode.style%5B%22overflow%22%5D%3D%22visible%22%3BhtmlNode.style%5B%22overflow-x%22%5D%3D%22visible%22%3BhtmlNode.style%5B%22overflow-y%22%5D%3D%22visible%22%7D)()%3B%0A

oh_sigh|2 years ago

Disabling javascript generally works too. I actually browse default js disabled, and if it seems like a site isn't working, I enable JavaScript for that domain.

bryant|2 years ago

You're overstressing.

Open the page. Let the article load. Enter reader mode.

Doesn't matter if you weren't fast enough. Once in reader mode, if it rendered the paywall in reader mode, just refresh.

---

This at least works on Firefox — reader mode persists through the page refresh. Can't speak for chromium

esdott|2 years ago

Yeah I hear you. I’m pretty sure though I’ve come across sites that on a timed refresh have truncated the article. So the whole article was there until some process ran to check sign in status. Maybe that doesn’t happen anymore. I haven’t really noticed.