DubHaters AnimeDao

redirects you from the dub version to the subbed version of the anime in Animedao

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         DubHaters AnimeDao
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  redirects you from the dub version to the subbed version of the anime in Animedao
// @author       78ThousandNumbers
// @match        https://animedao.to/anime/*-dubbed/
// @icon         https://www.google.com/s2/favicons?domain=animedao.to
// @grant        unsafeWindow
// ==/UserScript==

//Script Explanation:
//
//You go to "https://animedao.to/anime/attack-on-titan-dubbed/" (The Dubbed Version)
//automatically sends you to "https://animedao.to/anime/attack-on-titan/" (The Subbed Version)
//
//
// Made By 78ThousandNumbers for fun poggers
var BadDub = window.location.href;
//gets address location
window.onload = function(){
//on load of window, execute function()
console.log(BadDub);
//sends the url page of the dub to console
var Sub = BadDub.replace("-dubbed", '');
//replaces dubbed with nothing lol
console.log(Sub);
//sends the url page of the sub to console
window.location.assign(Sub);
//assign page to sub
};