moxoc's blog

By moxoc, history, 4 weeks ago, In English

why do i have to be up at 3am staring at a white screen, like we can get sponsored by telegram but not add a dark mode feature?

  • Vote: I like it
  • +11
  • Vote: I do not like it

»
4 weeks ago, hide # |
 
Vote: I like it -11 Vote: I do not like it

stfu

»
4 weeks ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

there are extensions and you can use any of them. I suggest https://codeforces.me/blog/entry/93606

»
4 weeks ago, hide # |
 
Vote: I like it +2 Vote: I do not like it

we need it built-in

»
4 weeks ago, hide # |
← Rev. 2  
Vote: I like it 0 Vote: I do not like it

just use an extension and move on bruh...

»
4 weeks ago, hide # |
 
Vote: I like it +1 Vote: I do not like it

Make this JavaScript code a bookmark. This code just does color inversion that all.

Code

Run it wherever you need dark mode. This works until you refresh the page or navigate to a different page. You have to click the bookmark (shortcut) again to turn on dark mode.