Skip to content

Commit f7d3473

Browse files
committed
补充 新的分享链接域名
1 parent 093c43c commit f7d3473

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

Lanzou-Enhanced.user.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
// ==UserScript==
22
// @name 蓝奏云网盘增强
3-
// @version 1.3.5
3+
// @version 1.3.6
44
// @author X.I.U
55
// @description 刷新不回根目录、后退返回上一级、右键文件显示菜单、点击直接下载文件、自动显示更多文件、自定义分享链接域名、自动打开/复制分享链接、带密码的分享链接自动输密码、拖入文件自动显示上传框、输入密码后回车确认、调整描述(话说)编辑框初始大小
66
// @match *://*.lanzous.com/*
77
// @match *://*.lanzoux.com/*
88
// @match *://*.lanzoui.com/*
9+
// @match *://*.lanzouo.com/*
910
// @match *://pan.lanzou.com/*
1011
// @match *://lanzou.com/u
1112
// @match *://www.lanzou.com/account.php*
@@ -99,9 +100,7 @@
99100

100101

101102
if (window.top.location.pathname === '/u' || window.top.location.pathname.indexOf('account.php') > -1 || window.top.location.pathname.indexOf('mydisk.php') > -1) { // 后台页
102-
if (window.top.location.href != 'https://pc.woozooo.com/mydisk.php') {
103-
window.top.location.href = "https://pc.woozooo.com/mydisk.php"
104-
}
103+
if (window.top.location.href != 'https://pc.woozooo.com/mydisk.php') window.top.location.href = 'https://pc.woozooo.com/mydisk.php';
105104
var mainframe;
106105
iframe();
107106
} else if (window.top.location.pathname.indexOf('%') > -1) { // > 带密码的分享链接页面

0 commit comments

Comments
 (0)