QuickAddCharacter

Gắn nhanh Character

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

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

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

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

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

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

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.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==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();
     });
   });
});