@freedomofpress/webcat
    Preparing search index...

    Class ContentScript

    Represents a single content script in a static file.

    Index
    • Binds the content script to the given list of FQDNs. When called, the content script is registered for the FQDNs in the list and unregistered for all other FQDNS.

      Parameters

      • fqdns: string[]

        A list of fully-qualified domain names to bind the script to.

      Returns Promise<string[]>

      A list of the FQDNs that the script was not yet bound to.