Created
May 15, 2023 20:05
-
-
Save Tackyou/98d1f134d8d543b768a1b316823c063d to your computer and use it in GitHub Desktop.
Makes TikTok look a little bit more like Youtube by removing a bunch of useless stuff
This file contains 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 De-Trashify TikTok on Desktop | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2 | |
// @description websites should be cleaner | |
// @author Tackyou | |
// @match https://www.tiktok.com/* | |
// @icon https://icons.duckduckgo.com/ip2/tiktok.com.ico | |
// @grant GM_addStyle | |
// @run-at document-start | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
GM_addStyle(` | |
div[class*="-DivPlayerContainer"]{ | |
position: relative; | |
width: 100%; | |
} | |
div[class*="-DivSideNavContainer"], div[class*="-DivModalContainer"]{ | |
display:none !important; | |
} | |
#main-content-video_detail{ | |
margin-right:0; | |
padding:0; | |
} | |
div[class*="-DivVideoList"]{ | |
flex:none; | |
width:173px | |
} | |
`); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment