Recensioner för Textmarker
Textmarker av underflyingbirches
5 recensioner
- Betygsatt 3 av 5av Cyberknight, för 2 år sedanGood interface, allowing changing the colours. Unfortunately, it doesn't work on some Pages, in some sites. Other similar tools does work on those same Pages, so it's a limitation of the extension (I didn't even wanted to save the highlights, all I really needed was marking for studying...)
- Betygsatt 3 av 5av Nicolas, för 5 år sedan
- Betygsatt 3 av 5av hmijail, för 5 år sedanWorks OK if used carefully and in strictly static pages. Unreliable if not. Beware of strange failures if the page does ever change, or if you happen to open the same tab twice.
Utvecklarens svar
postad för 5 år sedanHi hmijail, as I tried to explain to you on GitHub: There is nothing strange about restoration failures of saved highlights for pages that change their content. In fact it's expected and I notify users in bold letters about it both on this addon page as well as on the Textmarker pages.
A restoration cannot be successful if:
1) The highlighted text is not on the page anymore (obviously) or
2) The "surrounding content" of the highlight has changed: As explained on GitHub, since DOM elements ceise to exist on page unload there is no way of saving a direct reference, which is why Textmarker has to rely on an indirect description of the highlight's location. This description holds information about the `nodeName` of the ancestor DOM elements as well as the position of those elements (i.e. 3rd child node of its parent element) and the corresp. text node's starting point of the selection. So a verbalized example description could be (a bit simplified):
"Starts at character 4 of the 3rd child node of a p-element, which is the first child of a div-element"
This is necessary, because a highlighted text could occur multiple times on a give page, so it wouldn't be sufficient on page revisit to just search for that text and highlight the first occurrence. - Betygsatt 3 av 5av ali, för 6 år sedan
- Betygsatt 3 av 5av Firefox-användare 14437155, för 7 år sedan