无法访问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