url-text-fragment/README.md

25 lines
933 B
Markdown

This is a Firefox Addon that allows to create a ["Text Fragment"](https://developer.mozilla.org/en-US/docs/Web/URI/Fragment/Text_fragments#:%7E:text=Text%20fragments%20allow%20linking%20directly%20to%20a%20specific%20portion%20of%20text%20in%20a%20web%20document) link for the context menu.
# installation
* git clone or export this repo
* go to page "about:debugging#/runtime/this-firefox" (or "about:debugging" then click "This Firefox")
* click on "Load Temporary Add-on…"
* select "manifest.json" file
# usage
* select a text in a document,
* right clic to have contextual menu,
* choose "text fragment" entry
* paste the link in an address bar or in a mail or in a chat
# limitation
* not packaged, only debug mode yet
* on the plus side, the code is so simple that you can see it won't stab you in the back
* tested only on Firefox
* the other, most popular, web browser is on the evil side for a long time now