ClipCopy for Tampermonkey

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

ClipCopy for Tampermonkeyคืออะไร?

ClipCopy for Tampermonkey เป็นส่วนขยายของ Chrome ที่พัฒนาโดย Rafaël Jafferali และคุณลักษณะหลักของมันคือ "Add-on for Tampermonkey allowing an userscript to copy text to the clipboard using GM_setClipboard API"

ดาวน์โหลดไฟล์ CRX ของส่วนขยาย ClipCopy for Tampermonkey

ดาวน์โหลดไฟล์ส่วนขยาย ClipCopy for Tampermonkey ในรูปแบบ crx และติดตั้งส่วนขยาย Chrome ด้วยตนเองในเบราว์เซอร์หรือแชร์ไฟล์ crx กับเพื่อนๆ เพื่อติดตั้งส่วนขยาย Chrome อย่างง่ายดาย

คำแนะนำในการใช้ส่วนขยาย

                        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("Formatted text to copy to the clipboard. Wow!", "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.                    

ข้อมูลพื้นฐานของส่วนขยาย

ชื่อ ClipCopy for Tampermonkey ClipCopy for Tampermonkey
ID cehieljejfgbjhogonapjjndllliopfg
URL อย่างเป็นทางการ https://chrome.google.com/webstore/detail/clipcopy-for-tampermonkey/cehieljejfgbjhogonapjjndllliopfg
คำอธิบาย Add-on for Tampermonkey allowing an userscript to copy text to the clipboard using GM_setClipboard API
ขนาดไฟล์ 30.9 KB
จำนวนการติดตั้ง 1,905
เวอร์ชันปัจจุบัน 0.1.1
อัปเดตครั้งล่าสุด 2012-11-17
วันที่เผยแพร่ 2012-11-17
คะแนน 4.05/5 รวมทั้งหมด 22 คะแนน
ผู้พัฒนา Rafaël Jafferali
อีเมล [email protected]
ประเภทการชำระเงิน free
เว็บไซต์ส่วนขยาย https://github.com/rafjaf/ClipCopy-for-TM
ภาษาที่รองรับ en-GB
manifest.json
{
    "update_url": "http:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "ClipCopy for Tampermonkey",
    "version": "0.1.1",
    "manifest_version": 2,
    "description": "Add-on for Tampermonkey allowing an userscript to copy text to the clipboard using GM_setClipboard API",
    "icons": {
        "16": "\/img\/icon16.png",
        "48": "\/img\/icon48.png",
        "128": "\/img\/icon128.png"
    },
    "background": {
        "page": "\/bg\/background.html"
    },
    "options_page": "\/about\/about.html",
    "permissions": [
        "clipboardWrite",
        "storage"
    ]
}