Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Background styling for Firefox pages */
- @-moz-document url(about:home), url(about:newtab), url(about:privatebrowsing) {
- .click-target-container *, .top-sites-list * {
- color: #fff !important;
- text-shadow: 2px 2px 2px #222 !important;
- }
- body::before {
- content: "";
- z-index: -1;
- position: fixed;
- top: 0;
- left: 0;
- background: #f9a no-repeat url(img/library.jpg) center;
- background-size: cover;
- width: 100vw;
- height: 100vh;
- }
- }
- /* Remove the settings icon */
- .icon.icon-settings {
- display: none !important;
- }
- /* YouTube specific tweaks */
- @-moz-document domain("youtube.com") {
- /* Hide suggestions and search bar suggestions */
- #suggestions, .sbsb_a {
- display: none !important;
- }
- /* Hide the hamburger menu and various YouTube logos */
- #guide-button, #logo-icon-container, ytd-topbar-logo-renderer,
- a[href="/"] {
- display: none !important;
- }
- /* Hide "Skip Navigation" */
- #skip-navigation {
- display: none !important;
- }
- /* Hide "You" button in side menus */
- ytd-guide-entry-renderer[title="You"],
- ytd-mini-guide-entry-renderer[aria-label="You"] {
- display: none !important;
- }
- /* Remove tooltips on buttons */
- [tooltip] {
- display: none !important;
- }
- #search-icon-legacy::before,
- [tooltip]::after, [title]::after {
- content: none !important;
- }
- /* Hide paper tooltip */
- .yt-spec-icon-shape__tooltip,
- ytd-searchbox .yt-paper-tooltip {
- display: none !important;
- }
- }
- @-moz-document domain("youtube.com") {
- div#scroll-container.style-scope.yt-chip-cloud-renderer {
- display: none;
- }
- @-moz-document domain("youtube.com") {
- /* Hide the tooltip on the filter button */
- tp-yt-paper-tooltip {
- display: none !important;
- }
- @-moz-document domain("youtube.com") {
- yt-icon#search-icon {
- display: none !important;
- }
- @-moz-document domain("youtube.com") {
- #search-icon-legacy {
- display: none !important;
- }
- @-moz-document domain("youtube.com") {
- #container.ytd-searchbox {
- border-radius: 40px 40px 40px 40px !important;
- }
- @-moz-document domain("youtube.com") {
- /* Make the 'Search' placeholder text transparent */
- input#search[placeholder="Search"]::placeholder {
- color: transparent !important;
- }
- }
- @-moz-document domain("youtube.com") {
- /*remove x */
- #search-clear-button.ytd-searchbox ytd-button-renderer.ytd-searchbox {
- display: none !important;
- }
- @-moz-document domain(youtube.com) {
- /* Prevent YouTube search bar from expanding */
- ytd-searchbox[has-focus] #container.ytd-searchbox,
- ytd-searchbox #container.ytd-searchbox,
- ytd-searchbox[has-focus],
- ytd-searchbox {
- width: 100% !important;
- max-width: none !important;
- min-width: 0 !important;
- padding-left: 20px !important;
- margin-left: 0 !important;
- transition: none !important;
- }
- ytd-searchbox[has-focus] #search-input.ytd-searchbox,
- ytd-searchbox #search-input.ytd-searchbox {
- padding-left: 10px !important;
- padding-right: 10px !important;
- }
- /* Ensure the search icon doesn't cause expansion */
- ytd-searchbox[has-focus] #search-icon-legacy.ytd-searchbox,
- ytd-searchbox #search-icon-legacy.ytd-searchbox {
- padding: 0 !important;
- margin: 0 !important;
- width: auto !important;
- }
- }
- @-moz-document domain("youtube.com") {
- /* playlist color */
- div.header.style-scope.ytd-playlist-panel-renderer {
- background-color: rgba(24, 69, 59, 0.2) !important;
- }
- }
- @-moz-document domain("youtube.com") {
- /* chapters color */
- div#header.style-scope.ytd-engagement-panel-title-header-renderer {
- background-color: rgba(24, 69, 59, 0.2) !important;
- }
- }
- @-moz-document domain("youtube.com") {
- /* Styling the search box border */
- #container.ytd-searchbox {
- border: 1px solid rgba(30, 70, 40, 0.9) !important;
- box-shadow: none !important;
- }
- }
- @-moz-document domain("youtube.com") {
- /* remove snippet */
- div.metadata-snippet-container.style-scope.ytd-video-renderer, div.metadata-snippet-container-one-line.style-scope.ytd-video-renderer {
- display: none !important;
- }
- }
- @-moz-document domain("youtube.com") {
- /* remove snippet */
- ytd-badge-supported-renderer#badges.style-scope.ytd-video-renderer {
- display: none !important;
- }
- }
- @-moz-document domain("youtube.com") {
- /* remove snippet */
- div#header.style-scope.ytd-expandable-metadata-renderer {
- display: none !important;
- }
- }
- @-moz-document domain("youtube.com") {
- /* remove watch later icon */
- div.ytp-watch-later-icon {
- display: none !important;
- }
- }
- @-moz-document domain("youtube.com") {
- /* remove pplaylsit chuchu */
- li.style-scope.ytd-playlist-renderer {
- display: none !important;
- }
- }
- @-moz-document domain("youtube.com") {
- /* chanel desethehrgsnl */
- yt-formatted-string#description.style-scope.ytd-channel-renderer {
- display: none !important;
- }
- }
- @-moz-document domain("youtube.com") {
- /* REMOVE VIEW FULL PLAYLIST in searhc results */
- #view-more.ytd-playlist-renderer {
- display: none !important;
- }
- }
- @-moz-document domain("youtube.com") {
- /* remove secondary results somthign */
- #secondary.ytd-two-column-search-results-renderer {
- display: none !important;
- }
- }
- @-moz-document domain("youtube.com") {
- /* remove music simehitn in thew descprtirogjf */
- ytd-structured-description-content-renderer[modern] ytd-horizontal-card-list-renderer.ytd-structured-description-content-renderer {
- display: none !important;
- }
- }
- @-moz-document domain("youtube.com") {
- /* remove music simehitn in thew descprtirogjf */
- ytd-structured-description-content-renderer[modern] ytd-horizontal-card-list-renderer.ytd-structured-description-content-renderer {
- display: none !important;
- }
- }
- @-moz-document domain("youtube.com") {
- /* remove social liknks */
- #social-links.ytd-video-description-infocards-section-renderer {
- display: none !important;
- }
- }
- @-moz-document domain("youtube.com") {
- /* change hashtags color and disable pointer evetnts */
- .yt-core-attributed-string__link--call-to-action-color, a.yt-simple-endpoint.yt-formatted-string {
- pointer-events: none !important;
- color: var(--yt-spec-text-primary) !important;
- }
- }
- @-moz-document domain("youtube.com") {
- /* remove transcript in the description */
- ytd-video-description-transcript-section-renderer[modern], #infocards-section.ytd-video-description-infocards-section-renderer {
- display: none !important;
- }
- }
- @-moz-document domain("youtube.com") {
- /* remove podcast something in the description */
- ytd-video-description-course-section-renderer.ytd-structured-description-content-renderer {
- display: none !important;
- }
- }
- @-moz-document domain("youtube.com") {
- /* remove how this content was made in the description */
- .YtwHowThisWasMadeSectionViewModelHost {
- display: none !important;
- }
- }
- @-moz-document domain("youtube.com") {
- .ytp-tooltip {
- display: none !important;
- }
- @-moz-document domain("youtube.com") {
- /* remove the course progress thing */
- .YtwCourseProgressViewModelHost {
- display: none !important;
- }
- @-moz-document domain("youtube.com") {
- /* remove the course progress thing */
- .yt-video-attributes-section-view-model {
- display: none !important;
- }
- @-moz-document domain("youtube.com") {
- /* remove the course progress thing */
- .sbdd_b {
- display: none !important;
- }
- @-moz-document domain("youtube.com") {
- /* remove the course progress thing */
- a.ytd-mini-guide-entry-renderer {
- display: none !important;
- }
- @-moz-document domain("youtube.com") {
- /* remove the title in fullscreen */
- .ytp-title-fullerscreen-link {
- display: none !important;
- }
- @-moz-document domain("youtube.com") {
- /* remove did you mean */
- yt-search-query-correction {
- display: none !important;
- }
- @-moz-document domain("youtube.com") {
- /* Only apply when in fullscreen */
- *:fullscreen {
- /* Remove the title in fullscreen */
- .ytp-title-fullerscreen-link {
- display: none !important;
- }
- /* Remove progress bar in fullscreen */
- .ytp-chrome-bottom {
- display: none !important;
- }
- /* Remove top gradient shadow */
- .ytp-gradient-top {
- display: none !important;
- }
- /* Remove bottom gradient shadow */
- .ytp-gradient-bottom {
- display: none !important;
- }
- /* Remove video controls */
- .ytp-chrome-controls {
- display: none !important;
- }
- /* disable the captions from hovering in fullscreen */
- .caption-window.ytp-caption-window-bottom {
- margin-bottom: 0 !important;
- }
- .ytp-player-content .ytp-bezel {
- display: none !important;
- }
- }
- }
- @-moz-document domain("youtube.com") {
- #button.ytd-menu-renderer {
- display: none !important;
- }
- /* some of the codes dont work, clean them up when you have the time */
- @-moz-document domain("youtube.com") {
- *:fullscreen {
- .ytp-doubletap-ui-legacy {
- display: none !important;
- }
- }
- }
- @-moz-document domain("youtube.com") {
- *:fullscreen {
- /* Hide play/pause overlay and related UI */
- .ytp-overlay-play-button, /* Overlay play button */
- .ytp-pause-overlay, /* Pause screen overlay */
- .ytp-bezel { /* Play/pause animation in the center */
- display: none !important;
- }
- }
- }
- @-moz-document domain("youtube.com") {
- .ytp-big-mode .ytp-playlist-menu-button-icon {
- display: none !important;
- }
- }
- @-moz-document domain("youtube.com") {
- .ytp-big-mode .ytp-playlist-menu-button-text {
- display: none !important;
- }
- }
- :root{ scrollbar-width: none }
- *{ scrollbar-width: none }
- @-moz-document domain("translate.google.com") {
- * {
- display: none !important;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement