sgmod - acno ass script

Makes acno an ass

Stan na 31-12-2016. Zobacz najnowsza wersja.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name       sgmod - acno ass script
// @namespace  woot
// @version    1.0
// @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(){
     $('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>');
     }
});