Skip to content

Instantly share code, notes, and snippets.

@manuelmazzuola
Last active March 25, 2025 09:35
Show Gist options
  • Save manuelmazzuola/98b0b45a8ec228ca2a9c0f2e22f73554 to your computer and use it in GitHub Desktop.
Save manuelmazzuola/98b0b45a8ec228ca2a9c0f2e22f73554 to your computer and use it in GitHub Desktop.
Telegram Web Full Width

Telegram Web Tweak Script

This script makes sure telegram web to use full screen width by replacing styles. The script works with scripting utilities like TamperMonkey.

Click this link to install user script.

// ==UserScript==
// @name Telegram Web Full Width
// @namespace http://tampermonkey.net/
// @version 0.0.1
// @description telegram web full width
// @author Manuel Mazzuola
// @match https://web.telegram.org/*
// @grant GM_addStyle
(function() {
'use strict';
const selectors = ['.whole'];
const maxWidth = '{max-width: 100% !important}';
GM_addStyle(selectors.join(',') + maxWidth);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment