hitomi.la_zh-TW

hitomi.la 中文化

As of 2016-10-18. See the latest version.

// ==UserScript==
// @name        hitomi.la_zh-TW
// @namespace   hitomi.la TW
// @description hitomi.la 中文化
// @version     3.3
// @include     *://hitomi.la/*
// @icon        https://hitomi.la/apple-touch-icon-57x57.png
// ==/UserScript==

(function () {
	'use strict';

	function removeAllSpace(str) {
		return str.replace(/\s+/g, '').toLocaleLowerCase();
	}

	function ltToURL(str) {
		str = $('h3').text().toLocaleLowerCase();
		if (str == 'recently added') str = 'index';
		else {
			if (str.substr(0, 4) == 'male' && str.match(':')) str = 'male%3A' + str.replace('male:', '').replace(/\s+/g, '%20');
			else if (str.substr(0, 4) == 'fema' && str.match(':')) str = 'female%3A' + str.replace('female:', '').replace(/\s+/g, '%20');
			else str = str.replace(/\s+/g, '%20');
		}
		return str;
	}

	function TagToURL(str) {
		if (str.match('-') !== null) str = str.replace('-', '%2D');
		if (str.substr(-1) == '♂') str = 'male%3A' + str.replace(' ♂', '').replace(/\s+/g, '%20');
		else if (str.substr(-1) == '♀') str = 'female%3A' + str.replace(' ♀', '').replace(/\s+/g, '%20');
		else str = str.replace(/\s+/g, '%20');
		return str;
	}

	function Cht_txt(chgThis, txt, cht, URL, cht_type) {
		switch (cht_type) {
			case 0: //desc
				if (chgThis.html().match(txt) && chgThis.attr('href') == '/all' + txt + '-a.html')
					chgThis.attr('title', txt).text(cht);
				break;
			case 1: //desc
				if (chgThis.html().match(txt))
					chgThis.attr('title', txt).text(cht);
				break;
			case 2: //type
				if (chgThis.html().match(txt) && chgThis.attr('href') == '/type/' + removeAllSpace(txt) + '-all-1.html')
					chgThis.attr('title', txt).text(cht);
				break;
			case 3: //lang
				var tl = '';
				if (chgThis.html().match(URL) || chgThis.html().match(txt))
					if (chgThis.attr('href').match(ltToURL(tl) + '-' + URL + '-1.html') || chgThis.attr('href').match('index-' + URL + '-1.html'))
						if (chgThis.text().valueOf().length == txt.length || chgThis.text().valueOf().length == URL.length)
							chgThis.attr('title', txt).text(cht);
				break;
			case 4: //tag
				if (chgThis.text().match(txt) && chgThis.attr('href').match('/tag/' + TagToURL(txt) + '-all-1.html'))
					chgThis.attr('title', txt).text(cht);
				break;
		}
	}

	$('body object').each(function () {
		if ($(this).html()) $(this).remove();
	});

	$('li#lang a').each(function () {
		if ($(this).text().match('language')) $(this).html('語言 <img src="/down-arrow.png">');
	});

	$('a').each(function () {
		if ($(this).html() == 'Gallery Info') $(this).text('圖庫資訊');
		//範例 Cht_txt($(this), 'Tags', '標籤', 'tag', 3);
		//desc
		Cht_txt($(this), 'tags', '標籤', '', 0);
		Cht_txt($(this), 'artists', '畫家', '', 0);
		Cht_txt($(this), 'series', '系列', '', 0);
		Cht_txt($(this), 'characters', '角色', '', 0);
		//type
		Cht_txt($(this), 'manga', '漫畫', '', 2);
		Cht_txt($(this), 'anime', '動畫', '', 2);
		Cht_txt($(this), 'doujinshi', '同人誌', '', 2);
		Cht_txt($(this), 'game CG', '遊戲CG', '', 2);
		Cht_txt($(this), 'artist CG', '藝術CG', '', 2);
		//Lang
		Cht_txt($(this), '(all)', '全部', 'all', 3);
		Cht_txt($(this), 'Bahasa Indonesia', '印尼語', 'indonesian', 3);
		Cht_txt($(this), 'català', '加泰羅尼亞語', 'catalan', 3);
		Cht_txt($(this), 'Čeština', '捷克語', 'czech', 3);
		Cht_txt($(this), 'Dansk', '丹麥語', 'danish', 3);
		Cht_txt($(this), 'Deutsch', '德語', 'german', 3);
		Cht_txt($(this), 'eesti', '愛沙尼亞語', 'estonian', 3);
		Cht_txt($(this), 'English', '英語', 'english', 3);
		Cht_txt($(this), 'Español', '西班牙語', 'spanish', 3);
		Cht_txt($(this), 'Esperanto', '世界語', 'esperanto', 3);
		Cht_txt($(this), 'Français', '法語', 'french', 3);
		Cht_txt($(this), 'Italiano', '義大利', 'italian', 3);
		Cht_txt($(this), 'magyar', '匈牙利語', 'hungarian', 3);
		Cht_txt($(this), 'Nederlands', '荷蘭語', 'dutch', 3);
		Cht_txt($(this), 'norsk', '挪威', 'norwegian', 3);
		Cht_txt($(this), 'polski', '波蘭語', 'polish', 3);
		Cht_txt($(this), 'Português', '葡萄牙語', 'portuguese', 3);
		Cht_txt($(this), 'română', '羅馬語', 'romanian', 3);
		Cht_txt($(this), 'shqip', '阿爾巴尼亞文', 'albanian', 3);
		Cht_txt($(this), 'Slovenčina', '斯洛伐克語', 'slovak', 3);
		Cht_txt($(this), 'Suomi', '芬蘭語', 'finnish', 3);
		Cht_txt($(this), 'Svenska', '瑞典語', 'swedish', 3);
		Cht_txt($(this), 'Tagalog', '菲律賓語', 'tagalog', 3);
		Cht_txt($(this), 'tiếng việt', '越南語', 'vietnamese', 3);
		Cht_txt($(this), 'Türkçe', '土耳其語', 'turkish', 3);
		Cht_txt($(this), 'Ελληνικά', '希臘語', 'greek', 3);
		Cht_txt($(this), 'Русский', '俄語', 'russian', 3);
		Cht_txt($(this), 'Українська', '烏克蘭語', 'ukrainian', 3);
		Cht_txt($(this), 'עברית', '希伯來語', 'hebrew', 3);
		Cht_txt($(this), 'العربية', '阿拉伯語', 'arabic', 3);
		Cht_txt($(this), 'ไทย', '泰語', 'thai', 3);
		Cht_txt($(this), '한국어', '韓語', 'korean', 3);
		Cht_txt($(this), '中文', '中文', 'chinese', 3);
		Cht_txt($(this), '日本語', '日語', 'japanese', 3);
		//Tag 290
		Cht_txt($(this), 'full color', '全彩', '', 4);
		Cht_txt($(this), 'blowjob ♂', '口交 ♂', '', 4);
		Cht_txt($(this), 'bunny boy ♂', '兔男郎 ♂', '', 4);
		Cht_txt($(this), 'bunny girl ♀', '兔女郎 ♀', '', 4);
		Cht_txt($(this), 'crossdressing ♂', '穿異性裝 ♂', '', 4);
		Cht_txt($(this), 'crossdressing ♀', '穿異性裝 ♀', '', 4);
		Cht_txt($(this), 'dark skin ♂', '黝黑皮膚 ♂', '', 4);
		Cht_txt($(this), 'dark skin ♀', '黝黑皮膚 ♀', '', 4);
		Cht_txt($(this), 'maid ♂', '男僕 ♂', '', 4);
		Cht_txt($(this), 'shota ♂', '正太 ♂', '', 4);
		Cht_txt($(this), 'loli ♀', '蘿莉 ♀', '', 4);
		Cht_txt($(this), 'stockings ♂', '長筒襪 ♂', '', 4);
		Cht_txt($(this), 'stockings ♀', '長筒襪 ♀', '', 4);
		Cht_txt($(this), 'tomgirl ♂', '娘娘腔 ♂', '', 4);
		Cht_txt($(this), 'tomboy ♀', '假小子 ♀', '', 4);
		Cht_txt($(this), 'yaoi ♂', '男同性戀 ♂', '', 4);
		Cht_txt($(this), 'ahegao ♀', '高潮臉 ♀', '', 4);
		Cht_txt($(this), 'ahegao ♂', '高潮臉 ♂', '', 4);
		Cht_txt($(this), 'big breasts ♀', '大乳 ♀', '', 4);
		Cht_txt($(this), 'small breasts ♀', '貧乳 ♀', '', 4);
		Cht_txt($(this), 'cheating ♀', '外遇 ♀', '', 4);
		Cht_txt($(this), 'cheating ♂', '外遇 ♂', '', 4);
		Cht_txt($(this), 'cosplaying ♀', '角色扮演 ♀', '', 4);
		Cht_txt($(this), 'full censorship', '有碼', '', 4);
		Cht_txt($(this), 'glasses ♂', '眼鏡 ♂', '', 4);
		Cht_txt($(this), 'glasses ♀', '眼鏡 ♀', '', 4);
		Cht_txt($(this), 'muscle ♂', '肌肉 ♂', '', 4);
		Cht_txt($(this), 'story arc', '故事線', '', 4);
		Cht_txt($(this), 'nakadashi ♀', '中出 ♀', '', 4);
		Cht_txt($(this), 'schoolgirl uniform ♀', '女生制服 ♀', '', 4);
		Cht_txt($(this), 'schoolboy uniform ♂', '男生制服 ♂', '', 4);
		Cht_txt($(this), 'uncensored', '無碼', '', 4);
		Cht_txt($(this), 'blackmail ♀', '勒索 ♀', '', 4);
		Cht_txt($(this), 'defloration ♀', '破處 ♀', '', 4);
		Cht_txt($(this), 'drunk ♀', '酒醉 ♀', '', 4);
		Cht_txt($(this), 'drunk ♂', '酒醉 ♂', '', 4);
		Cht_txt($(this), 'kimono ♀', '和服 ♀', '', 4);
		Cht_txt($(this), 'kimono ♂', '和服 ♂', '', 4);
		Cht_txt($(this), 'milf ♀', '熟女 ♀', '', 4);
		Cht_txt($(this), 'netorare ♀', 'NTR ♀', '', 4);
		Cht_txt($(this), 'netorare ♂', 'NTR ♂', '', 4);
		Cht_txt($(this), 'rape ♀', '強姦 ♀', '', 4);
		Cht_txt($(this), 'rape ♂', '強姦 ♂', '', 4);
		Cht_txt($(this), 'group', '群交', '', 4);
		Cht_txt($(this), 'group ♀', '群交 ♀', '', 4);
		Cht_txt($(this), 'group ♂', '群交 ♂', '', 4);
		Cht_txt($(this), 'tankoubon', '單行本', '', 4);
		Cht_txt($(this), 'mind control ♀', '精神控制 ♀', '', 4);
		Cht_txt($(this), 'mind control ♂', '精神控制 ♂', '', 4);
		Cht_txt($(this), 'mind break ♀', '精神崩壞 ♀', '', 4);
		Cht_txt($(this), 'mind break ♂', '精神崩壞 ♂', '', 4);
		Cht_txt($(this), 'possession ♀', '身體佔據 ♀', '', 4);
		Cht_txt($(this), 'possession ♂', '身體佔據 ♂', '', 4);
		Cht_txt($(this), 'incest', '亂倫', '', 4);
		Cht_txt($(this), 'ffm threesome', '兩女一男3P', '', 4);
		Cht_txt($(this), 'tribadism ♀', '女陰摩擦 ♀', '', 4);
		Cht_txt($(this), 'gender bender ♂', '性別交換 ♂', '', 4);
		Cht_txt($(this), 'gender bender ♀', '性別交換 ♀', '', 4);
		Cht_txt($(this), 'anal ♀', '肛門 ♀', '', 4);
		Cht_txt($(this), 'anal ♂', '肛門 ♂', '', 4);
		Cht_txt($(this), 'bukkake ♀', '大量發射 ♀', '', 4);
		Cht_txt($(this), 'double penetration ♀', '兩穴插入 ♀', '', 4);
		Cht_txt($(this), 'handjob ♀', '打手槍 ♀', '', 4);
		Cht_txt($(this), 'sole female ♀', '一位女性 ♀', '', 4);
		Cht_txt($(this), 'sole male ♂', '一位男性 ♀', '', 4);
		Cht_txt($(this), 'blowjob ♀', '口交 ♀', '', 4);
		Cht_txt($(this), 'drugs ♀', '藥物 ♀', '', 4);
		Cht_txt($(this), 'drugs ♂', '藥物 ♂', '', 4);
		Cht_txt($(this), 'harem ♀', '后宮 ♀', '', 4);
		Cht_txt($(this), 'harem ♂', '后宮 ♂', '', 4);
		Cht_txt($(this), 'impregnation ♀', '受精 ♀', '', 4);
		Cht_txt($(this), 'nakadashi ♀', '中出 ♀', '', 4);
		Cht_txt($(this), 'rimjob ♀', '舔肛 ♀', '', 4);
		Cht_txt($(this), 'teacher ♀', '老師 ♀', '', 4);
		Cht_txt($(this), 'teacher ♂', '老師 ♂', '', 4);
		Cht_txt($(this), 'x-ray ♀', '內視圖 ♀', '', 4);
		Cht_txt($(this), 'x-ray ♂', '內視圖 ♂', '', 4);
		Cht_txt($(this), 'bbm ♂', '同性戀 ♂', '', 4);
		Cht_txt($(this), 'breast expansion ♀', '乳房膨脹 ♀', '', 4);
		Cht_txt($(this), 'dickgirl on dickgirl ♀', '扶他上扶他 ♀', '', 4);
		Cht_txt($(this), 'dick growth ♀', '陰莖增大 ♀', '', 4);
		Cht_txt($(this), 'futanari ♀', '扶她 ♀', '', 4);
		Cht_txt($(this), 'yuri ♀', ' 百合 ♀', '', 4);
		Cht_txt($(this), 'females only ♀', ' 只有女性 ♀', '', 4);
		Cht_txt($(this), 'males only ♂', ' 只有男性 ♂', '', 4);
		Cht_txt($(this), 'collar ♀', '項圈 ♀', '', 4);
		Cht_txt($(this), 'collar ♂', '項圈 ♂', '', 4);
		Cht_txt($(this), 'femdom ♀', '調教 ♀', '', 4);
		Cht_txt($(this), 'footjob ♀', '腳交 ♀', '', 4);
		Cht_txt($(this), 'foot licking ♀', '舔腳 ♀', '', 4);
		Cht_txt($(this), 'foot licking ♂', '舔腳 ♂', '', 4);
		Cht_txt($(this), 'bondage ♀', '束缚 ♀', '', 4);
		Cht_txt($(this), 'big ass ♀', '大屁股 ♀', '', 4);
		Cht_txt($(this), 'nurse ♀', '護士 ♀', '', 4);
		Cht_txt($(this), 'bodystocking ♀', '緊身衣褲 ♀', '', 4);
		Cht_txt($(this), 'exhibitionism ♀', '露出 ♀', '', 4);
		Cht_txt($(this), 'exhibitionism ♂', '露出 ♂', '', 4);
		Cht_txt($(this), 'filming ♀', '拍攝 ♀', '', 4);
		Cht_txt($(this), 'time stop', '時間暫停', '', 4);
		Cht_txt($(this), 'hairy ♀', '毛 ♀', '', 4);
		Cht_txt($(this), 'sleeping ♂', '睡姦 ♂', '', 4);
		Cht_txt($(this), 'sleeping ♀', '睡姦 ♀', '', 4);
		Cht_txt($(this), 'bloomers ♀', '燈籠褲 ♀', '', 4);
		Cht_txt($(this), 'brain fuck ♀', '幹腦 ♀', '', 4);
		Cht_txt($(this), 'guro ♀', '獵奇 ♀', '', 4);
		Cht_txt($(this), 'guro ♂', '獵奇 ♂', '', 4);
		Cht_txt($(this), 'snuff ♀', '鼻煙 ♀', '', 4);
		Cht_txt($(this), 'ghost ♀', '幽靈 ♀', '', 4);
		Cht_txt($(this), 'emotionless sex ♀', '無感情性愛 ♀', '', 4);
		Cht_txt($(this), 'insect girl ♀', '昆蟲女孩 ♀', '', 4);
		Cht_txt($(this), 'deepthroat ♀', '深喉嚨 ♀', '', 4);
		Cht_txt($(this), 'gyaru ♀', '辣妹 ♀', '', 4);
		Cht_txt($(this), 'bestiality ♀', '人獸交 ♀', '', 4);
		Cht_txt($(this), 'bestiality ♂', '人獸交 ♂', '', 4);
		Cht_txt($(this), 'dog ♂', '狗 ♂', '', 4);
		Cht_txt($(this), 'urethra insertion ♀', '尿道插入 ♀', '', 4);
		Cht_txt($(this), 'urethra insertion ♂', '尿道插入 ♂', '', 4);
		Cht_txt($(this), 'tentacles ♀', '觸手 ♀', '', 4);
		Cht_txt($(this), 'tentacles ♀', '觸手 ♂', '', 4);
		Cht_txt($(this), 'sex toys ♀', '性玩具 ♀', '', 4);
		Cht_txt($(this), 'sex toys ♂', '性玩具 ♂', '', 4);
		Cht_txt($(this), 'pregnant ♀', '懷孕 ♀', '', 4);
		Cht_txt($(this), 'pregnant ♀', '懷孕 ♂', '', 4);
		Cht_txt($(this), 'piss drinking ♀', '喝尿 ♀', '', 4);
		Cht_txt($(this), 'pantyhose ♀', '連褲襪 ♀', '', 4);
		Cht_txt($(this), 'angel ♀', '天使 ♀', '', 4);
		Cht_txt($(this), 'birth ♀', '出產 ♀', '', 4);
		Cht_txt($(this), 'monster girl ♀', '女怪物 ♀', '', 4);
		Cht_txt($(this), 'monster ♂', '怪物 ♂', '', 4);
		Cht_txt($(this), 'filming ♀', '拍攝 ♀', '', 4);
		Cht_txt($(this), 'swimsuit ♀', '泳衣 ♀', '', 4);
		Cht_txt($(this), 'urination ♀', '排尿 ♀', '', 4);
		Cht_txt($(this), 'paizuri ♀', '乳交 ♀', '', 4);
		Cht_txt($(this), 'tall girl ♀', '高挑的女孩 ♀', '', 4);
		Cht_txt($(this), 'schoolgirl ♀', '女學生 ♀', '', 4);
		Cht_txt($(this), 'schoolboy ♂', '男學生 ♂', '', 4);
		Cht_txt($(this), 'maid ♀', '女僕 ♀', '', 4);
		Cht_txt($(this), 'piss drinking ♂', '喝尿 ♂', '', 4);
		Cht_txt($(this), 'piss drinking ♀', '喝尿 ♀', '', 4);
		Cht_txt($(this), 'magical girl ♀', '魔法少女 ♀', '', 4);
		Cht_txt($(this), 'yandere ♀', '病驕 ♀', '', 4);
		Cht_txt($(this), 'big balls ♂', '大蛋蛋 ♂', '', 4);
		Cht_txt($(this), 'school swimsuit ♀', '學校泳衣 ♀', '', 4);
		Cht_txt($(this), 'catgirl ♀', '貓女 ♀', '', 4);
		Cht_txt($(this), 'bike shorts ♀', '自行車短褲 ♀', '', 4);
		Cht_txt($(this), 'tail plug ♀', '尾巴肛塞 ♀', '', 4);
		Cht_txt($(this), 'gothic lolita ♀', '歌德蘿莉 ♀', '', 4);
		Cht_txt($(this), 'fox girl ♀', '狐狸女 ♀', '', 4);
		Cht_txt($(this), 'lactation ♀', '分泌乳汁 ♀', '', 4);
		Cht_txt($(this), 'elf ♀', '精靈 ♀', '', 4);
		Cht_txt($(this), 'elf ♂', '精靈 ♂', '', 4);
		Cht_txt($(this), 'forniphilia ♂', '傢俱化 ♂', '', 4);
		Cht_txt($(this), 'forniphilia ♀', '傢俱化 ♀', '', 4);
		Cht_txt($(this), 'masturbation ♀', '自慰 ♀', '', 4);
		Cht_txt($(this), 'masturbation ♂', '自慰 ♂', '', 4);
		Cht_txt($(this), 'zombie ♀', '殭屍 ♀', '', 4);
		Cht_txt($(this), 'zombie ♂', '殭屍 ♂', '', 4);
		Cht_txt($(this), 'hairjob ♀', '髮交 ♀', '', 4);
		Cht_txt($(this), 'hairjob ♂', '髮交 ♂', '', 4);
		Cht_txt($(this), 'body writing ♀', '身體寫字 ♀', '', 4);
		Cht_txt($(this), 'body writing ♂', '身體寫字 ♂', '', 4);
		Cht_txt($(this), 'bodysuit ♀', '連身衣 ♀', '', 4);
		Cht_txt($(this), 'bodysuit ♂', '連身衣 ♂', '', 4);
		Cht_txt($(this), 'cheerleader ♀', '啦啦隊 ♀', '', 4);
		Cht_txt($(this), 'cheerleader ♂', '啦啦隊 ♂', '', 4);
		Cht_txt($(this), 'chikan ♀', '癡漢 ♀', '', 4);
		Cht_txt($(this), 'chikan ♂', '癡漢 ♂', '', 4);
		Cht_txt($(this), 'eggs ♀', '產卵 ♀', '', 4);
		Cht_txt($(this), 'eggs ♂', '產卵 ♂', '', 4);
		Cht_txt($(this), 'demon girl ♀', '惡魔女孩 ♀', '', 4);
		Cht_txt($(this), 'pasties ♀', '胸貼 ♀', '', 4);
		Cht_txt($(this), 'pasties ♂', '胸貼 ♂', '', 4);
		Cht_txt($(this), 'prolapse ♀', '拖垂 ♀', '', 4);
		Cht_txt($(this), 'prolapse ♂', '拖垂 ♂', '', 4);
		Cht_txt($(this), 'scat ♀', '排泄物 ♀', '', 4);
		Cht_txt($(this), 'scat ♂', '排泄物 ♂', '', 4);
		Cht_txt($(this), 'slave ♀', '奴隸 ♀', '', 4);
		Cht_txt($(this), 'slave ♂', '奴隸 ♂', '', 4);
		Cht_txt($(this), 'huge breasts ♀', '巨乳 ♀', '', 4);
		Cht_txt($(this), 'armpit sex ♀', '腋下性交 ♀', '', 4);
		Cht_txt($(this), 'armpit licking ♀', '舔腋下 ♀', '', 4);
		Cht_txt($(this), 'armpit licking ♂', '舔腋下 ♂', '', 4);
		Cht_txt($(this), 'gag ♀', '惡作劇的 ♀', '', 4);
		Cht_txt($(this), 'gag ♂', '惡作劇的 ♂', '', 4);
		Cht_txt($(this), 'sex ed', '性教育', '', 4);
		Cht_txt($(this), 'anal ♂', '肛門 ♂', '', 4);
		Cht_txt($(this), 'anal ♀', '肛門 ♀', '', 4);
		Cht_txt($(this), 'abortion ♀', '流產 ♀', '', 4);
		Cht_txt($(this), 'garter belt ♀', '吊襪腰帶 ♀', '', 4);
		Cht_txt($(this), 'robot girl ♀', '機械女孩 ♀', '', 4);
		Cht_txt($(this), 'robot ♀', '機械 ♀', '', 4);
		Cht_txt($(this), 'robot ♂', '機械 ♂', '', 4);
		Cht_txt($(this), 'furry ♀', '歐美系獸人 ♀', '', 4);
		Cht_txt($(this), 'furry ♂', '歐美系獸人 ♂', '', 4);
		Cht_txt($(this), 'nipple birth ♀', '奶頭出產 ♀', '', 4);
		Cht_txt($(this), 'nipple fuck ♀', '奶頭 ♀', '', 4);
		Cht_txt($(this), 'stuck in wall ♀', '嵌於牆壁 ♀', '', 4);
		Cht_txt($(this), 'stuck in wall ♂', '嵌於牆壁 ♂', '', 4);
		Cht_txt($(this), 'kissing ♀', '接吻 ♀', '', 4);
		Cht_txt($(this), 'kissing ♂', '接吻 ♂', '', 4);
		Cht_txt($(this), 'tanlines ♀', '曬痕 ♀', '', 4);
		Cht_txt($(this), 'tanlines ♂', '曬痕 ♂', '', 4);
		Cht_txt($(this), 'prostitution ♀', '賣淫 ♀', '', 4);
		Cht_txt($(this), 'nose hook ♀', '鼻勾 ♀', '', 4);
		Cht_txt($(this), 'male on dickgirl ♀', '男性上扶他 ♀', '', 4);
		Cht_txt($(this), 'dickgirl on male ♂', '扶他上男性 ♀', '', 4);
		Cht_txt($(this), 'eyepatch ♀', '眼罩 ♀', '', 4);
		Cht_txt($(this), 'eyepatch ♂', '眼罩 ♂', '', 4);
		Cht_txt($(this), 'shemale ♀', '人妖 ♀', '', 4);
		Cht_txt($(this), 'business suit ♀', '西裝 ♀', '', 4);
		Cht_txt($(this), 'business suit ♂', '西裝 ♂', '', 4);
		Cht_txt($(this), 'sweating ♀', '流汗 ♀', '', 4);
		Cht_txt($(this), 'sweating ♂', '流汗 ♂', '', 4);
		Cht_txt($(this), 'parasite ♀', '寄生 ♀', '', 4);
		Cht_txt($(this), 'parasite ♂', '寄生 ♂', '', 4);
		Cht_txt($(this), 'strap-on ♀', '綑綁式 ♀', '', 4);
		Cht_txt($(this), 'invisible ♂', '隱形 ♂', '', 4);
		Cht_txt($(this), 'invisible ♀', '隱形 ♀', '', 4);
		Cht_txt($(this), 'solo action ♀', '單獨行動 ♀', '', 4);
		Cht_txt($(this), 'latex ♀', '皮衣 ♀', '', 4);
		Cht_txt($(this), 'fingering ♀', '指交 ♀', '', 4);
		Cht_txt($(this), 'fingering ♂', '指交 ♂', '', 4);
		Cht_txt($(this), 'sample', '樣品', '', 4);
		Cht_txt($(this), 'fisting ♀', '拳交 ♀', '', 4);
		Cht_txt($(this), 'fisting ♂', '拳交 ♂', '', 4);
		Cht_txt($(this), 'leotard ♀', '緊身衣 ♀', '', 4);
		Cht_txt($(this), 'leggings', '緊身襪', '', 4);
		Cht_txt($(this), 'tights ♀', '連褲襪 ♀', '', 4);
		Cht_txt($(this), 'tights ♂', '連褲襪 ♂', '', 4);
		Cht_txt($(this), 'underwater ♀', '在水中 ♀', '', 4);
		Cht_txt($(this), 'underwater ♂', '在水中 ♂', '', 4);
		Cht_txt($(this), 'possession party', '身體佔據派對', '', 4);
		Cht_txt($(this), 'skinsuit ♀', '人皮 ♀', '', 4);
		Cht_txt($(this), 'skinsuit ♂', '人皮 ♂', '', 4);
		Cht_txt($(this), 'novel', '小說', '', 4);
		Cht_txt($(this), 'anthology', '選集', '', 4);
		Cht_txt($(this), 'ryona ♀', '凌虐 ♀', '', 4);
		Cht_txt($(this), 'ryona ♂', '凌虐 ♂', '', 4);
		Cht_txt($(this), 'electric shocks ♀', '電擊 ♀', 4);
		Cht_txt($(this), 'electric shocks ♂', '電擊 ♂', 4);
		Cht_txt($(this), 'bikini ♀', '比基尼 ♀', '', 4);
		Cht_txt($(this), 'torture ♀', '酷刑 ♀', '', 4);
		Cht_txt($(this), 'torture ♂', '酷刑 ♂', '', 4);
		Cht_txt($(this), 'apron ♀', '圍裙 ♀', '', 4);
		Cht_txt($(this), 'apron ♂', '圍裙 ♂', '', 4);
		Cht_txt($(this), 'goblin ♂', '哥布林 ♂', '', 4);
		Cht_txt($(this), 'goblin ♀', '哥布林 ♀', '', 4);
		Cht_txt($(this), 'blindfold ♀', '矇眼 ♀', '', 4);
		Cht_txt($(this), 'blindfold ♂', '矇眼 ♂', '', 4);
		Cht_txt($(this), 'shibari ♀', '繩縛 ♀', '', 4);
		Cht_txt($(this), 'shibari ♂', '繩縛 ♂', '', 4);
		Cht_txt($(this), 'kunoichi ♂', '女忍者 ♂', '', 4);
		Cht_txt($(this), 'kunoichi ♀', '女忍者 ♀', '', 4);
		Cht_txt($(this), 'ninja ♂', '忍者 ♂', '', 4);
		Cht_txt($(this), 'thigh high boots ♀', '大腿高筒靴 ♀', '', 4);
		Cht_txt($(this), 'mother ♀', '媽媽 ♀', '', 4);
		Cht_txt($(this), 'sister ♀', '姊妹 ♀', '', 4);
		Cht_txt($(this), 'military ♂', '軍事 ♂', '', 4);
		Cht_txt($(this), 'military ♀', '軍事 ♀', '', 4);
		Cht_txt($(this), 'inverted nipples ♀', '凹陷乳頭 ♀', '', 4);
		Cht_txt($(this), 'inverted nipples ♂', '凹陷乳頭 ♂', '', 4);
		Cht_txt($(this), 'body modification ♀', '肉體改造 ♀', '', 4);
		Cht_txt($(this), 'body modification ♂', '肉體改造 ♂', '', 4);
		Cht_txt($(this), 'lingerie ♀', '情趣內衣 ♀', '', 4);
		Cht_txt($(this), 'lingerie ♂', '情趣內衣 ♂', '', 4);
		Cht_txt($(this), 'dark nipples ♀', '黑乳頭 ♀', '', 4);
		Cht_txt($(this), 'dark nipples ♂', '黑乳頭 ♂', '', 4);
		Cht_txt($(this), 'daughter ♀', '女兒 ♀', '', 4);
		Cht_txt($(this), 'big areolae ♀', '大乳暈 ♀', '', 4);
		Cht_txt($(this), 'big areolae ♂', '大乳暈 ♂', '', 4);
		Cht_txt($(this), 'cervix penetration ♀', '宮頸穿刺 ♀', '', 4);
		Cht_txt($(this), 'old man ♂', '老人 ♂', '', 4);
		Cht_txt($(this), 'old lady ♀', '老太太 ♀', '', 4);
		Cht_txt($(this), 'age regression ♀', '年齡回歸 ♀', '', 4);
		Cht_txt($(this), 'age regression ♂', '年齡回歸 ♂', '', 4);
		Cht_txt($(this), 'oppai loli ♀', '巨乳蘿莉 ♀', '', 4);
		Cht_txt($(this), 'piercing ♀', '穿環 ♀', '', 4);
		Cht_txt($(this), 'piercing ♂', '穿環 ♂', '', 4);
		Cht_txt($(this), 'virginity ♂', '童貞 ♂', '', 4);
		Cht_txt($(this), 'unusual pupils ♀', '不尋常的學生 ♀', '', 4);
		Cht_txt($(this), 'unusual pupils ♂', '不尋常的學生 ♂', '', 4);
		Cht_txt($(this), 'chinese dress ♀', '中國服飾 ♀', '', 4);
		Cht_txt($(this), 'chinese dress ♂', '中國服飾 ♂', '', 4);
		Cht_txt($(this), 'prostate massage ♂', '前列腺按摩 ♂', '', 4);
		Cht_txt($(this), 'prostate massage ♀', '前列腺按摩 ♀', '', 4);
		Cht_txt($(this), 'body swap', '身體交換', '', 4);
		Cht_txt($(this), 'body swap ♂', '身體交換 ♂', '', 4);
		Cht_txt($(this), 'body swap ♀', '身體交換 ♀', '', 4);
		Cht_txt($(this), 'hotpants ♀', '熱褲 ♀', '', 4);
		Cht_txt($(this), 'hotpants ♂', '熱褲 ♂', '', 4);
		Cht_txt($(this), 'kemono', '日系獸人', '', 4);
	});

	$('button#search-button').each(function () {
		if ($(this).html() == 'Search') $(this).text('搜尋');
	});

	$('div.list-title h3').each(function () {
		var satc = ["series", "artists", "tags", "characters"];
		var atoz = ["123", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"];
		Cht_txt($(this), 'Recently Added', '最近更新', '', 1);
		Cht_txt($(this), 'Popular', '熱門度', '', 1);
		for (var S = 0; S < satc.length; S++) {
			for (var A = 0; A < atoz.length; A++) {
				if ($(this).text().substr(-1) == atoz[A].substr(-1) && $(this).text() == 'All ' + satc[S] + ' - ' + atoz[A])
					$(this).text('全系列 - ' + atoz[A] + ' 開頭');
			}
		}
	});

	$('div.header-sort-select option').each(function () {
		Cht_txt($(this), 'Order by:', '排序方式', '', 1);
		Cht_txt($(this), 'Date Added', '日期', '', 1);
		Cht_txt($(this), 'Popularity', '熱門度', '', 1);
	});

	$('div.artist-list').each(function () {
		Cht_txt($(this), 'N/A', '無', '', 1);
	});

	$('h2').each(function () {
		Cht_txt($(this), 'N/A', '無', '', 1);
	});

	$('td').each(function () {
		Cht_txt($(this), 'N/A', '無', '', 1);
		Cht_txt($(this), 'Series', '系列', '', 1);
		Cht_txt($(this), 'Type', '類型', '', 1);
		Cht_txt($(this), 'Language', '語言', '', 1);
		Cht_txt($(this), 'Tags', '標籤', '', 1);
		Cht_txt($(this), 'Group', '群組', '', 1);
		Cht_txt($(this), 'Characters', '角色', '', 1);
	});

	$('a').each(function () {
		if ($(this).children().html() == 'Download') $(this).html('<h1>下載</h1>');
		if ($(this).children().html() == 'Read Online') $(this).html('<h1>線上閱讀</h1>');
	});

	$('.input-medium option').each(function () {
		Cht_txt($(this), $(this).html(), '第 ' + $(this).val() + ' 頁', '', 1);
	});

	$('ul.nav.navbar-nav a').each(function () {
		if ($(this).text().match('Next')) $(this).html('<i class="icon-chevron-left icon-white"></i>下一頁');
		if ($(this).text().match('Prev')) $(this).html('上一頁<i class="icon-chevron-right icon-whitee"></i>');
		if ($(this).text().match('Fullscreen')) $(this).html('<i class="icon-fullscreen icon-white"></i>全螢幕');
		if ($(this).text().match('Full Spread')) $(this).html('<i class="icon-pause icon-white"></i>全頁');
		if ($(this).text().match('Single Page')) $(this).html('<i class="icon-stop icon-white"></i>單頁');
		if ($(this).attr("id") == 'fitVertical') $(this).html('切合<i class="icon-resize-vertical icon-white"></i>');
		if ($(this).attr("id") == 'fitHorizontal') $(this).html('切合<i class="icon-resize-horizontal icon-white"></i>');
	});

	$('div.donate').each(function () {
		if ($(this).html().match('Donate BTC')) $(this).html('<span class="rss-icon"><a href="/tag/female:masturbation-all.atom"><img src="/feed-icon-14x14.png"></a></span>捐贈 BTC: 14ko11NvcemFm2q5NpjpGiTbPhmB8pfnpC');
	});

	//CSS
	$("div#lang-drop").css({
		"width": "135px",
		"padding-top": "13px"
	});

	$('h3').css({
		"margin-bottom": "15px",
		"padding-left": "85px"
	});

	$('div.top-content').css('padding-top', '15px');
})();