Skip to content

[BUG] Sandbox Compatibility Issue #1427

@cyfung1031

Description

@cyfung1031

Problem Description

// ==UserScript==
// @name         New Userscript
// @namespace    http://tampermonkey.net/
// @version      2026-05-08
// @description  try to take over the world!
// @author       You
// @match        https://*/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant        GM_setValue
// ==/UserScript==

(function() {
    'use strict';

    console.log("frames === window", frames === window); // true in TM, false in SC

    // Your code here...
})();

Reproduction Steps

ScriptCat Version

Operating System and Browser Information

Additional Information (Optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions