Multi word searcher 的评价
Multi word searcher 作者: ismorozs
1 条评价
- This would be a great addition if it worked for me, I'm using Firefox 70 32bit version, I coppied a word from the page and clicked find and it highlighted the line below the searched word (first time round) then I opened up the source code of the page to edit it and from there on it didn't work again. I removed and re-installed (twice) and restarted firefox but to no avail. It's a pity because I like the idea of this add on and, if it gets fixed I'll add it to firefox but, for now, I'll have to remove it.
To answer the developer's response I would have been happy if it had highlighted "Presisely" for the state of content that was on the page at the time of clicking but it didn't and it did not carry out any further searches even after closing the close button and starting a fresh search or after removing and re-installing the add on, no content on the page was changed and when moving to a fresh page the add on was closed and re-opened with a fresh search.开发者回应
发布于 5 年前Extension calculates positions and draws highlightings precisely for the state of the content that was on the page at the time of clicking the 'Find' button.
After drawing the highlightings, the extension doesn't track changes to the content.
So it doesn't redraw the highlightings when changes to the content occur and the content itself redraws.
The extension could automatically rerun the search logic each time something happened to the page by listening to various page events. But there are pages where all this computation would be perceivable enough, in terms of time and resources taken, that you wouldn't want it to happen that often and uncontrollably.
An easier solution is to just remove or rerun the search manually exactly when you need it.
So I'm afraid from the algorithmic standpoint it works as good as it can.
-----------------------------------------------------------------------------------------
Well, I use Firefox 70 (64bit) myself, and I use this addon almost every day when I need to find something on the page. I think I would notice if it didn't work at all.
But of course, there is a chance of a bug in any script.
I could look into it if you told me the website where it happened and the exact steps that you did.