File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88// @namespace http://tampermonkey.net/
99// @require https://cdn.jsdelivr.net/jquery/1.7.2/jquery.min.js
1010// @require https://cdn.jsdelivr.net/hi-base64/0.2.0/base64.min.js
11- // @version 1.2.2
11+ // @version 1.2.3
1212// @author Hoothin
1313// @mail rixixi@gmail.com
1414// @include http*://*/*
362362 break ;
363363 }
364364 }
365- if ( isDisk ) {
365+ if ( location . href . indexOf ( "pan.baidu.com/wap/home" ) != - 1 ) {
366+ if ( curlink ) location . href = "https://pan.baidu.com/disk/home" ;
367+ } else if ( location . href . indexOf ( "github.com/hoothin/UserScripts/tree/master/Easy%20offline" ) != - 1 ) {
368+ setting ( ) ;
369+ } else if ( isDisk ) {
366370 if ( curlink ) {
367371 diskFun ( ) ;
368372 GM_deleteValue ( 'eoUrl' ) ;
369373 }
370- } else if ( location . href . indexOf ( "pan.baidu.com/wap/home" ) != - 1 ) {
371- if ( curlink ) location . href = "https://pan.baidu.com/disk/home" ;
372- } else if ( location . href . indexOf ( "github.com/hoothin/UserScripts/tree/master/Easy%20offline" ) != - 1 ) {
373- setting ( ) ;
374374 } else {
375375 var MutationObserver = window . MutationObserver || window . WebKitMutationObserver || window . MozMutationObserver ;
376376 var observer = new MutationObserver ( function ( records ) {
You can’t perform that action at this time.
0 commit comments