Copy current selected text and current URL

Latest Version

Version
2.0
Update
December 29, 2022
Size
531KiB
Developer
Category
Users
94
Rating
4 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
ActiveTab
Notifications
Scripting
See more

Copy Text with URL Extension

Copy selected text and current URL jointly!

- Plain copy mode
You can fire the action by either clicking the extension icon or pressing \"Ctrl+Shift+C\". The format is like below.

selected_text
http://curent_url


- Markdown copy mode
You can fire the action by pressing \"Ctrl+Shift+M\". The format is like below.

[selected_text](http://current_url)


You can also customize the shortcuts in your extension page. Perhaps, some shortcuts don't work in your environment. Please try the other ones.
- chrome://extensions/shortcuts

This extension is publicly available.
https://github.com/jojonki/copy-text-with-url
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Copy Text with URL", "version": "2.0", "description": "Copy current selected text and current URL", "permissions": [ "activeTab", "notifications", "scripting" ], "background": { "service_worker": "background.js" }, "action": { "default_icon": { "16": "images/icon_16.png", "32": "images/icon_32.png", "48": "images/icon_48.png", "128": "images/icon_128.png" }, "default_title": "Copy Text with URL" }, "commands": { "copy-text-with-url-as-plain": { "suggested_key": { "default": "Ctrl+Shift+C", "mac": "MacCtrl+Shift+C" }, "description": "Copy text with URL as plain text", "global": false }, "copy-text-with-url-as-markdown": { "suggested_key": { "default": "Ctrl+Shift+M", "mac": "MacCtrl+Shift+M" }, "description": "Copy text with URL as markdown style", "global": false } }, "icons": { "16": "images/icon_128.png", "32": "images/icon_128.png", "48": "images/icon_128.png", "128": "images/icon_128.png" }, "manifest_version": 3}
Read more