Allows users to grant direct clipboard access to web pages that use the W3C Clipboard API.

Latest Version

Version
0.4
Update
May 2, 2018
Size
30.35KiB
Developer
glyptodon.org
Category
Users
10,000+
Rating
2.86667 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
Http://*/*
Https://*/*
ClipboardRead
ClipboardWrite
Storage
See more

Clipboard Permission Manager Extension

Clipboard Permission Manager is a browser extension which allows users to grant JavaScript access to the clipboard on a per-page basis. It should work with any page that uses the W3C Clipboard API.

Chrome restricts clipboard access to very specific cases, each of which requires user interaction, and does not provide a mechanism for manually granting access such that user interaction is not required going forward.

This extension is intended to provide such a mechanism, and it is our hope that mainstream browsers will provide such a mechanism on their own in the future, rendering this extension unnecessary.

This extension is open source and licensed under the MIT license. Its source code can be found on GitHub:

https://github.com/glyptodon/clipboard-permission-manager
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version" : 2, "name" : "Clipboard Permission Manager", "version" : "0.4", "description" : "Allows users to grant direct clipboard access to web pages that use the W3C Clipboard API.", "icons" : { "16" : "icons/clipboard-allow-16.png", "32" : "icons/clipboard-allow-32.png", "48" : "icons/clipboard-allow-48.png", "64" : "icons/clipboard-allow-64.png", "128" : "icons/clipboard-allow-128.png" }, "permissions" : [ "http://*/*", "https://*/*", "clipboardRead", "clipboardWrite", "storage" ], "background" : { "persistent" : false, "scripts" : [ "private/background/clipboardService.js", "private/background/popupService.js" ] }, "page_action" : { "default_popup" : "private/popup/popup.html", "default_icon" : { "19" : "private/popup/icons/clipboard-maybe-19.png", "38" : "private/popup/icons/clipboard-maybe-38.png" } }, "content_scripts" : [{ "matches" : [ "http://*/*", "https://*/*" ], "js" : [ "private/content/init.js", "private/content/clipboardBroker.js" ], "run_at" : "document_start", "all_frames" : true }], "web_accessible_resources" : [ "public/execCommand.js" ]}
Read more