User:Ahecht/Scripts/ReadingMode

From Wikipedia, the free encyclopedia

Install by adding the following to the bottom of your your common.js or your global.js page:

mw.loader.load( '//en.wikipedia.org/w/index.php?title=User:Ahecht/Scripts/ReadingMode.js&action=raw&ctype=text/javascript' ); //[[User:Ahecht/Scripts/ReadingMode.js]]
AuthorAhecht
StatusStable
UpdatedNovember 14, 2018
    (7 years ago)
SkinsVector
Quick facts Author, Status ...
Ahecht/Scripts/ReadingMode
AuthorAhecht
StatusStable
UpdatedNovember 14, 2018
    (7 years ago)
SkinsVector
SourceUser:Ahecht/Scripts/ReadingMode.js
Close

This will introduce an "eye" icon to the left of the page title. Clicking it will toggle the background color of the page content.

By default, the color used is  #F6F6F6 . To use a custom color instead, add

var readingBG = "#F1ECE8";

to the top of your common.js or global.js page, replacing  #F1ECE8  with the color of your choice.

See also

Related Articles

Wikiwand AI