Skip to content

Commit 809e7d9

Browse files
committed
doc: zombieUrl
1 parent 7f3d0bf commit 809e7d9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

content/api/gm.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,10 @@ Shows an HTML5 desktop notification.
444444

445445
Number of milliseconds to keep the notification after the userscript "dies", i.e. when its tab or frame is reloaded/closed/navigated. If not specified or invalid, the default behavior is to immediately remove the notifications.
446446

447+
- <Field name="zombieUrl?" type="string" comment="since VM2.16.1"/>
448+
449+
URL to open when a zombie notification is clicked, see `zombieTimeout` for more info.
450+
447451
- <Field name="onclick?" type="() => void" />
448452

449453
Callback when the notification is clicked by user. As of VM2.15.2 it also forces the notification to be visible until clicked in Chrome which by default hides the notification after a few seconds.

0 commit comments

Comments
 (0)