Skip to content

ReferenceError: Can't find variable: browser with GM_addStyle #195

Description

@sumanth-culli

System Information:

macOS version: 12.1
Userscripts version: Userscripts Safari Version 4.0.9
Safari version: Version 15.2 (17612.3.6.1.6)
Is this issue related to script injection? Yes
Did the test script (pasted above) successfully run on your machine? Yes

GM_addStyle(".TableValue { width: min-content; }");
GM_addStyle(".TableRow { margin-right: 2em; }");

These lines are giving ReferenceError: Can't find variable: browser error in console.

Screenshot 2022-01-08 at 11 54 21 AM

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions