usoCheckup - DOMNotify Theme

By Marti Last update Feb 1, 2014 — Installed 65,977 times.

Script Summary: DOM Notifications instead of JavaScript confirm/alert boxes



Version: 0.2.4

Copyright: 2009+, Marti Martz (http://userscripts.org/users/37004)

License: GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html

Script homepage

Thumb

NOTE

Some links on this page will NOT WORK without uso - Anchor Bookmarks

Description

This script does nothing by itself but is used in conjunction with the top level script (yours) and the usoCheckup JavaScript API. It also assumes that you are familiar with the usoCheckup JavaScript API.

This script shows how to make DOM Notification dialogs and some iframe interactivity using GM instead of using the default JavaScript alert and confirm boxes.
Compatibility Matrix
This Script is compatible with usoCheckup and...
Mozilla Firefox
Mozilla Seamonkey
Apple Safari
Opera Software Opera
Microsoft Internet Explorer
Google ChromiumGoogle Chrome (Intel Only)
Linux
Greasemonkey
Greasemonkey Port
Macintosh
Greasemonkey
Greasemonkey Port
Windows
Greasemonkey
Greasemonkey Port
(TIP: Hover your mouse over an icon)
(NOTE: Most recent supported browser versions recommended and probably required)

Usage

// ==UserScript==
// ...
// @require  http://pathto/scriptid.js?id=usoCheckup&custom=yes
// @require  http://userscripts.org/scripts/source/61794.user.js
// ...
// usoCheckup grant permissions for Greasemonkey 1.x+
// @grant GM_addStyle
// @grant GM_getValue
// @grant GM_log
// @grant GM_openInTab
// @grant GM_registerMenuCommand
// @grant GM_setValue
// @grant GM_xmlhttpRequest
// ...
// ==/UserScript==

  /* Some code */
(TIP: Don't forget to change the pathto to an approved mirror and your scriptid)