ColorScope is a Javascript bookmarklet for simulation various forms of colour-blindness on a browser's current web page. Here's an introductory blog post.
Try it out - Direct link to bookmarklet
Before:
After:
- Very slow for pages containing a moderate number of images.
- Images located on external domains cannot be translated because rendering their contents taints the
canvas
element, makingtoDataURL()
unavailable.
- Progress meter
- Prevent double invocation
- Investigate using webworkers for image translation?
- Support more CSS attributes, possibly SVG too
- It would be cool to investigate possibilities for monkey-patching the canvas 2D context to do automatic translation whenever
fillStyle
orstrokeStyle
is updated. - I'd like to have a go at redoing this as a Chrome plugin. I think this would allow me to get around the various security restrictions.
npm install uglify-js
make
- serve this directory from a local webserver running on port 4000 and hit up
test.htm
.
© 2013 Jason Frame [ @jaz303 / jason@onehackoranother.com ]
Released under the MIT License.