sgmod - acno ass script

Makes acno an ass

目前為 2016-12-31 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name       sgmod - acno ass script
// @namespace  woot
// @version    1.1
// @description Makes acno an ass
// @match      http://www.seriousgmod.com/*
// @copyright  2013+, stackoverflow
// ==/UserScript==
$.ajax({
   complete: function(){
     $('span[class="style21"]:contains("Acnologia")').removeClass('style21').addClass('style7');
     $('li[data-author="Acnologia"] > div > div > h3[class="userText"]').html('<a href="members/acnologia.10364/" class="username" dir="auto" itemprop="name"><span class="style7">Acnologia</span></a><em class="userBanner bannerRed wrapped" itemprop="title"><span class="before"></span><strong>Ass</strong><span class="after"></span></em>');
   }
});
$(document).bind("ajaxComplete", function(){
     $('span[class="style21"]:contains("Acnologia")').removeClass('style21').addClass('style7');
     $('div[id="memberCard10364"] > div[class="userInfo"] > div[class="cardUserBanner"]').html('<em itemprop="title" class="userBanner bannerRed "><span class="before"></span><strong>Ass</strong><span class="after"></span></em>');
     if(window.location.pathname.search('10364') != -1){
       $('div[class="userBanners"]').html('<em itemprop="title" class="userBanner bannerRed "><span class="before"></span><strong>Ass</strong><span class="after"></span></em>');
     }
});