Skip to content

Commit 5bde62a

Browse files
committed
fix: typo in "overridden"
1 parent 71ba481 commit 5bde62a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/api/gm.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ An object that exposes information about the current userscript. It has followin
6868

6969
- <Field name="platform" type="object" comment="since VM2.12.4" />
7070

71-
Unlike `navigator.userAgent`, which can be overriden by other extensions/userscripts or by devtools in device-emulation mode, `GM_info.platform` is more reliable as the data is obtained in the background page of Violentmonkey using a specialized extension API (browser.runtime.getPlatformInfo and getBrowserInfo).
71+
Unlike `navigator.userAgent`, which can be overridden by other extensions/userscripts or by devtools in device-emulation mode, `GM_info.platform` is more reliable as the data is obtained in the background page of Violentmonkey using a specialized extension API (browser.runtime.getPlatformInfo and getBrowserInfo).
7272

7373
- <Field name="arch" type="string" />
7474

@@ -86,11 +86,11 @@ An object that exposes information about the current userscript. It has followin
8686

8787
- <Field name="userAgent" type="string" comment="since VM2.20.2" />
8888

89-
A safe copy of `navigator.userAgent` from the content script of the extension, so it cannot be overriden by other extensions/userscripts, but unlike `GM_info.platform` it can be customized in devtools "device emulation" or "network conditions" for this tab.
89+
A safe copy of `navigator.userAgent` from the content script of the extension, so it cannot be overridden by other extensions/userscripts, but unlike `GM_info.platform` it can be customized in devtools "device emulation" or "network conditions" for this tab.
9090

9191
- <Field name="userAgentData" type="object" comment="since VM2.20.2" />
9292

93-
A safe copy of `navigator.userAgentData` from the content script of the extension, so it cannot be overriden by other extensions/userscripts, but unlike `GM_info.platform` it can be customized in devtools "device emulation" or "network conditions" for this tab.
93+
A safe copy of `navigator.userAgentData` from the content script of the extension, so it cannot be overridden by other extensions/userscripts, but unlike `GM_info.platform` it can be customized in devtools "device emulation" or "network conditions" for this tab.
9494

9595
Only present if the browser actually implements it ([currently](https://caniuse.com/mdn-api_navigator_useragentdata) Chromium-based 90+), because there's no reliable/official polyfill.
9696

0 commit comments

Comments
 (0)