Created
September 7, 2023 00:58
-
-
Save jafin/581d869898e0a6ae5f847f18301f6c67 to your computer and use it in GitHub Desktop.
Piss off the tab rail in the new slack browser (doesnt work in FF due to CSP)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Piss off the tab rail bar | |
// @namespace Violentmonkey Scripts | |
// @match https://app.slack.com/client/* | |
// @grant GM_addStyle | |
// @version 1.0 | |
// @author spacepants | |
// @description 07/09/2023, 10:24:39 | |
// ==/UserScript== | |
GM_addStyle( ` | |
.p-ia4_client { | |
display: grid; | |
grid-template-areas: | |
"p-ia4_top_nav p-ia4_top_nav" | |
"p-tab-rail p-client-workspace"; | |
grid-template-columns: 0px auto; | |
grid-template-rows: 4px auto; | |
max-height: 100vh; | |
position: relative; | |
width: 100vw; | |
} | |
.p-tab-rail { | |
display:none; | |
} | |
.p-tab_rail { | |
display:none; | |
} | |
.p-control_strip { | |
display:none; | |
} | |
`); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment