Skip to content

Commit a10d4f6

Browse files
committed
doc: notifications aren't HTML5
1 parent a56f3ca commit a10d4f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/api/gm.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ An object that exposes information about the current userscript. It has followin
8181
- <Field name="browserVersion" type="string" />
8282

8383
- <Field name="fullVersionList" type="{brand: string, version: string}[]" comment="since VM2.27.0" />
84-
84+
8585
A safe copy from `navigator.userAgentData.getHighEntropyValues()` (Chromium 90+).
8686

8787
- <Field name="mobile" type="boolean" comment="since VM2.27.0" />
@@ -515,7 +515,7 @@ GM_unregisterMenuCommand(captionOrId)
515515

516516
### GM_notification
517517

518-
Shows an HTML5 desktop notification.
518+
Shows a desktop notification using the [browser.notifications API](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/notifications).
519519

520520
1. using an object:
521521

0 commit comments

Comments
 (0)