Skip to content

Commit a56f3ca

Browse files
committed
doc: GM_info.platform.fullVersionList and mobile
1 parent e417cf7 commit a56f3ca

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

content/api/gm.md

+8
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,14 @@ An object that exposes information about the current userscript. It has followin
8080

8181
- <Field name="browserVersion" type="string" />
8282

83+
- <Field name="fullVersionList" type="{brand: string, version: string}[]" comment="since VM2.27.0" />
84+
85+
A safe copy from `navigator.userAgentData.getHighEntropyValues()` (Chromium 90+).
86+
87+
- <Field name="mobile" type="boolean" comment="since VM2.27.0" />
88+
89+
A safe copy from `navigator.userAgentData` (Chromium 90+).
90+
8391
- <Field name="os" type="string" />
8492

8593
One of "android", "cros", "linux", "mac", "openbsd", "win".

0 commit comments

Comments
 (0)