From f4a611d76b5cb81d759ca037d88fd144b107c827 Mon Sep 17 00:00:00 2001 From: Rob Wu Date: Wed, 17 May 2023 22:25:37 +0200 Subject: [PATCH] Add index of all DNR examples to all DNR examples (#527) --- dnr-block-only/README.md | 6 ++++++ dnr-dynamic-with-options/README.md | 6 ++++++ dnr-redirect-url/README.md | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/dnr-block-only/README.md b/dnr-block-only/README.md index 94916c3d..558b7900 100644 --- a/dnr-block-only/README.md +++ b/dnr-block-only/README.md @@ -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) diff --git a/dnr-dynamic-with-options/README.md b/dnr-dynamic-with-options/README.md index 993ca1b2..bd81d666 100644 --- a/dnr-dynamic-with-options/README.md +++ b/dnr-dynamic-with-options/README.md @@ -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) diff --git a/dnr-redirect-url/README.md b/dnr-redirect-url/README.md index 27bc5276..d882455e 100644 --- a/dnr-redirect-url/README.md +++ b/dnr-redirect-url/README.md @@ -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)