GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

6 results across 6 corpora for webNavigation.

Developer library 6

manifest.json

": "button/geo-19.png", "38": "button/geo-38.png" }, "default_title": "Whereami?", "default_popup": "popup/geo.html" }, "permissions": ["webNavigation"], "version": "0.1", "user_scripts": { "api_script": "apiscript.js" }, "web_accessible_resources": ["images/my-image.png"] } ``` ## Browser compatibility ## See also - permissions JavaScript API

permissions

- `theme` - `topSites` - `unlimitedStorage` - `userScripts` (see [userScripts permission](/docs/Mozilla/Add-ons/WebExtensions/API/userScripts#permissions)) - `webNavigation` - `webRequest` - `webRequestAuthProvider` (Manifest V3 and above) - `webRequestBlocking` - `webRequestFilterResponse` - `webRequestFilterResponse.serviceWorkerScript` In most cases, the permission grants access to the API only, with these excep

optional_permissions

cSuffix` - `scripting` - `search` - `sessions` - `tabHide` - `tabGroups` - `tabs` - `topSites` - `userScripts` ([optional-only](#optional-only_permissions)) - `webNavigation` - `webRequest` - `webRequestBlocking` - `webRequestFilterResponse` - `webRequestFilterResponse.serviceWorkerScript` Check the compatibility table for browser-specific support details. These optional permissions are granted silently, without a

Background scripts

bset of events, such as when a web page is opened from a specific domain, use event filters where they are available. For example, you can add a filter to the webNavigation.onCompleted event to start your background script when certain URLs load, like this: ```js browser.webNavigation.onCompleted.addListener( () => { console.log("This is my favorite website!"); }, { url: [{ urlMatches: "https://www.mozill

Work with documentId

. - **Messaging**: tabs.sendMessage() and tabs.connect() accept a `tabId` and optional `frameId` to direct a message to its recipient. - **Frame information**: webNavigation.getFrame() and webNavigation.getAllFrames() use `tabId` and `frameId` to look up or enumerate frame details. - **Events**: Navigation events (webNavigation.onCommitted, webNavigation.onCompleted, and others), request events (webRequest.onBeforeRe

events.UrlFilter

n the filter matches. Filters are often provided to API methods in an [Array](/docs/Web/JavaScript/Reference/Global_Objects/Array) of UrlFilters. For example, [webNavigation](/docs/Mozilla/Add-ons/WebExtensions/API/webNavigation) listeners can be added with a filter which is an object with a single `url` property that is an [Array](/docs/Web/JavaScript/Reference/Global_Objects/Array) of UrlFilters, e.g., `{url:[UrlFi

JSON results · Services directory