Skip to content

Feature Request: window.close() for windows not created by JavaScript #113

Description

@unix-fan

System Information:

macOS version: 10.15.7
Userscripts version: 3.0.2
Safari version: 14.0.3

trying to close() a window/tab with userscripts, but getting this in console:
"Can't close the window since it was not opened by JavaScript".
any way to implement overriding this in userscripts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status
    Release

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions