Add a context menu item to copy page title (or selected text) and url to clipboard.
Copy page title and url Extension
This Firefox/Chrome extension adds an item to the context menu which allows you to copy the title and the url of the current page to clipboard. If any text is selected on the page, the selected text is copied instead of the title of the page (the url is always included).
This is useful for example when emailing/sharing links or collecting citations/quotes from the web.
How to use:
* When browsing any web page:
Right-click the page. In the context menu, a new item will be displayed: \"Copy page title and url\". This command will copy the title of the current page and its URL to clipboard.
* When (some) text on the page is selected:
Right-click the selected text. In the context menu, a new item will be displayed: \"Copy selection and url\". This command will copy the selected text and the URL (but not the page title) to clipboard.
If you hold down the Control or Shift key while clicking the menu item, the extension will copy the title of the page as well as the selected text and the URL.
Read more
This is useful for example when emailing/sharing links or collecting citations/quotes from the web.
How to use:
* When browsing any web page:
Right-click the page. In the context menu, a new item will be displayed: \"Copy page title and url\". This command will copy the title of the current page and its URL to clipboard.
* When (some) text on the page is selected:
Right-click the selected text. In the context menu, a new item will be displayed: \"Copy selection and url\". This command will copy the selected text and the URL (but not the page title) to clipboard.
If you hold down the Control or Shift key while clicking the menu item, the extension will copy the title of the page as well as the selected text and the URL.
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "Copy page title and url", "short_name": "Copy title and url", "description": "Add a context menu item to copy page title (or selected text) and url to clipboard.", "version": "1.3", "homepage_url": "https://github.com/marekjedlinski/webext-copy-title-url", "author": "Marek Jedli\u0144ski", "background": { "persistent": true, "scripts": ["background.js"] }, "content_scripts": [ { "matches": [""], "js": ["content.js"] } ], "icons": { "48": "icons/copy_title_and_url.png" }, "permissions": [ "activeTab", "contextMenus", "clipboardWrite" ], "applications": { "gecko": { "id": "[email protected]", "strict_min_version": "57.0" } }}
Read more