Monday, December 5, 2011

YouTube- White Background December 2011


// ==UserScript==
// @name            YouTube- White Background December 2011
// @namespace      Http://www.youtube.com/Mainline421
// @include        http://*.youtube.com/*
// @include        https://*.youtube.com/*
// ==/UserScript==

//Remove Footer logo = 1 it will be removed change to 0 to keep.
var flagArray = new Array();
flagArray['footer-logo'] = 1;

(function() {

 for (var flagKey in flagArray){

  if (flagArray[flagKey] == 1){
       var myNode = document.getElementById(flagKey);
       if (myNode!=null) {
             myNode.parentNode.removeChild(myNode);


       }
  }
 }

})();

(function() {
var css = "";
if (false || (document.domain == "youtube.com" || document.domain.substring(document.domain.indexOf(".youtube.com") + 1) == "youtube.com"))
 css += " !important;\n }\n\n.video-list-item .title{\n\ncolor: #1c62b9 !important;\n}\n\n.watch-view-count strong {\n\nfont-family: Century Gothic !important;\nfont-weight: bolder !important;\nfont-style:  !important;\nfont-size: 210% !important;\n}\n\n.feedmodule-smtitle-wrapper, #homepage-main-content .feedmodule-smtitle, #homepage-main-content, #homepage-main-content .top-videos-module .video-list-item .title {\n\nfont-size: 12px;\nfont-weight: normal;\ncolor: #333;\n}\n\n\n#masthead-nav a, #masthead-user a {\n\ncolor: #1c62b9 !important;\n}\n\n#watch-action-confirmation #watch-action-response-message {\n\ncolor: #000000 !important\n}\n\n.masthead-user-username {\n\ncolor: #000000 !important;\n}\n\n#watch-description {\n\ncolor: #000000 !important;\n}\n\n#watch-action-confirmation #watch-action-response-message {\n\ncolor: #000000 !important;\n}\n\n.comment {\n\ncolor: #000000 !important;\n}\n\n body {\n  background: #ffffff !important;\n    color: #ffffff !important; no-repeat;\n  background-position: right bottom;\n  background-attachment:fixed;\n   }";
if (false || (document.domain == "upload.youtube.com" || document.domain.substring(document.domain.indexOf(".upload.youtube.com") + 1) == "upload.youtube.com"))
 css += "body {\n\ncolor: #000000 !important;\n}";
if (typeof GM_addStyle != "undefined") {
 GM_addStyle(css);
} else if (typeof PRO_addStyle != "undefined") {
 PRO_addStyle(css);
} else if (typeof addStyle != "undefined") {
 addStyle(css);
} else {
 var heads = document.getElementsByTagName("head");
 if (heads.length > 0) {
  var node = document.createElement("style");
  node.type = "text/css";
  node.appendChild(document.createTextNode(css));
  heads[0].appendChild(node); 
 }
}
})();

(function () {
var idlogo = document.getElementById('logo');
logouri = "http://www.youtube.com/img/pic_youtubelogo_123x63.gif";
idlogo.alt="YouTube home";
idlogo.class="noni";
idlogo.src=logouri;
})();

(function() {
var css = "html, body {\n    background: #FFFFFF !important;\n    background-image: url() !important;\n    }\n#masthead-container, #footer-container {background: #FFFFFF !important;}\n#page.watch-branded #watch-sidebar, #page.watch-branded #watch-main-container {\n    background: #FFFFFF !important;\n    }\n\n\n.guide, #channel {\n    background-color: #FFFFFF !important;\n    border-bottom: 1px solid #FFFFFF !important;\n    }\n.guide-background {background: #FFFFFF !important;}\n.guide-item {\n    background: #FFFFFF !important;\n    color: #292929 !important;\n    }\n.guide-item-container {\n    border-bottom: 1px solid #FFFFFF !important;\n    border-top: 1px solid #FFFFFF !important;\n    }\n.guide-item.selected, .guide-item.selected:hover {\n    color: #292929 !important;\n    background-color: #F1F1F1 !important;\n    border-right-color: #3366CC !important;\n    }\n#page h3.guide-item-container.selected-child, #page h3.guide-item-container:hover {\n    border-top: 1px solid #FFFFFF !important;\n    }\n\n\n\n#feed .feed-header {\n    background: -moz-linear-gradient(center top , #F1F1F1 0pt, #F1F1F1 100%) repeat scroll 0 0 #F1F1F1 !important;\n    color: #000000 !important;\n    }\n#guide-builder-promo {background: none repeat scroll 0 0 #F1F1F1 !important;}\n#subscription-manager-header {\n    color: #212121 !important;\n    background-color: #F1F1F1 !important;\n    background-image: none !important;\n    }\n\n\n#subscription-manager {background: #FFFFFF !important;}\n#subscription-manager .subscription-item:hover {\n    background: #F1F1F1 !important;\n    color: #212121 !important;\n    }\n#subscription-manager .subscription-item.odd {background: #F1F1F1 !important;}\n\n\n#subscriptions-full ul li:nth-child(1) {display:none !important;}\n#subscriptions-full ul li:nth-child(2) {display:none !important;}\n.yt-uix-expander-collapsed .guide-item-container.hideable {display:block !important;}\n.guide-show-more-less {display:none !important;}\n.guide .guide-section:nth-child(n+3) {display:none !important;}";
if (typeof GM_addStyle != "undefined") {
 GM_addStyle(css);
} else if (typeof PRO_addStyle != "undefined") {
 PRO_addStyle(css);
} else if (typeof addStyle != "undefined") {
 addStyle(css);
} else {
 var heads = document.getElementsByTagName("head");
 if (heads.length > 0) {
  var node = document.createElement("style");
  node.type = "text/css";
  node.appendChild(document.createTextNode(css));
  heads[0].appendChild(node); 
 }
}
})();

0 comments:

Post a Comment