DubHaters AnimeDao

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

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 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
};