Skip to content

Commit

Permalink
docs: Mention adding unlisted scripts and pages to `web_accessible_re…
Browse files Browse the repository at this point in the history
…sources`

This closes #536
  • Loading branch information
aklinker1 committed Mar 12, 2024
1 parent 16c2e32 commit 121b521
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/entrypoints/unlisted-pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

HTML pages that are bundled and shipped with the extension, but are not included in the manifest.

If you plan on using the page in an iframe, don't forget to add the page to [`web_accessible_resources`](https://developer.chrome.com/docs/extensions/reference/manifest/web-accessible-resources).

### Examples

- Onboarding
Expand Down
2 changes: 1 addition & 1 deletion docs/entrypoints/unlisted-scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

TypeScript files that are bundled and shipped with the extension, but are not included in the manifest.

You are responsible for loading/running these scripts where needed.
You are responsible for loading/running these scripts where needed. If necessary, don't forget to add the script and/or any related stylesheets to [`web_accessible_resources`](https://developer.chrome.com/docs/extensions/reference/manifest/web-accessible-resources).

## Filenames

Expand Down

0 comments on commit 121b521

Please sign in to comment.