Git Product home page Git Product logo

nice-alert.js's Introduction

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 into 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.

nice-alert.js's People

Contributors

nv avatar

Stargazers

9kopb avatar

Watchers

9kopb avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.