Restyles ietf.org RFC (HTML) pages for reduced eye strain and easier navigation. Adjustable colors, and fixed position TOC.
Restyles ietf.org HTML RFC and Draft RFC pages for reduced eye strain and easier navigation.
Any HTML version of an ietf.org RFC (URLs matching http OR https ://tools.ietf.org/html/*****) will initiate a page action that by default will restyle the page and make some adjustments to the HTML.
The primary results of which are:
1) An improved look and feel to the page, making it easier to read.
2) A fixed position Table of Contents is created in the top-right corner.
3) The color coded legend hidden in the page becomes more easily accessible.
The styling is mostly color oriented, but includes changing the default monospace font to "Consolas, Inconsolata, monospace" (in that order of preference) with support for Inconsolata provided by Google Web Fonts. Plus, the page is centralized and smoothed, making it far easier on the eye (and neck).
The page is read by script and from it a Table of Contents is created and placed in the top-right corner of the window. It can be toggled open/closed by mouse clicks or by pressing the "T" key. The ToC remains in position as you scroll, so that all page links are accessible at all times (including a link to the top of the page).
A color coded legend that is present in all HTML RFC pages is made more accessible by the addition of some new HTML, styling, and scripting.
Left clicking the "RFCRestyle" icon will usher forth the options pop-up.
This pop-up includes all the controls for setting and saving the available colors and styling options.
There is also an option for disabling automatic restyling on page load.
All aspects of the extension have been built with accessibility in mind, and no features should be hard to use for anyone.
Keyboard and mouse access has been well tested, but touch screen access hasn't (although it should be fine).
Privacy: This extension does not handle any personal data or collect any data beyond remembering the user's choice of styles to apply to RFC pages. It does not communicate its activity or the user's with any other application than the browser it's an extension of.
16th April 2016 - Version 126.96.36.199:
Changed "offline_enabled" (in the manifest) to "false" as this is a contentious issue, and removed documentation disclaimer about the contention.
28th June 2015 - Version 188.8.131.52:
A few changes to the CSS to compensate for changes made to the markup.
Please let me know if you see anything unpleasant.
9th March 2015 - Version 184.108.40.206:
Minor CSS improvements.
29th July 2014 - Version 220.127.116.11:
A change in the way Chrome handles "change" events triggered by "range" type inputs (the sliders) broke the desired behaviour, so I've added an "input" listener.
I'm considering a more major update to include a user request and generally improve the code, but it seems to be working okay at the minute.
18th April 2014 - Version 18.104.22.168:
Fixed insecure request for Inconsolata support from Google Web Fonts.
Previously requested via "http://"
Now requested via "https://" as it should always have been :-/
26th February 2014 - Version 22.214.171.124:
Very minor change to CSS (styling) of the TOC (table of contents) heading.
8th June 2013 - Version 126.96.36.199:
By request, changed URL matching to include drafts.
Previously only acted on *://tools.ietf.org/html/rfc*
Now acts on (example) ...html/draft* AND ...html/rfc*