e-hentai favorite alias

qwq

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği indirebilmeniz için ayrıca Tampermonkey gibi bir eklenti kurmanız gerekmektedir.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

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.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name         e-hentai favorite alias
// @name-zh         e-hentai 收藏夹别名
// @namespace   e-hentai favorite alias_script
// @version      0.1
// @author       neysummer2000
// @match        https://e-hentai.org/gallerypopups.php?gid=*&t=*&act=addfav
// @match        https://e-hentai.org/favorites.php*
// @grant        none
// @description qwq
// ==/UserScript==

(function() {
    var g_a_names = [
        '画师集',  // 1
        '学习资料', // 2
        '口工', // 3
        '', // 4
        '', // 5
        '', // 6
        '', // 7
        '', // 8
        '', // 9
        '', // 10
    ];
    var i = 0, e;
    var fav = document.querySelectorAll('.nosel');
    var favs = fav[fav.length-1].children;
    for(var name of g_a_names){
        if(name != ''){
            //e = document.createElement('span');
            //e.innerText =  ' (' + name + ')';
            //favs[i].children[2].appendChild(e);
            favs[i].children[2].innerText = name;
        }
        i++;
    };
})();