ClipCopy for Tampermonkey icon

ClipCopy for Tampermonkey

Extension Delisted

This extension is no longer available in the official store. Delisted on 2025-09-15.

Extension Actions

CRX ID
cehieljejfgbjhogonapjjndllliopfg
Status
  • Unpublished Long Ago
  • No Privacy Policy
Description from extension meta

Add-on for Tampermonkey allowing an userscript to copy text to the clipboard using GM_setClipboard API

Description from store

WARNING: 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.

Latest reviews

INTROS!
top
Shyamol Roychoudhury
Awsome!!!! I love it
Kuan Min Sheng
good