This is a re-work to my previous firefox addon DragToGo. Compare to DragToGo, this one provides more options to different mouse gestures so that it resembles more of Easy DragToGo++ in older firefox versions. This addon uses better ways to achieve more functions and makes it easier to add new features.
- Options for text
- Optinos for links
- Options for images
-
For Text:
- Search for the text using a search engine
- Copy the text to clipboard
- Save the text to a text file
- Find the text in the same page (experimental)
-
For Links:
- Open the link
- Save the link
- Bookmark the link
-
For Images:
- Open the image
- Save the image
- Open the link if the image is enclosed by an
<a></a>
element which points to a different url from the image url. If not, it will fallback to open the image.
- svg images in
<svg>
tag is not supported. - If the dragged element includes not only an image but also a lot of text (even if the text is hidden), the addon will ignore the image.
- Find in page only search forward and sometimes buggy.
- The project uses
npm
to build, so please install npm first. - git clone or download the project to your local machine
- install dependencies
npm install
- bulid the addon for debugging purpose:
npm run build
This command will generate addon files in build
folder. The addon files can be installed to firefox temporarily with various debugging tools.
- build the addon for release:
npm run release
This command will generate addon files in release
folder where code is compressed/minified for release. At the same time a zip file is generated in artifacts
folder, which includes all the files in release
folder. The zip file is ready to upload to firefox.
Simple fork the repo and send pull request
This project is licensed under the Mozilla Public License