A lightweight browser extension that copies the current webpage's hostname to your clipboard with a single click.
- 🚀 One-click hostname copying
- ✨ Clean and simple interface
- 🔒 Works with HTTP and HTTPS URLs
- ⚡ Lightweight and fast
- 🛡️ No data collection or tracking
- ⌨️ Keyboard shortcut (Alt+Shift+H)
- Download the extension from Firefox Add-ons
- Click the extension icon in your browser toolbar to use
- Navigate to any webpage
- Either:
- Click the Hostname Copier icon in your browser toolbar, or
- Use the keyboard shortcut Alt+Shift+H
- The hostname will be automatically copied to your clipboard
- Look for the success message confirmation
- On
https://www.example.com/page
→ Copieswww.example.com
- On
https://subdomain.website.org/path
→ Copiessubdomain.website.org
The extension requires minimal permissions:
activeTab
: To access the current tab's URLclipboardWrite
: To copy the hostname to clipboardtabs
: To read the current tab's URLtheme
: To detect browser theme for UI adaptation
To run this extension locally in Firefox:
- Clone this repository
- Open Firefox and navigate to
about:debugging
- Click "This Firefox" in the left sidebar
- Click "Load Temporary Add-on"
- Browse to your cloned repository and select the
manifest.json
file - The extension will be loaded and appear in your toolbar
- Note: You'll need to reload the extension each time you restart Firefox