This extension allows you to copy the hostname of the current tab to your clipboard.

Latest Version

Version
1.1
Update
December 29, 2023
Size
6.77KiB
Developer
Category
Users
2,000+
Rating
4.88889 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
ActiveTab
See more

Copy Host Extension

Chrome in some cases, prepend http:// to the url when you try to copy. I constantly copy URL from the browser to the shell and it makes me crazy. To avoid that, I built this very basic chrome extension to get only the hostname of the current tab.

`Alt + C` can be used as a keyboard shortcut to copy the hostname to your clipboard directly.

Github: https://github.com/djadmin/copy-host
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Copy Host", "short_name": "copyhost", "description": "This extension allows you to copy the hostname of the current tab to your clipboard.", "version": "1.1", "action": { "default_icon": "img/icon16.png", "default_title": "Press the button to copy the hostname to the clipboard", "default_popup": "popup.html" }, "icons": { "16": "img/icon16.png", "48": "img/icon48.png", "128": "img/icon128.png" }, "permissions": [ "activeTab" ], "commands": { "_execute_action": { "suggested_key": { "default": "Alt+C" } } }}
Read more