ColorScope.js
Javascript bookmarklet for live, on-page simulation of various forms of color-blindness
Install / Use
/learn @jaz303/ColorScope.jsREADME
ColorScope.js
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
Example
Before:

After:

Known Issues
- Very slow for pages containing a moderate number of images.
- Images located on external domains cannot be translated because rendering their contents taints the
canvaselement, makingtoDataURL()unavailable.
TODO
- 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
fillStyleorstrokeStyleis 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.
Hacking
npm install uglify-jsmake- serve this directory from a local webserver running on port 4000 and hit up
test.htm.
License
© 2013 Jason Frame [ @jaz303 / jason@onehackoranother.com ]
Released under the MIT License.
Related Skills
node-connect
345.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
104.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
