Last active
May 16, 2019 10:37
-
-
Save jae-jae/d03c0cb16356a49cb477a8e517e13e1f to your computer and use it in GitHub Desktop.
百度网盘不限速直链下载,百度网盘分享链接自动跳转到 PanDownload 网页版去下载。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name PanDownload网页版 - 百度网盘不限速直链下载 Jaeger | |
// @namespace https://github.com/jae-jae | |
// @version 1.3 | |
// @description 百度网盘分享链接自动跳转到 PanDownload 网页版去下载 | |
// @author Jaeger | |
// @match https://pan.baidu.com/s/* | |
// @match https://pan.baidu.com/share/* | |
// @match https://yun.baidu.com/s/* | |
// @grant GM_openInTab | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
let link = location.href; | |
link = link.replace('baidu.com','baiduwp.com'); | |
GM_openInTab(link, { active: true }); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment