hideLeftPanel

Esconde o painel esquerdo de conversas do WhatsApp. Apenas pressione Ctrl + Alt ou Alt + Ctrl

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

You will need to install an extension such as Tampermonkey to install this script.

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
// ==UserScript==
// @name         hideLeftPanel
// @namespace    http://tampermonkey.net/
// @version      0.5
// @description  Esconde o painel esquerdo de conversas do WhatsApp. Apenas pressione Ctrl + Alt ou Alt + Ctrl
// @author       NoiselessMilk#0069
// @match        https://web.whatsapp.com/
// @icon         https://www.google.com/s2/favicons?domain=whatsapp.com
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    var index = 0
    
    document.onkeydown = function(e) {
        if (e.altKey) {
            var sidepanel = document.getElementById('app').children[0].children[5].children[2]
        
            index += 1
        
            switch(index) {
                case 1:
                    sidepanel.style.display = 'none'
                    break;
                case 2:
                    sidepanel.style.display = 'block'
                    index = 0
                    break;
            }
        }
    }
})();