FanFiction DocEdit Toggle Lights

Adds a button to the doc editor toolbar which toggles lights ON (black text on a white background) and OFF (white text on a black background). Mixing this with the fullscreen mode results in a more comfortable writing experience for your eyes.

Author
DragShot
Daily installs
0
Total installs
4
Ratings
0 0 0
Version
1.3
Created
2022-10-26
Updated
2022-10-26
License
GPL-3.0-only
Applies to

FanFiction.net Toggle Lights

FanFiction.net Toggle Lights

This small script adds a button to the doc editor toolbar which toggles lights ON (black text on a white background) and OFF (white text on a black background). Mixing this with the fullscreen mode results in a more comfortable writing experience for your eyes.

Simply install this script and it will do its job right after the page load its main contents. No special GM permissions are required so far.

Features

  • Automatic script execution and updating.
  • Fully integrated into the edit frame toolbar: the function can be toggled by pressing an only button.
  • The script saves your preferences in your browser, and applies them automatically.

Being developed

  • Solving issues during the script execution caused by slow connections. (Done)

Changelog

v1.3:

  • Removed dependency on jQuery.
  • Updated some broken identifiers.
  • Now the script will more carefully check for the availability of the needed components instead of simply waiting for a second.

v1.2:

  • Now it works in the edit profile section too!

v1.1:

  • Now the script uses localStorage to remember your choice and apply it in the next session.
  • Minor code cleanups performed.