News for hackers. Stuff that matters.
Re:Show HN: Make my screen black by tyingq on Monday December 20, 2021 @08:28AM (#29624674)
It seems to resort to a video for iOS, which is interesting.

  function allscreen(){
   if (iOS) {
     if (!vid) {
       let e = document.createElement('video');
       e.src = color.substring(1) + '.mp4?v=2';
For every other browser, it's just a div with a background color.

I imagine that might negate the claimed energy savings.

Re:Show HN: Make my screen black by BongoMcCat on Monday December 20, 2021 @09:27AM (#29625252)
from page:

Frequently asked questions Does it work on iOS devices? Yes. We're using a workaround, since iOS does not support native browser fullscreen.