Skip to content

Instantly share code, notes, and snippets.

@dacer

dacer/sgtts.user.js

Created Feb 1, 2021
Embed
What would you like to do?
sgtts.user.js
// ==UserScript==
// @name Sgtts
// @namespace https://prog-8.com/
// @version 0.1
// @description Say goodbye to Twitter's sidebar (aka Sgtts)
// @author Dacer
// @grant none
// @match https://twitter.com/*
// ==/UserScript==
const s = document.createElement('style');
s.textContent = `
.css-1dbjc4n .r-aqfbo4 .r-zso239 .r-1hycxz {
display: none !important;
}
.r-1ye8kvj {
max-width: none !important;
}
`;
document.head.appendChild(s);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment