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.

Автор
DragShot
Щоденних встановлень
0
Всього встановлень
5
Рейтинги
0 0 0
Версія
1.3
Створено
26.10.2022
Оновлено
26.10.2022
Ліцензія
GPL-3.0-only
Відноситься до

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.