LogoLogo
About GitLabAcceptable Ads
  • Getting Started
  • Browser Ad-Filtering Solution
    • Features
    • Getting Started
      • Quickstart
      • Integrate the Solution
      • Set up user counting
    • Guides
      • User counting
      • Configure Solution settings
      • Run separate instances of the filtering engine
      • Update the Solution
      • Understand the snippets library
      • Create a filter list
      • Testing
    • Advanced
      • Services and classes
      • Sitekey
      • ADRs
      • Frame hierarchy
  • Snippets
    • Snippets Overview
    • Behavioral Snippets
      • abort-current-inline-script
      • abort-on-property-read
      • abort-on-property-write
      • abort-on-iframe-property-read
      • abort-on-iframe-property-write
      • array-override
      • cookie-remover
      • freeze-element
      • json-override
      • json-prune
      • override-property-read
      • prevent-listener
      • replace-fetch-response
      • replace-xhr-response
      • simulate-mouse-event
      • skip-video
      • strip-fetch-query-parameter
    • Conditional Hiding Snippets
      • hide-if-canvas-contains
      • hide-if-contains
      • hide-if-contains-image
      • hide-if-contains-similar-text
      • hide-if-contains-visible-text
      • hide-if-contains-and-matches-style
      • hide-if-has-and-matches-style
      • hide-if-labelled-by
      • hide-if-matches-computed-xpath
      • hide-if-matches-xpath
      • hide-if-matches-xpath3
      • hide-if-shadow-contains
    • Debugging Snippets
      • debug
      • log
      • profile
      • trace
    • Performance Snippets
      • race
    • Snippets Support by Platform
    • Node Highlighting
    • Accessing shadow DOM elements
  • Working with filters
  • DATA AND PRIVACY
    • Data collection at eyeo
Powered by GitBook
On this page

Was this helpful?

Edit on GitLab
Export as PDF
  1. Web Extension Ad-Filtering Solution
  2. Getting Started

Required permissions

Last updated 1 year ago

Was this helpful?

Several permissions help the Web Extension Ad-Filtering Solution function correctly.

The manifest file templates in the Quickstart guide include the required permissions, and the following table lists the role each plays in the Solution:

Permission
Definition

webNavigation

Gives access to the Web Navigation API, which eyeo uses to block popups and apply document-level allowing filters.

webRequest

Gives access to the Web Request API. Used to apply URL filters in MV2 and to report on URL filters in MV3. Also used to retrieve sitekeys for a site.

webRequestBlocking

Allows blocking request based on URL filters in MV2. MV2 only.

declarativeNetRequest

Gives access to the Declarative Net Request API, which we use to apply URL filters in MV3. MV3 only.

storage

Gives access to storage APIs, which eyeo uses to store downloaded subscriptions, user's custom filters, and so on.

unlimitedStorage

Removes the default 5MB storage limit, which is insufficient for larger subscriptions.

tabs

Gives access to tab metadata, including the tab's URL, which is used to apply document-level allowing filters to the tab.

scripting

Used to apply content filters, including element hiding filters and snippet filters. MV3 only.

<all_urls>

Allows the Solution to act on all websites. In MV2 manifests, this goes in permissions, but in MV3 manifests it goes in the host_permissions section.

For more on browser extension permissions and their impacts, view Google's documentation and permissions.

for Manifest V2
Manifest V3