Skip to content

Instantly share code, notes, and snippets.

@Tackyou
Created May 15, 2023 20:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Tackyou/98d1f134d8d543b768a1b316823c063d to your computer and use it in GitHub Desktop.
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
// ==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