fahadabe / WhatsApp Web Theme DeepPurple

// ==UserScript==
// @name          WhatsApp Web Theme DeepPurple
// @namespace     new css
// @description   just a theme
// @version       1.0
// @author        fahadabe
// @copyright 2018, fahadabe (https://openuserjs.org/users/fahadabe)
// @homepage      https://www.facebook.com/fahdabe
// @include       https://web.whatsapp.com/*
// @license MIT
// ==/UserScript==

(function() {
    var css = "body,html[dir] ._2fq0t,html[dir] ._2klhM{background-image: linear-gradient(45deg, rgb(141, 125, 162), rgb(89, 73, 110), rgb(32, 15, 53));} ._2wP_Y:hover {background-image: linear-gradient(-45deg,rgba(0,0,0,0),rgb(89, 73, 110),rgb(32, 15, 53));} html[dir] ._3auIg, html[dir] ._3AwwN, html[dir] ._1GX8_, html[dir] ._3dqpi, [data-asset-chat-background], html[dir] ._2EXPL, html[dir=ltr] .dIyEr, html[dir] .dIyEr, html[dir=ltr] ._3j7s9, html[dir] ._3j7s9, html[dir] ._3CPl4, html[dir] ._1NrpZ, html[dir] ._3oju3, html[dir] ._2jVLL, html[dir] ._1FroB, html[dir] ._39pS-, html[dir] ._2zkF3, html[dir] ._1AKfk, html[dir] ._1CRb5, html[dir] ._1CkkN, html[dir] ._1CSx9, html[dir] .YAPQk, html[dir] ._1lIXT, html[dir] ._66JgU, html[dir] ._2U_Zc:before {background:rgba(0,0,0,0)!important;background-color:rgba(0,0,0,0)!important;} html[dir] ._3AwwN:after{background-color: rgba(0, 0, 0, 0);border-bottom: 0px solid rgba(0, 0, 0, 0);} html[dir] ._1FKgS::after{background:none;} html[dir] ._2nmDZ{background:rgba(0,0,0,0);} html[dir] ._2MSJr, html[dir] .jN-F5{background:none;border-radius:0px;border:none;} html[dir] .gQzdc{background:white;} html[dir] ._2EXPL._1f1zm:after{border-top-color:rgba(0,0,0,0);} html[dir] ._3j7s9{border:none;} ._21zbN{display:none;}  ._1wjpf, ._3T2VG, ._2_LEW, ._1mpL5, .O90ur, ._2IkcY, .iYPsH, ._1xGbt, ._3F6QL ._39LWd, .Cpiae{color:white;} .iYPsH{text-align:center;} html[dir] ._2EXPL:hover:after, html[dir] ._2EXPL._3df_h:after, html[dir] ._2EXPL._1f1zm:after{border-top: 0px solid rgba(0,0,0,0);} html[dir] ._2EXPL._1f1zm{background:red;} @media screen and (max-width: 1024px)html[dir=ltr] ._3AwwN{border:none);} ";
    if (typeof GM_addStyle != "undefined") {
        GM_addStyle(css);
    } else if (typeof PRO_addStyle != "undefined") {
        PRO_addStyle(css);
    } else if (typeof addStyle != "undefined") {
        addStyle(css);
    } else {
        var node = document.createElement("style");
        node.type = "text/css";
        node.appendChild(document.createTextNode(css));
        var heads = document.getElementsByTagName("head");
        if (heads.length > 0) {
            heads[0].appendChild(node);
        } else {
            document.documentElement.appendChild(node);
        }
    }
})();