/link-to-org

Simple browser extension that allows users to copy page links into the clipboard while transforming them into the org mode format.

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Build Status for main branch License GPL 3


Simple browser extension that allows users to copy page links into the clipboard while transforming them into the org mode format. This is done by adding a new item on the context menu of links, as shown on the following picture:

Demo

As you can see, this has been localized. If you are missing a language, feel free to contribute with a translation.

Known issues

It does not work for Google Chrome. I first wrote this extension on Firefox, since this is the browser I use, but then I noticed that it does not work for Chrome at all. First of all, Chrome doesn't seen to like the Clipboard API, which is a bummer since the equivalent code is quite ugly. But more importantly, and stupidly enough, I don't seem to be able to fetch the text of the selected link (which is dead easy in other JS contexts). If you know how to do this, please send me a pull request.

Contributing

Do you want to contribute with code, or to report an issue you are facing? Read the CONTRIBUTING.org file.

Read the CHANGELOG.org file.

License

Copyright (C) 2020 Miquel Sabaté Solà <mikisabate@gmail.com>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.