Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Joe Medley <[email protected]>
  • Loading branch information
oliverdunk and jpmedley authored Oct 31, 2023
1 parent c94a69f commit 729cd82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api-samples/userScripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ This sample allows you to inject the following:

## Implementation Notes

The User Scripts API requires users to have developer mode enabled. We check for this by attempting to access `chrome.userScripts`, which throws an error on property access if it is disabled.
The User Scripts API requires users to enabled developer mode. We check for this by attempting to access `chrome.userScripts`, which throws an error on property access if it is disabled.

When a change is made on the options page, we use the `chrome.userScripts` API to update the user script registration.
When a change is made on the options page, use the `chrome.userScripts` API to update the user script registration.

0 comments on commit 729cd82

Please sign in to comment.