- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Fri, 31 Oct 2014 09:12:10 -0700
- To: "White, Jason J" <jjwhite@ets.org>
- Cc: James Craig <jcraig@apple.com>, Indie UI <public-indie-ui@w3.org>, John Foliot <john@foliot.ca>
On Fri, Oct 31, 2014 at 8:35 AM, White, Jason J <jjwhite@ets.org> wrote: >>-----Original Message----- >>From: Tab Atkins Jr. [mailto:jackalmage@gmail.com] >> >>CSS.customMedia.set("--gpii-prefers-transcript", true); >> >>Using the script-based API, you can also produce custom MQs with keyword >>or number values. >> > > Excellent. Is there a standard mechanism available by which an application running under the host operating system could set this up to be run globally - for every HTML document loaded by the user agent, or selectively, for sites approved by the user? Unfortunately, I suspect it would have to be written separately for each user agent. For this purpose, user stylesheets will do fine, except that they aren't supported by Chrome. Browser extensions can also handle this, such as Stylish for Firefox or Chrome. > Note that user style sheets are only a partial solution: they cannot be used to supply keys that take numeric or keyword values, as noted already in this discussion. If extensions are acceptable, they can run JS in the page's context, and utilize the scripting API to provide more complex values. ~TJ
Received on Friday, 31 October 2014 16:13:00 UTC