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.
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.1.2 | |
// @description try to take over the world! | |
// @author Misir Jafarov | |
// @match https://web.telegram.org/* | |
// @grant GM_addStyle | |
// @updateURL https://gist.github.com/TheMisir/9535a70afd6ed2b24bf1a2d49a98c356/raw/bef2dedfcd8f1b7d160d63c46e4a3a2209bf3111/telegram.user.js | |
// @downloadURL https://gist.github.com/TheMisir/9535a70afd6ed2b24bf1a2d49a98c356/raw/bef2dedfcd8f1b7d160d63c46e4a3a2209bf3111/telegram.user.js | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
const selectors = ['.im_page_wrap.clearfix', '.tg_head_split', '.im_message_wrap', '.im_send_panel_wrap', '.im_send_form']; | |
const noMaxWidth = '{max-width: none !important}'; | |
GM_addStyle(selectors.join(',') + noMaxWidth); | |
})(); |