Skip to content

Conversation

@rebloor
Copy link
Contributor

@rebloor rebloor commented Jan 7, 2026

Description

Update to various details as a consequence of migrating notify-link-clicks-i18n to MV3. Changes include:

  • update of all references to extension.getURL to runtime.getURL. It was noted during the migration that extension.getURL is not a function available to Manifest V3 extensions.
image - update of all references to `extension.getBackgroundPage` to `runtime.getBackgroundPage`. During the investigation into `extension.getURL` it was noted that the [Manifest V3 migration guide](https://extensionworkshop.com/documentation/develop/manifest-v3-migration-guide/#developer-preview-changes) (under Event-driven background scripts) includes a step to update this API. - as advice was provided (by @mixedpuppy) that support for deprecated APIs was removed from Manifest V3 the documentation was checked for other references to deprecated `extension` methods. None were found, however, the description of `runtime.lastError` as an alias of `extension.lastError` was reversed.

Related issues and pull requests

The migration of notify-link-clicks-i18n to MV3 is is in mdn/webextensions-examples#615.

@rebloor rebloor requested a review from willdurand January 7, 2026 22:53
@rebloor rebloor self-assigned this Jan 7, 2026
@rebloor rebloor requested a review from a team as a code owner January 7, 2026 22:53
@rebloor rebloor added the Content:WebExt WebExtensions docs label Jan 7, 2026
@github-actions github-actions bot added the size/s [PR only] 6-50 LoC changed label Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:WebExt WebExtensions docs size/s [PR only] 6-50 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant