GM_setClipboard not working GM_setClipboard is not defined (silved) не вставляет (решено)
problem solved
edded string
// @grant GM_setClipboard
and Ctrl+S
Ctrl+Shift+R not wor - not apdate script
problem solved
edded string
// @grant GM_setClipboard
and Ctrl+S
Ctrl+Shift+R not wor - not apdate script
GM_setClipboard not working GM_setClipboard is not defined (silved) не вставляет (решено)
if (trigger2==1)
{ var xpath3 = '/html/body/div[5]/div/div/div[2]/div[2]/input';
var path3 = document.evaluate (xpath3, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null);
var silka = path3.singleNodeValue.value;
alert (silka); // normal data of sting
GM_setClipboard (silka); // not copy clipboard
GM_setClipboard ('12345');// not copy clipboard
}
and ....
// ==UserScript==
// @name GM_setClipboard
// @namespace vk.com\izhadapter
// @description вставка теста в буфер
// @include https://www.google.ru/*
// @version 1
// @grant none
// ==/UserScript==
GM_setClipboard ('retretgrfdg')
/*
Exception: ReferenceError: GM_setClipboard is not defined
@Scratchpad/5:9:1
*/
=======================
GS 3.8
FF 43
What problem ?