Skip to content

Commit

Permalink
Add index of all DNR examples to all DNR examples (#527)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob--W committed May 17, 2023
1 parent 06330a6 commit f4a611d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dnr-block-only/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,9 @@ specific to Manifest Version 3.
To create a MV2 version of the extension, modify `manifest.json` as follows:

- Set `manifest_version` to 2.

# Index of DNR examples

- [dnr-block-only](https://github.com/mdn/webextensions-examples/tree/main/dnr-block-only) (this example)
- [dnr-dynamic-with-options](https://github.com/mdn/webextensions-examples/tree/main/dnr-dynamic-with-options)
- [dnr-redirect-url](https://github.com/mdn/webextensions-examples/tree/main/dnr-redirect-url)
6 changes: 6 additions & 0 deletions dnr-dynamic-with-options/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,9 @@ To create a MV2 version of the extension, modify `manifest.json` as follows:
the same value as `optional_host_permissions` for the reasons explained in
the previous section. The latter is MV3-only and can be removed from a MV2
manifest.

# Index of DNR examples

- [dnr-block-only](https://github.com/mdn/webextensions-examples/tree/main/dnr-block-only)
- [dnr-dynamic-with-options](https://github.com/mdn/webextensions-examples/tree/main/dnr-dynamic-with-options) (this example)
- [dnr-redirect-url](https://github.com/mdn/webextensions-examples/tree/main/dnr-redirect-url)
6 changes: 6 additions & 0 deletions dnr-redirect-url/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,9 @@ As an alternative to renaming `host_permissions` to `optional_permissions`,
add the match patterns in the `host_permissions` array to the
`permissions` key of the MV2 manifest. Then the user does not need to opt in to
the host permission, and the extension works immediately after installation.

# Index of DNR examples

- [dnr-block-only](https://github.com/mdn/webextensions-examples/tree/main/dnr-block-only)
- [dnr-dynamic-with-options](https://github.com/mdn/webextensions-examples/tree/main/dnr-dynamic-with-options)
- [dnr-redirect-url](https://github.com/mdn/webextensions-examples/tree/main/dnr-redirect-url) (this example)

0 comments on commit f4a611d

Please sign in to comment.