Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amitness/cutcode
A browser extension that enables double click to copy code snippet from stack overflow.
https://github.com/amitness/cutcode
developer-tools hacktoberfest productivity stackoverflow
Last synced: about 1 month ago
JSON representation
A browser extension that enables double click to copy code snippet from stack overflow.
- Host: GitHub
- URL: https://github.com/amitness/cutcode
- Owner: amitness
- License: gpl-3.0
- Created: 2017-03-06T17:00:30.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-01-18T11:44:47.000Z (almost 4 years ago)
- Last Synced: 2024-08-01T16:45:07.744Z (4 months ago)
- Topics: developer-tools, hacktoberfest, productivity, stackoverflow
- Language: JavaScript
- Homepage: https://addons.mozilla.org/en-US/firefox/addon/cutcode/
- Size: 1.49 MB
- Stars: 164
- Watchers: 5
- Forks: 20
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-nepal - cutcode - Chrome extension to double click Stack Overflow code to copy it (Uncategorized / Uncategorized)
README
# cutcode
Chrome and Firefox extension to copy code snippet from Stack Overflow by double clicking.
![Screencast](http://i.imgur.com/RbV6GgQ.gif)
## Getting Started
### Installing
Available on the [Firefox Add-ons site](https://addons.mozilla.org/en-US/firefox/addon/cutcode/).
- Clone the repo.
```shell
git clone https://github.com/amitness/cutcode
```
### Installing on Chrome- Load the extension into Google Chrome as an Unpacked Extension:
- Navigate to (1a) chrome://extensions or (1b) select Menu > More Tools > Extensions.
- Enable the (2) developer mode at top right.
- Click (3) "Load Unpacked Extension".
- Navigate to the cloned folder.
For additional help, refer the [official guide for Chrome](https://developer.chrome.com/extensions/getstarted#unpacked).
![Installation screenshot](https://cloud.githubusercontent.com/assets/6765956/23824934/6104b958-064e-11e7-9834-9ec025b068c2.png)### Installing on Firefox
- Load the extension into Firefox as a Temporary Add-on:- Open Firefox
- Enter (1) "about:debugging" in the URL bar
- Click (2) "Load Temporary Add-on"
- Open the cloned directory and select any file inside the folder.
For additional help, refer the [official guide for Firefox](https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Temporary_Installation_in_Firefox).
![Installation screenshot](https://cloud.githubusercontent.com/assets/6765956/23825005/c8b70bfe-064f-11e7-9a9c-c228a6729b9c.png)### Local Development
- Follow installation instructions and install the extension.
- Work on the code.
- Use Reload (`Ctrl+R`) to reload the extension from `chrome://extensions` page.
- Test the new changes.## Contributing
We :heart: contributions. Feel free to send us a PR.1. [Create an issue](https://github.com/amitness/cutcode/issues/new) if there is one.
2. [Fork the repo](https://github.com/amitness/cutcode/fork).
3. Create your feature branch (`git checkout -b your-feature`).
4. Add and commit your changes (`git commit -am 'message'`).
5. Push the branch (`git push origin your-feature`).
6. Create a new Pull Request.### Feedback
[Create an issue](https://github.com/amitness/cutcode/issues) for all discussions, bugs, feature requests and pull requests.### License
This project is licensed under the GNU License - see the [LICENSE](LICENSE) file for details.
Icon provided by [Open Iconic](http://www.useiconic.com/open).
### References
- [Copy & Paste & The Web : CSS-Tricks](https://css-tricks.com/copy-paste-the-web/)
- [Double Click Event Handler: Stack Overflow](http://stackoverflow.com/questions/6462909/how-to-add-doubleclick-event-to-canvas-element-using-the-addeventlistener-meth)