Skip to content

DNR: Add excludedTopDomains (and topDomains) #762

@ghostwords

Description

@ghostwords

In addition to excludedInitiatorDomains (and initiatorDomains). Having excludedTopFrameDomains (and topFrameDomains) would solve the problem of excluding (or including) requests based specifically on the top-level document's domain, not the initiator's (immediate parent frame's) domain.

excludedTopFrameDomains will work just like excludedInitiatorDomains with the one difference being that excludedTopFrameDomains compares against the top-level frame's domain instead of the immediate parent frame's domain.

Developers should be able to feature detect the availability of excludedTopFrameDomains, so that they can use it when it is available and fall back on excludedInitiatorDomains otherwise.

For a real world example of what this would solve, see EFForg/privacybadger#3048 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions