From 8dcd06dc20aea427661ca272960bbcef53e4321d Mon Sep 17 00:00:00 2001
From: Sebastian Benz
Date: Tue, 8 Oct 2024 13:47:52 +0000
Subject: [PATCH] Update web accessible resource samples to use dynamic URLs
(#1317)
---
.../web-accessible-resources/index.html | 32 +++++++++++++++++++
.../web-accessible-resources/manifest.json | 9 ++++--
.../sample.favicon-cs/manifest.json | 3 +-
.../tutorial.custom-cursor/manifest.json | 3 +-
4 files changed, 43 insertions(+), 4 deletions(-)
diff --git a/api-samples/web-accessible-resources/index.html b/api-samples/web-accessible-resources/index.html
index 1d2b15cd1f..c6f700a29e 100644
--- a/api-samples/web-accessible-resources/index.html
+++ b/api-samples/web-accessible-resources/index.html
@@ -55,6 +55,13 @@
Web Accessible Resources Demo
to build the image's URL at runtime.
+
+ The third example shows the second website again, but this time using the
+ `use_dynamic_urls` flag which only allows resources to be accessed through
+ a dynamic ID. The id is regenerated when the browser restarts or the
+ extension reloads.
+