Skip to content

Better Telegram Blur by zeriaxdev

Details

Authorzeriaxdev

LicenseNo License

Categoryweb.telegram.org/a

Created

Updated

Code size997 B

Code checksuma488c1b9

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Adds blur to chat names, images in chats and phone numbers of users.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           Better Telegram Blur
@author         zeriaxdev
@description    Adds blur to sensitive information like names and images in chat.
@version        1.0.0
@preprocessor   stylus
@namespace      telegramblur

==/UserStyle== */

blurrContent(applyGrays) {
    transition: .2s ease !important;
    if applyGrays {
        filter: blur(10px) grayscale(1) !important;
    } else {
        filter: blur(5px) !important;
    }
    &:hover {
        filter: blur(0px) grayscale(0) !important;
    }
}


@-moz-document domain("web.telegram.org")
    div[class*='chat-list'] div[class*='ListItem']
    div[class*='ChatExtra'] > div:nth-child(1)
        blurrContent(0)
  
    // Blur messages in chat
    div[class*='message'] img:not([class*='Emoji']):not([class*='emoji']):not([class*='avatar'])
        blurrContent(1)

    div[class*='ProfilePhoto']
        blurrContent(1)
        
    // Blur contact phone numbers
    div[class*='user_phone'] span
        blurrContent(1)

Reviews

No reviews yet.