Probably the best thing you can do is A) Set a global style sheet to add a high contrast color and text-shadow [1] color to all links (!important). B) Parse what style sheets you can access (modulo cross-origin failures) to override with more specific calculated values.
[1] https://developer.mozilla.org/en/CSS/text-shadow Alternately, skip the sheet part of CSS and just calculate values for each individual link on the page. This will be ... probably difficult to implement and slow to run. Or maybe this problem is already solved. https://addons.mozilla.org/en-US/firefox/addon/colorblindext/ On Wed, Apr 18, 2012 at 10:46 AM, Nathan Spears <[email protected]>wrote: > Those are interesting ideas. > > There is a great extension called Stylish that applies additional CSS to > websites. Unfortunately, it is not possible to select, for instance, all > blue links accurately with css. So right now I am turning all links (which > are 99% of the unreadable internet to me - not being able to see the links > well or not noticing that they are links) red, but this makes a few > websites less readable as links that were on some colored background > (usually white links) become harder to read. > > Hence the greasemonkey script. > > Your third idea is very interesting - I wonder if I could apply it on the > web with style sheets vs using a video driver for it. > > > On Wed, Apr 18, 2012 at 8:34 AM, Tei <[email protected]> wrote: > >> Random ideas: >> - Perhaps is possible to create a new stylesheet that undo the >> effects of other stylesheets. So using the Cascade part of CSS you >> patch the wrong colours. >> >> - After having changed the CSS. Check again the computerStyle, and >> patch this again. Just in case the bad colours still leak trought the >> CSS. >> >> - Possible Math attack?, I don't know if is possible on the web, >> clone the page colour pixels, apply a filter that turn the evil colour >> in holes, put a red layer behind, so the red is seen trougth the >> holes. Perhaps a key combo that wen activated add a fullscren div with >> a transparent png with alpha 75% with blue colour, so the whole screen >> is tinted red. I can't see how this clourblind thing can't be solved >> easily in the video card driver, video cards already have colour map >> to correct colours for monitors with different ranges. Has to be >> possible to patch a colour. Some video drivers are open source. >> > -- You received this message because you are subscribed to the Google Groups "greasemonkey-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/greasemonkey-users?hl=en.
