github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

NV / nice-alert.js

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 9
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (5)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (2)
    • gh-pages
    • master ✓
  • Tags (2)
    • 1.1
    • 1.0
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Makes alert box suck less — Read more

  cancel

http://userscripts.ru/js/nice-alert/

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Little shadow better 
NV (author)
Wed Jan 20 10:00:26 -0800 2010
commit  0b7c48285842dcb58343676a61bfc2e9730c50cb
tree    e02f40ac3d8f43f83756d86bc394f32bb320f37e
parent  033f4f09996129b9c11f3da8adab865dab9b9e3f
nice-alert.js /
name age
history
message
file README.markdown Thu Dec 24 00:05:32 -0800 2009 + link to Google Chrome extension [NV]
file nice.png Wed Jan 20 10:00:26 -0800 2010 Little shadow better [NV]
file nice_alert.user.js Mon Dec 21 15:10:02 -0800 2009 Metadata changed [NV]
directory tests/ Sat Oct 31 05:29:55 -0700 2009 Test fixed. alert() inside window.onload should... [NV]
file ugly.png Wed Jan 20 10:00:26 -0800 2010 Little shadow better [NV]
README.markdown

Nice-alert.js

Before:
Ugly

After:
Nice

Demo

How to install

Firefox Greasemonkey and Safari GreaseKit: just click on nice-alert.user.js

Opera: download nice-alert.user.js and rename it to nice-alert.js (without “user”). Put it to your UserJS directory (can be found at opera:about).

Google Chrome extension.

Quote from Jef Raskin

The information-theoretic efficiency E of an interface is defined as the minimum amount of information necessary to do a task, divided by the amount of information that has to be supplied by the user. As is true of physical efficiency, E is at least 0 and is at most 1. Where no work is required for a task and no work is done, the efficiency is defined as 1.

E can be 0 when the user is required to provide information that is totally unnecessary. Surprisingly, a number of interface details achieve the dubious honor of having E=0. A dialog box that allows the user only one possible action, such as clicking the box’s OK button, is such an example. (JavaScript has a command, Alert, solely for creating such unnecessary boxes: The designers were wise enough to remove goto from the JavaScript language to force structured code, but they failed to provide similar guidance on the interface side.)

— from “The Human Interface” by Jef Raskin, pages 84—85.

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server