Skip to content

Support for unsafeWindow #801

@Hakorr

Description

@Hakorr

Unless Safari has a restriction on this, Userscripts should support the unsafeWindow grant. Injecting into page is not good enough as it disables all GM functions and makes the userscript vulnerable to CSP blocking (and just vulnerable in general). So that is simply not an option.

unsafeWindow is not that unsafe and not supporting it limits the functionality of userscripts a lot. Saying it's unsafe is like saying riding a bike without training wheels is unsafe to a biker hobbyist, who can clearly ride a bicycle. Forcing the training wheels just disallows them to go around corners as well and just limits their potential.

The most popular userscript managers support it, so why couldn't this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions