6

I don't want text to be unloaded from pages because then I can't see all the results on the CTRL F box. This happens on Discourse forums and New New Reddit (its too bad they removed the 2018 redesign).

top 2 comments
sorted by: hot top controversial new old
[-] computergeek125@lemmy.world 3 points 1 week ago

I get what you're trying to get at here - but counterpoint: a lot of sites offer very long or infinitely scrolling pages. Getting rid of stuff you've scrolled past or wont scroll to for a while makes the page not a memory leak. So specifically for Discourse, New Reddit, Discord, Facebook, Twitter, Bluesky, and all those family of pages, if you do manage to succeed you will turn the page into a memory leak. And it's going to lag your renderer if those objects aren't unloaded.

[-] meekah@lemmy.world 2 points 1 week ago

I doubt it. The elements being added/removed is handled by JS, not your browser, so your browser can't influence the behavior of that.

You might be able to write some JS that searches the data in memory directly, rather than searching the visual representation that your browser displays.

this post was submitted on 16 Dec 2024
6 points (68.8% liked)

Firefox

4218 readers
91 users here now

A community for discussion about Mozilla Firefox.

founded 2 years ago
MODERATORS