4 ms·
I did something very similar with dotjs before I realized it was introducing a 1-5 second delay in the loading of every webpage. How's the performance of this s
by PopeOfNope 11y ago
I did something very similar with dotjs before I realized it was introducing a 1-5 second delay in the loading of every webpage. How's the performance of this script?
- erik66132 11y agoIt's imperceptible to me. The number of search terms is pretty low. My regex isn't as sophisticated as it could be because the script started as a simple terms list using indexof, so it could be improved a little bit as more terms are added. Mainly I filter by entire sites, which helps a lot. I won't miss many technical articles by filtering nytimes, and if I do, I can live with that. I'll take PRs or suggestions, this was a ten minute project to scratch an itch.