|
42 | 42 | // @include http*://www.acgzone.org/* |
43 | 43 | // @include http*://uraban.me/* |
44 | 44 | // @include http*://www.uraban.me/* |
45 | | -// @version 3.20.09 |
| 45 | +// @version 3.20.10 |
46 | 46 | // @grant GM_notification |
47 | 47 | // @grant GM_xmlhttpRequest |
48 | 48 | // @run-at document-end |
|
330 | 330 | } |
331 | 331 | var has8=false; |
332 | 332 | var comms=document.querySelectorAll("span.fn"); |
333 | | - var msg = "…" + unsafeWindow.quote,pos = 0; |
334 | | - function scrollMsg() { |
335 | | - document.title = msg.substring(pos, msg.length) + msg.substring(0, pos); |
336 | | - pos++; |
337 | | - if (pos > msg.length) { |
338 | | - pos = 0; |
339 | | - document.title = originTitile; |
340 | | - }else{ |
341 | | - setTimeout(scrollMsg,150); |
342 | | - } |
343 | | - } |
344 | | - scrollMsg(); |
345 | 333 | for(var comm of comms){ |
346 | 334 | if(comm.innerHTML == "\u5c0f\u0038\u9171"){ |
347 | 335 | has8=true; |
|
352 | 340 | if(has8){ |
353 | 341 | var title=document.querySelector("h1.entry-title"); |
354 | 342 | if(title){ |
355 | | - title.innerHTML+="</br> <a href=\"#pa8\" style=\"color:#e30000\">\u2605\u5c0f\u0038\u9171\u2605<\/a>"; |
| 343 | + title.innerHTML+="</br> <a href=\"#pa8\" style=\"color:#e30000\">\u2605\u8865\u6863\u59ec\u5c0f\u0038\u9171\u2605<\/a>"; |
| 344 | + } |
| 345 | + } |
| 346 | + if(unsafeWindow.quote){ |
| 347 | + var msg = "…" + unsafeWindow.quote + "…",pos = 0; |
| 348 | + function scrollMsg() { |
| 349 | + document.title = msg.substring(pos, msg.length) + msg.substring(0, pos); |
| 350 | + pos++; |
| 351 | + if (pos > msg.length) { |
| 352 | + pos = 0; |
| 353 | + document.title = originTitile; |
| 354 | + }else{ |
| 355 | + setTimeout(scrollMsg,250); |
| 356 | + } |
356 | 357 | } |
| 358 | + scrollMsg(); |
357 | 359 | } |
358 | | - changeUrl(true,[["a"],[['^http:','https:']]]); |
| 360 | + if(isHttps)changeUrl(true,[["a"],[['^http:','https:']]]); |
359 | 361 | break; |
360 | 362 | case "sexacg": |
361 | 363 | contentArea='article'; |
|
0 commit comments