|
75 | 75 | // @include http*://www.l-sj.cc/* |
76 | 76 | // @include http*://htacg.cc/* |
77 | 77 | // @include http*://www.htacg.cc/* |
78 | | -// @version 3.21.35 |
| 78 | +// @version 3.21.36 |
79 | 79 | // @grant GM_notification |
80 | 80 | // @grant GM_xmlhttpRequest |
81 | 81 | // @grant GM_setClipboard |
|
541 | 541 | header.innerHTML+="</br> <a href=\"#"+commId+"\">\u2605\u0020\u76f4\u8fbe\u8865\u6863\u59ec\u0020\u2605<\/a>"; |
542 | 542 | } |
543 | 543 | } |
544 | | - if(unsafeWindow.quote){ |
545 | | - var msg = "…" + unsafeWindow.quote + "…",pos = 0; |
546 | | - function scrollMsg() { |
547 | | - document.title = msg.substring(pos, msg.length) + msg.substring(0, pos); |
548 | | - pos++; |
549 | | - if (pos > msg.length) { |
550 | | - pos = 0; |
551 | | - document.title = originTitile; |
552 | | - }else{ |
553 | | - setTimeout(scrollMsg,250); |
554 | | - } |
555 | | - } |
556 | | - scrollMsg(); |
557 | | - } |
558 | 544 | if(isHttps){ |
559 | 545 | changeUrl(true,[["iframe"],[['http:','https:']]]); |
560 | 546 | changeUrl(true,[["object"],[['http:','https:']]]); |
|
573 | 559 | var articleTitle=document.querySelector(".entry-title"); |
574 | 560 | if(articleTitle){ |
575 | 561 | articleTitle.innerHTML="<font color='red' title='!\u53cd\u9e21\u590d\u5976!'>\u2642\u8def\u897f\u6cd5\u2642</font> "+articleTitle.innerHTML; |
576 | | - document.title = document.title.replace(/\u7409\u7483\u795e\u793e/,"\u5927\u5c4c\u795e\u793e"); |
| 562 | + originTitile = document.title = document.title.replace(/\u7409\u7483\u795e\u793e/,"\u5927\u5c4c\u795e\u793e"); |
577 | 563 | } |
578 | 564 | break; |
579 | 565 | } |
|
587 | 573 | },1); |
588 | 574 | }; |
589 | 575 | } |
| 576 | + if(unsafeWindow.quote){ |
| 577 | + var msg = "…" + unsafeWindow.quote + "…",pos = 0; |
| 578 | + function scrollMsg() { |
| 579 | + document.title = msg.substring(pos, msg.length) + msg.substring(0, pos); |
| 580 | + pos++; |
| 581 | + if (pos > msg.length) { |
| 582 | + pos = 0; |
| 583 | + document.title = originTitile; |
| 584 | + }else{ |
| 585 | + setTimeout(scrollMsg,250); |
| 586 | + } |
| 587 | + } |
| 588 | + scrollMsg(); |
| 589 | + } |
590 | 590 | break; |
591 | 591 | case "萌心次元": |
592 | | - //if(isHttps)addInsertHandler([["body","a","img","link","script"],[['p:(\\\/\\\/|\\\\\\/\\\\\\/)(www\\\.)?moxacg','ps:$1$2moxacg']]]); |
593 | 592 | break; |
594 | 593 | case "次元轨迹": |
595 | 594 | if(isHttps){ |
|
0 commit comments