Skip to content

Commit 1d5fcd0

Browse files
authored
doc: @inject-into default is auto (#54)
1 parent 889eaaf commit 1d5fcd0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/api/metadata-block.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,12 +207,12 @@ In addition to [GM API](../gm/) the following privileges may be granted:
207207
208208
Decide which context the script will be injected into.
209209
210-
If not set in the metadata block, the default value `page` will be used.
210+
If not set in the metadata block, the default value `auto` will be used.
211211
However, you can change the default value in Violentmonkey settings.
212212
213213
Possible values:
214214
215-
- `page` <Label name="default" />
215+
- `page`
216216
217217
Inject into context of the web page.
218218
@@ -228,7 +228,7 @@ Possible values:
228228
As a result, the script can access and modify the page's DOM,
229229
but cannot access JavaScript objects of the web page.
230230

231-
- `auto`
231+
- `auto` <Label name="default" />
232232

233233
Try to inject into context of the web page. If blocked by CSP rules, inject as a content script.
234234

0 commit comments

Comments
 (0)