Skip to content

[BUG] early-start 设置后 GM_info.userAgentData 为 undefined #1037

@Xia0xia0Xia0

Description

@Xia0xia0Xia0

问题描述

我记得以前说过一次( #847 (comment) ),但无人理会。

// ==UserScript==
// @name         New Userscript EKWF-1
// @namespace    https://docs.scriptcat.org/
// @version      0.1.0
// @description  try to take over the world!
// @author       You
// @match        https://*/*
// @grant        GM_setValue
// @run-at       document-start
// @early-start
// ==/UserScript==

(function() {
    'use strict';
     console.log(GM_info.userAgentData);
    // Your code here...
})();

重现步骤

脚本猫版本

v1.2.0-beta.5

操作系统以及浏览器信息

window vivaldi

补充信息 (选填)

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions