Skip to content

ANAS-OU/01-copy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧩 01-copy

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.

screenshot


πŸš€ Features

  • βœ‚οΈ 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

πŸ”§ How to Install

  1. Clone or download this repo:

    git clone https://github.com/anas-ou/01-copy.git
  2. Open Chrome, and navigate to:

    chrome://extensions/
  3. In the top-right corner, enable Developer mode

  4. Click the "Load unpacked" button

  5. Select the folder where you downloaded or cloned the extension

  6. Visit https://learn.zone01oujda.ma and hover over any <code> block β€” you’ll see a "Copy" button in the corner!

πŸ“ File Structure


01-copy/
β”œβ”€β”€ manifest.json
β”œβ”€β”€ content.js
β”œβ”€β”€ style.css
β”œβ”€β”€ icon.png
β”œβ”€β”€ preview.png
└── README.md

🀝 Contribute


Have 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.

πŸ“„ License


MIT License β€” Free to use, modify, and share.

Made with ❀️ for fellow learners at Zone01 Oujda.

About

chrome extension that adds copy botton on code blocks. Suitable for lazy boys.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published