bangumi sort

sort items in alphabet order so you won't confuse any more

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         bangumi sort
// @name:zh-CN   Bangumi 番组计划 - 排序
// @namespace    http://ladio.me/
// @version      0.2
// @description  sort items in alphabet order so you won't confuse any more
// @description:zh-CN  按字母顺序排序观看中的节目单, 不再晕菜了
// @author       Xuefer
// @include      http://bangumi.tv/*
// @include      http://bgm.tv/*
// @include      http://chii.in/*
// @run-at       document-start
// ==/UserScript==

function changeLayout() {
    // wait for element to finish
    if (!unsafeWindow.loadXML) {
        setTimeout(changeLayout, 1);
        return;
    }
    var list = document.getElementById("cloumnSubjectInfo");
	var link = document.createElement("a");
	link.href = "https://greasyfork.org/en/scripts/382353-bangumi-enhancement"
	var text = document.createTextNode("请替换 bangumi sort 为另一个脚本");
	link.style.color = "red";
	link.style.textDecoration = "underline";
	link.appendChild(text);
	list.insertBefore(link, list.childNodes[0]);
}
changeLayout();