Skip to content

Instantly share code, notes, and snippets.

@gabrielrbarbosa
Created May 19, 2020 12:51
Show Gist options
  • Select an option

  • Save gabrielrbarbosa/eb44a72f189232bb2ff74e3d97ad91cd to your computer and use it in GitHub Desktop.

Select an option

Save gabrielrbarbosa/eb44a72f189232bb2ff74e3d97ad91cd to your computer and use it in GitHub Desktop.
WhatsApp Web Dark Mode - Tampermonkey
// ==UserScript==
// @name WhatsApp Web Dark Mode
// @namespace https://github.com/gabplay/
// @version 1.0
// @description Switch theme to dark mode in web.whatsapp.com
// @author Gabplay
// @match http://web.whatsapp.com/*
// @match https://web.whatsapp.com/*
// ==/UserScript==
(function() { document.getElementsByTagName("body")[0].classList.add('dark'); })();
@Korb
Copy link

Korb commented May 22, 2020

Firefox 77.0b9 (64-bit), Tampermonkey 4.10.6112. The script is not recognized as Tampermonkey compatibled userscript.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment