Add-on for Tampermonkey allowing an userscript to copy text to the clipboard using GM_setClipboard APIWARNING: this add-on has become obsolete since version 2.7.2890 of Tampermonkey, which implements GM_setClipboard by default.
This program is an add-on for Tampermonkey allowing an userscript to copy text to the clipboard using GM_setClipboard API.
The GM_setClipboard API was introduced in Scriptish, an add-on for Firefox introducing new functionalities in comparison to Greasemonkey. This extension aims at emulating this particular API.
To activate GM_setClipboard API, insert the following line in the metadata block of your userscript:
// @require https://raw.github.com/rafjaf/ClipCopy-for-TM/master/lib/installGM_setClipboard.js
Afterwards, your can make your userscript copy text to the clipboard with the following command :
GM_setClipboard("Text to copy to the clipboard");
You can even copy formatted text this way :
GM_setClipboard("<u>Formatted</u> text to copy to the clipboard. <b>Wow!</b>", "html");
If you use the above-mentionned @require metatag, your userscript will still remain compatible with Scriptish. However, the GM_setClipboard API will not be available in Greasemonkey.
Why Download ClipCopy for Tampermonkey?
- ✅ Trusted by 2000+ users worldwide
- ✅ High Rating: /5 stars from reviews
- ✅ Latest Version: 0.1.1 - Always up to date
- ✅ Safe & Secure: Verified by Chrome Web Store
- ✅ Free to Use: No cost required
Extension Details
Type: Extension
Category: Chrome Browser Extension
Compatibility: Google Chrome Browser
Last Updated: April 29, 2021
Developer: Chrome Web Store Verified
Discover ClipCopy for Tampermonkey - The Best Chrome Extension for Your Browser
Looking for the perfect Chrome extension to enhance your browsing experience? ClipCopy for Tampermonkey is one of the most popular and highly-rated extensions available on the Chrome Web Store, trusted by over 2000 users worldwide.
With an impressive -star rating based on authentic user reviews, ClipCopy for Tampermonkey has proven its value and reliability to the Chrome community. This extension is perfect for users who want to improve their productivity, enhance their browsing security, or simply add useful functionality to their Chrome browser.
Download ClipCopy for Tampermonkey today and join thousands of satisfied users who have already discovered the benefits of this powerful Chrome extension. Installation is quick and easy - simply click the download button above to be redirected to the official Chrome Web Store where you can safely install this extension in just a few clicks.