Skip to content

Script security #5

@gppmad

Description

@gppmad

I don't fully get how this code works.
It's better to investigate

if (document.currentScript && !document.currentScript.src.startsWith(chrome.runtime.getURL(''))) { throw new Error('Unauthorized script injection detected'); }

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