A lightweight Chrome extension that automatically adds a "Copy" button to all <code> blocks on learn.zone01oujda.ma, making it super easy to copy code snippets with a single click.
- βοΈ Adds a floating "Copy" button to every
<code>block - π Copies code to clipboard instantly
- π¨ Beautiful dark theme styling inspired by VS Code
- β‘ Works on dynamic pages (SPA support via MutationObserver)
- π Runs only on https://learn.zone01oujda.ma for privacy
-
Clone or download this repo:
git clone https://github.com/anas-ou/01-copy.git
-
Open Chrome, and navigate to:
chrome://extensions/
-
In the top-right corner, enable Developer mode
-
Click the "Load unpacked" button
-
Select the folder where you downloaded or cloned the extension
-
Visit https://learn.zone01oujda.ma and hover over any
<code>block β youβll see a "Copy" button in the corner!
01-copy/
βββ manifest.json
βββ content.js
βββ style.css
βββ icon.png
βββ preview.png
βββ README.mdHave ideas to make this extension better? Want to add syntax highlighting, theming, keyboard shortcuts, or support for other platforms?
You're very welcome to contribute!
-
Fork the repo
-
Make your changes
-
Open a Pull Request π
Feel free to open issues or suggest features as well.
MIT License β Free to use, modify, and share.
Made with β€οΈ for fellow learners at Zone01 Oujda.
