Persistent Highlighter 的评价
Persistent Highlighter 作者: n8chz
n8chz 的回应
开发者回应
发布于 7 年前Click right mouse button or equivalent while cursor is over a highlighted passage. There should be a menu item that says "This highlighted passage...", with options for your choice of modifying (basically changing the colors) or removing the highlight.
I had to make this a separate menu from the add-on's own context menu because WebExtensions API doesn't offer a SelectorContext for context menus. HTML does, so I got devious and told my content script to attach such a menu to each highlighted element.
I had to make this a separate menu from the add-on's own context menu because WebExtensions API doesn't offer a SelectorContext for context menus. HTML does, so I got devious and told my content script to attach such a menu to each highlighted element.