1

无法在 Firefox 调试器控制台中访问GM对象。

// ==UserScript==
// @name     test_script
// @version  1
// @grant    none
// @include  *
// ==/UserScript==

document.GM = GM; // The GM object can not be accessed using document.GM in the developer console 
console.log(GM): // This works and the GM object contains GM.info object as expected
4

0 回答 0