MediaWiki:Gadget-GradientHeaders.js: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
$('tr:not(.rainbow, .section-border tr, .nmbox tr)').each(function(){
/*$('tr:not(.rainbow, .section-border tr, .nmbox tr, .fancy table tr, table[cellpadding="5"][border="1"][style] tr, .section tr, .skill-tree tr, .skillnav tr, .forcenav tr, .wikitable tr)').each(function(){
     var getGrayscale = function(color){
     var getGrayscale = function(color){
         var regAlpha = /rgba\(\s*\d+\s*,\s*\d+\s*,\s*\d+,\s*(0?\.\d+|[01](\.0*)?)\s*\)/;
         var regAlpha = /rgba\(\s*\d+\s*,\s*\d+\s*,\s*\d+,\s*(0?\.\d+|[01](\.0*)?)\s*\)/;
Line 25: Line 25:
         });
         });
     }
     }
});
});*/