All sites use Styler to customize CSS and JS unless otherwise specified.
Last active
November 4, 2016 18:50
-
-
Save EndangeredMassa/e13209f3f110ac470265 to your computer and use it in GitHub Desktop.
Custom CSS/JS for Sites
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
.article-sidebar, | |
.sideshare-wrapper, | |
.sharetools, | |
.h-fixed, | |
.pager, | |
#share-article-below | |
{display: none !important;} |
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
/* slimmer nav */ | |
.nav, | |
.header-search, | |
.header-search-toggle, | |
.header-logo-tt-desktop | |
{ display: none !important; } | |
.header { height: 80px !important; } | |
/* remove ads */ | |
.main-article-share-counts, | |
.share-bar-desktop, | |
.sign-up-wrapper | |
{ display: none !important; } | |
/* remove extra widgets */ | |
.comments-center, | |
.dig-deeper, | |
#network-coverage, | |
.resources-bar, | |
.locking-left-bar | |
{ display: none !important; } | |
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
/* hide login requiring modal */ | |
#login, .modal-dialog.modal-lg, .modal-backdrop { display: none !important; } |
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
/* hide right column with trending, people you may know, and suggested posts */ | |
#rightCol { display: none !important; } | |
/* hide unused nav sections */ | |
#appsNav,#groupsNav,#interestsNav { display: none !important; } |
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
/* render tabs as 2 spaces wide */ | |
.js-file-line { tab-size: 2; } |
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
.see-also, | |
.sidebar-inset, | |
#share-nav, | |
#newsletter-signup, | |
#more-in-channel | |
{ display: none; } | |
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
.videocontent-wrapper, | |
.sticky_social, | |
.page-sidebar, | |
.article-body iframe, | |
.trial-link, | |
#discussion | |
{ display: none !important; } |
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
#ribbon, | |
.trending-module, | |
#whats-next | |
{ display: none; } |
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
/* remove overlay */ | |
.mfp-wrap, .mfp-bg { display: none !important; } | |
/* remove banner */ | |
#banner { display: none; } | |
.primary-container { margin-top: 26px; } | |
/* hide unwanted sections */ | |
.widget_omg_related_posts { display: none !important; } | |
.sharedaddy { display: none; } | |
.tag-links { display: none; } | |
.sidebar { display: none; } | |
.colophon { display: none; } | |
.global-navigation { display: none; } |
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
.Nags {display: none;} | |
.ModalManager {display: none} |
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
// Reddit Enhancement Suite! | |
// http://redditenhancementsuite.com/download-chrome.html |
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
/* auto expand description */ | |
.truncatedAudioInfo__wrapper { max-height: 9999px !important; } | |
.truncatedAudioInfo__collapse { display: none !important; } | |
/* hide right side bar */ | |
.l-sidebar-right { display: none !important; } |
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
/* hide obnoxious follow/tumblr fixed buttons */ | |
.tmblr-iframe--controls { display: none !important; } | |
/* hide obnoxious follow fixed footer button */ | |
.tmblr-iframe--follow-teaser { display: none !important; } | |
/* hide like notes */ | |
.notes { display: none !important; } | |
/* hide search box */ | |
.search { display: none !important; } |
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
/* kill hero element */ | |
.creative-hero { display: none; } | |
/* fill image box when fails to load*/ | |
.thumb .cap img {width: 240px !important; height: 136px !important; } | |
/* hide notifications */ | |
#noty_bottomCenter_layout_container { display: none !important; } | |
/* hide recommended channels */ | |
.js-recommended-channels { display: none !important; } |
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
.wtf-module {display: none !important;} | |
.Footer {display: none !important;} | |
.Trends {display: none !important;} | |
.js-moments-tab {display: none !important;} |
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
/* Hide the "added to watch later" overlay on link */ | |
.appbar-guide-notification { display: none !important; } |
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
$(function(){ | |
function later(f){ | |
setTimeout(f, 5000); | |
} | |
// expand descriptions on video list page | |
$('.yt-ui-ellipsis,.yt-ui-ellipsis-2') | |
.removeClass('yt-ui-ellipsis') | |
.removeClass('yt-ui-ellipsis-2'); | |
// expand description on video page | |
$('.yt-uix-expander-collapsed') | |
.removeClass('yt-uix-expander-collapsed') | |
// turn annotations off | |
var settings = document.querySelectorAll(".ytp-settings-button").item(0); | |
settings.click(); | |
settings.click(); | |
later(function(){ | |
var checkbox = document.querySelectorAll("div[role='menuitemcheckbox']")[1]; | |
if(checkbox.getAttribute("aria-checked") === "true") { | |
checkbox.click(); | |
} | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment