Skip to content

Fullscreen WhatsApp by PennyJim

Details

AuthorPennyJim

LicenseGNU GPLv3

Categoryweb.whatsapp.com

Created

Updated

Size627 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Make WhatsApp webapp fullscreen

Notes

It 'should' be resilient to the obfuscated classes changing names as selectors are relative, but I just made it so ¯\_(ツ)_/¯

Source code

/* ==UserStyle==
@name           Fullscreen WhatsApp
@namespace      github.com/openstyles/stylus
@version        1
@description    Make WhatsApp fullscreen
@author         PennyJim
==/UserStyle== */
@-moz-document url("https://web.whatsapp.com/") {
    #app > div > div:last-child {
        position: fixed;
        top: 0;
        height: 100%;
        width: 100%;
        max-width: 100%;
    }

    #app > div > div:last-child > div:nth-child(3) {
        max-width: 25em;
    }
    
    #app > div > div:last-child > div:nth-child(2) {
        max-width: 84em; /* why is the fontsize for this element different?*/
    }
}

Reviews

No reviews yet.