UserScript Notification Framework

This script is intended to work with @require only. Exposes an instance of the Notifications class of this script to window.UserScript.Notifications

此脚本不应直接安装,它是一个供其他脚本使用的外部库。如果您需要使用该库,请在脚本元属性加入:// @require https://update.greasyfork.org/scripts/438798/1019652/UserScript%20Notification%20Framework.js

作者
Xortrox
版本
0.3
创建于
2022-01-19
更新于
2022-01-19
许可证
MIT

Not intended for installation, only used with @require

Exposes an instance of the Notifications class of this script to window.UserScript.Notifications

Example usage: window.UserScript.Notifications.notify('This is a notification', 'You got notified!', 'https://some-icon.png');