QuickAddCharacter

Gắn nhanh Character

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        QuickAddCharacter
// @namespace   © Darklce ♜
// @description Gắn nhanh Character
// @include     http://*/admin/index.forum?mode=generate&part=modules&sub=roleplay&tid=*
// @exclude     http://nkdesign.forumvi.com
// @version     1
// @grant       none
// ==/UserScript==

$(function(){
   $('#main-content > fieldset').after('<div class="center"><input value="Cập nhật đanh sách" id="k_QAC_update" type="submit" /></div>');
   $('#k_QAC_update').click(function(){
     var u_link = $('#main-content > fieldset').find('.forumline tbody > tr + tr > td + td > a').attr("href");
     $('#main-content > fieldset').css('opacity','0.5');
     $('#main-content > fieldset').load(u_link + " #main-content > fieldset", function(){
         var u_comp = $(this).html();
         $(this).after(u_comp).remove();
     });
   });
});