Created attachment 157776 [details] See a working userscript at https://openuserjs.org/scripts/sjehuda/Dimmer The attached script doesn't work as expected. I'm not sure which function to blame, GM_getValue or GM_setValue.
Created attachment 157778 [details] This script has been successfully tested with Tampermonkey