vivipeder
Results
3
comments of
vivipeder
it's the same with me ...
Apparently it's working again on IOS 15.0.1 update!
Try this code: var btnNoSleep = document.createElement('button'); btnNoSleep.onclick = function() { if (noSleep.isEnabled()) { noSleep.disable(); } noSleep.enable(); }; document.addEventListener('visibilitychange', function() { if (document.visibilityState == "visible") { btnNoSleep.click(); } }); Apparently...