去nm的冒牌vue中文官网

重定向s马的冒牌vue中文官网到正版中文官网,并且移除中文官网的特别赞助(nm特别赞助的那个软件就是个废物,还不如vscode)

// ==UserScript==
// @name        去nm的冒牌vue中文官网
// @description  重定向s马的冒牌vue中文官网到正版中文官网,并且移除中文官网的特别赞助(nm特别赞助的那个软件就是个废物,还不如vscode)
// @namespace   namespace
// @include     *www.vue3js.cn/*
// @include     *v3.cn.vuejs.org/*
// @include     *cn.vuejs.org/*
// @version     1
// @grant       none
// @author       misaka10843
// @require https://libs.baidu.com/jquery/2.1.4/jquery.min.js
// @license GPL
// ==/UserScript==

var url = document.domain;
console.log(url)
    if(url == "www.vue3js.cn"){
            window.location.replace("https://v3.cn.vuejs.org/")
}
$(".special-sponsors").remove();
$("#special").remove();