Not a member of Pastebin yet?
                        Sign Up,
                        it unlocks many cool features!                    
                - if($('.titlebox form ul a[title=faded').length) {
 - var subMap = {
 - chargers: 'Chargers',
 - oaklandraiders: 'Raiders',
 - kansascitychiefs: 'Chiefs',
 - denverbroncos: 'Broncos',
 - tennesseetitans: 'Titans',
 - jaguars: 'Jaguars',
 - colts: 'Colts',
 - texans: 'Texans',
 - steelers: 'Steelers',
 - browns: 'Browns',
 - bengals: 'Bengals',
 - ravens: 'Ravens',
 - nyjets: 'Jets',
 - patriots: 'Patriots',
 - miamidolphins: 'Dolphins',
 - buffalobills: 'Bills',
 - cowboys: 'Cowboys',
 - nygiants: 'Giants',
 - eagles: 'Eagles',
 - redskins: 'Redskins',
 - chibears: 'Bears',
 - detroitlions: 'Lions',
 - greenbaypackers: 'Packers',
 - minnesotavikings: 'Vikings',
 - buccaneers: 'Buccaneers',
 - falcons: 'Falcons',
 - panthers: 'Panthers',
 - saints: 'Saints',
 - azcardinals: 'Cardinals',
 - _49ers: '49ers',
 - seahawks: 'Seahawks',
 - stlouisrams: 'Rams'
 - };
 - var faded = [];
 - $('.titlebox form ul a[title=faded]').each(function() {
 - var sub = this.href.replace(/https?\:\/\/www.reddit.com\/r\//, '').replace(/\//g, '');
 - sub = sub === "49ers" ? "_49ers" : sub;
 - var flair = subMap[sub];
 - faded.push(flair);
 - });
 - $.each(faded, function(i) {
 - $('span.flair[title=' + faded[i] + ']').css('opacity', '0.4');
 - });
 - setInterval(function() {
 - $.each(faded, function(i) {
 - $('span.flair[title=' + faded[i] + ']').css('opacity', '0.4');
 - });
 - }, 2000);
 - }
 
Advertisement
 
                    Add Comment                
                
                        Please, Sign In to add comment