Adjust the size, colors and layout of HTML ietf RFCs for easier reading, navigation (Fixed position ToC) and better accessibility.
Restyles ietf.org HTML RFC and Draft pages for reduced eye and neck strain, easier navigation and improved accessibility.
Any HTML version of an ietf.org RFC or Draft 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.
There's also an optional (disabled by default - checkbox in popup) feature to automatically redirect from plain text RFCs and Drafts to their HTML versions.
The styling is mostly color oriented, but includes changing the default monospace font to "Inconsolata, Consolas, 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 options using simple sliders, buttons, checkboxes and radios (round checkboxes).
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).
The entire GNU GPL v3.0 licensed extension code and other files can be found on GitHub at https://github.com/FredGandt/RFCRestyle
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.
25th July 2018 - Version 22.214.171.124
Added a few CSS rules to fix the width of an element at the top of all RFCs, that on some can be wider than the rest of the text, unwelcomely pushing the whole page body of center.
22nd July 2018 - Version 126.96.36.199
A few minor improvements to the code while working to create an unminified package to publish somewhere for open-source use.
18th August 2017 - Version 188.8.131.52
Bug fix; thanks to user feedback via the "support" tab on the webstore listing :-)
6th May 2017 - Version 184.108.40.206:
Fixed inability to disable auto redirect from TXT to HTML docs.
30th April 2017 - Version 220.127.116.11:
Updated icons, fixed an encoding issue to allow more efficient execution and thereby reduced the extension weight a bit more.
28th April 2017 - Version 18.104.22.168:
Corrected URL matching to included edge cases.
Discovered another type of document and will add functionality to handle it sometime later.
27th April 2017 - Version 22.214.171.124:
Added optional automatic redirection from plain text RFCs and Drafts to their HTML versions.
Further minified and optimised all the code and markup to improve performance and reduce "weight".
Now only works with secure connections (all ietf.org RFCs and Drafts are forced secure now).
23rd April 2017 - Version 126.96.36.199:
A little minification, added and corrected some logic.
23rd April 2017 - Version 188.8.131.52:
Added setting to toggle between the default multi-page layout, and a continuous layout with reduced whitespace and no visible page headers or footers.
21st April 2017 - Version 184.108.40.206:
Tiny accessibility fix.
20th April 2017 - Version 220.127.116.11:
Fixed several issues caused by resizing the font.
19th April 2017 - Version 18.104.22.168:
Added ability to change the overall font size for the RFCs, and have various UI elements alter their size to match. Size adjusted by slider.
16th April 2016 - Version 22.214.171.124:
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 126.96.36.199:
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 188.8.131.52:
Minor CSS improvements.
29th July 2014 - Version 184.108.40.206:
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 220.127.116.11:
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 18.104.22.168:
Very minor change to CSS (styling) of the TOC (table of contents) heading.
8th June 2013 - Version 22.214.171.124:
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*