Skip to content

Add the script-on-click example#636

Open
rebloor wants to merge 1 commit into
mdn:mainfrom
rebloor:add-script-on-click-example
Open

Add the script-on-click example#636
rebloor wants to merge 1 commit into
mdn:mainfrom
rebloor:add-script-on-click-example

Conversation

@rebloor

@rebloor rebloor commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

Description

Adds the script-on-click example to illustrate:

  • cross-browser support for background scripts and service workers
  • execute scripts without requiring install-time host permissions

Related issues and pull requests

Fixes #635

Related MDN changes in mdn/content#44348

@rebloor rebloor requested review from Rob--W and bacharakis June 2, 2026 22:47
@rebloor rebloor self-assigned this Jun 2, 2026
@rebloor rebloor requested a review from a team as a code owner June 2, 2026 22:47
@rebloor rebloor requested a review from LeoMcA June 2, 2026 22:47
@rebloor rebloor added the example New or updated example label Jun 2, 2026

@LeoMcA LeoMcA left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

examples.json change looks fine from an engineering perspective

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

example New or updated example

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add script-on-click example and related content

3 participants