🏠 Home 

腾讯文档外链自动跳转

解决腾讯文档外链中间页的问题


安装此脚本?
// ==UserScript==
// @name         腾讯文档外链自动跳转
// @namespace    http://www.chenjingtalk.com/
// @version      0.1
// @description  解决腾讯文档外链中间页的问题
// @author       chenjing
// @match        https://docs.qq.com/scenario/link.html*
// @grant        none
// ==/UserScript==
(function () {
'use strict';
var window_url = window.location.href;
var website_host = window.location.host;
//直接跳转到目标网页
if (website_host == "docs.qq.com") {
var temp_url = decodeURIComponent(window_url.substring(43));
if(temp_url){
location.href = temp_url;
}
}
})();