Skip to content

A minimalist Firefox extension that copies the current tab URL to your clipboard using Cmd+Shift+C or Ctrl+Shift+C, preventing accidental DevTools opening. Lightweight, private, and fast.

License

Notifications You must be signed in to change notification settings

rphlr/url-copier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL Copier – Firefox Extension

Extension Icon

A minimalist browser extension to copy the current tab's URL with Cmd+Shift+C / Ctrl+Shift+C.
Stop triggering DevTools by accident. Lightweight, privacy-friendly, and blazing fast.


📸 Screenshots

Extension settings
Extension settings
Right-click context menu
Right-click context menu
Copy confirmation
Copy confirmation

🔧 Features

  • ⌨️ Copy current tab URL via Cmd+Shift+C / Ctrl+Shift+C
  • 🖱️ Right-click context menu with "Copy URL" option
  • 🌍 Multilingual support (English & French) with real-time switching
  • 🛑 Prevents DevTools from opening with this shortcut
  • 🔔 In-page visual feedback (non-intrusive notifications)
  • ⚙️ Configurable settings page for notifications and language
  • 🔒 Privacy-first: no tracking, no data collection
  • 💾 Robust storage with localStorage fallback
  • ✅ Works on all websites

🚀 Install

Install from Firefox Add-ons

For development, you can install manually:

  1. Clone or download this repo
  2. Build the XPI: make build
  3. Go to about:debugging > This Firefox > Load Temporary Add-on
  4. Select the generated .xpi file from the dist/ folder

Alternatively, for direct development:

  • Go to about:debugging > This Firefox > Load Temporary Add-on
  • Select manifest.json directly from the src/ folder

🛠️ Build (.xpi)

To build the extension locally from source:

make build

This will create a .xpi archive in the dist/ folder.

To clean the build:

make clean

Ensure manifest.json and all source files are inside the src/ directory before building.


⚙️ Configuration

Access settings via the extension icon or about:addons > URL Copier > Preferences.

Available options:

  • Toggle notification display when URL is copied
  • Switch between English and French interface
  • Settings are automatically saved and synced

🧪 Use Case

Perfect for developers, researchers, and power users who frequently copy URLs and want a cleaner keyboard workflow. Ideal for:

  • Quick URL sharing during development
  • Research and reference collection
  • Content creation workflows
  • Anyone tired of accidentally opening DevTools

📜 License

MIT

About

A minimalist Firefox extension that copies the current tab URL to your clipboard using Cmd+Shift+C or Ctrl+Shift+C, preventing accidental DevTools opening. Lightweight, private, and fast.

Topics

Resources

License

Stars

Watchers

Forks