☰

e-hentai favorite alias

qwq

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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