Browser extension that allows for linking to arbitrary text on a page.

Latest Version

Version
2.5.0
Update
October 10, 2024
Size
94.02KiB
Developer
Category
Users
100,000+
Rating
3.67974 ★
Manifest Version
3
Web Store Status
Languages Support
Deutsch
English
Français
Català
Español
עברית
한국어
See more
Permissions
ActiveTab
ContextMenus
ClipboardWrite
Storage
Scripting
Offscreen
See more

Link to Text Fragment Extension

Update: Chrome now has a built-in feature (\"Copy Link to Highlight\" in the context menu) to copy text fragment links. The extension has an additional feature that allows you to also copy rich links. You can activate this feature in the options.

This extension allows for easily creating a special link to the currently selected text on a page via the context menu. When opening such a special link, a compatible browser will scroll the selected text into view and highlight it.

Usage instructions:

• Select the text that you want to link to.
• Right-click and choose \"Copy Link to Selected Text\" from the context menu.
• If the link creation succeeded, the selected text will be briefly highlighted in yellow.
• Paste your link wherever you want to share it.
• 💡 Pro-tip: you can assign a keyboard shortcut to the copy action!

📖 Article: https://web.dev/text-fragments/
🧩 Extension: https://chrome.google.com/webstore/detail/link-to-text-fragment/pbcodcjpfjdpcineamnnmbkkmkdpajjg
🎬 Demo video: https://www.youtube.com/watch?v=Y5DmGqnzvBI

For more information, see the Text Fragments specification (https://wicg.github.io/scroll-to-text-fragment/) where this feature is described.

This extension is open-source (https://github.com/GoogleChromeLabs/link-to-text-fragment) and licensed under the terms of the Apache 2.0 license. By installing this item, you agree to the Google Terms of Service and Privacy Policy (https://www.google.com/intl/en/policies/).
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "__MSG_extension_name__", "short_name": "__MSG_extension_short_name__", "version": "2.5.0", "description": "__MSG_extension_description__", "background": { "service_worker": "service_worker.js", "type": "module" }, "options_ui": { "page": "options.html", "open_in_tab": false }, "action": {}, "permissions": [ "activeTab", "contextMenus", "clipboardWrite", "storage", "scripting", "offscreen" ], "optional_host_permissions": ["http://*/*", "https://*/*"], "manifest_version": 3, "icons": { "16": "assets/16x16.png", "32": "assets/32x32.png", "192": "assets/192x192.png", "128": "assets/128x128.png", "180": "assets/180x180.png", "512": "assets/512x512.png", "1024": "assets/1024x1024.png" }, "default_locale": "en", "minimum_chrome_version": "88", "commands": { "copy_link": { "description": "__MSG_copy_link__" } }}
Read more