Skip to content

Usage of @resource requires granting GM_getResourceURL #1

@kitlith

Description

@kitlith

// TODO: do something that doesn't require granting an API to avoid unsafeWindow
// For now, this works without too much modification.
wasm_bindgen(GM_getResourceURL('wasm'));

I'd like to go back to @grant none, so that I don't need to use unsafeWindow.

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