-
May 28th, 2025, 03:05 PM
#1
Hostboard Member
I want to spot fast when reading articles
I started building a browser extension that highlights specific words on web pages — like custom keywords I want to spot fast when reading articles. Got the highlighting part kind of working, but every time the page reloads or scrolls with infinite loading, the highlights disappear. Not sure how to keep it consistent.
-
May 28th, 2025, 03:34 PM
#2
Hostboard Member
Re: I want to spot fast when reading articles
I ran into that issue too when I made a tool to highlight product prices under a certain value. What helped was using MutationObserver to detect when the DOM changes and reapplying the highlights. I didn’t even know about that until I dug into https://5ly.co/browser-extension-development/ — they explain how to handle dynamic content pretty clearly. You can also throttle updates so your extension doesn’t slow everything down.
-
May 28th, 2025, 03:51 PM
#3
Junior Hostboard Member
Re: I want to spot fast when reading articles
Stuff like that makes you realize how many moving parts websites have these days. Extensions sound simple until you start building one and find out it’s like solving ten puzzles at once. Fun though, in a frustrating way.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks