User:Shahadat/ReadingMode
Jump to navigation
Jump to search
Author(s) | Shahadat |
---|---|
Status | Stable |
Updated | September 16, 2023 (10 months ago) |
Skin support | Vector |
Source | User:Shahadat/ReadingMode.js |
Install by adding the following to the bottom of your your common.js or your global.js page:
mw.loader.load( '//en.Justapedia.org/w/index.php?title=User:Shahadat/ReadingMode.js&action=raw&ctype=text/javascript' ); //[[User:Shahadat/ReadingMode.js]]
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
Script Attribution
![]() | This script was manually imported from Wikipedia in compliance with their CC-BY-SA license. This script is utilized either partially or in full, incorporating corrections, modifications, or imported from the original script. For details regarding the original script and its creator, please refer to the following link: https://en.wikipedia.org/wiki/User:Ahecht/Scripts/ReadingMode |