@@ -67,7 +67,7 @@ function menu_switch(menu_status, Name, Tips) {
6767 registerMenuCommand ( ) ; // 重新注册脚本菜单
6868} ;
6969
70- // 置顶显示时间 - 首页
70+ // 置顶显示时间 - 首页,来自:https://greasyfork.org/scripts/402808
7171function topTime_index ( )
7272{
7373 $ ( ".TopstoryItem" ) . each ( function ( ) {
@@ -107,7 +107,7 @@ function topTime_index()
107107 } )
108108}
109109
110- // 置顶显示时间 - 回答页
110+ // 置顶显示时间 - 回答页,来自:https://greasyfork.org/scripts/402808
111111function topTime_question ( )
112112{
113113 //回答的发布时间
@@ -149,7 +149,7 @@ function topTime_question()
149149 $ ( ".Pc-card.Card" ) . attr ( "style" , "display:none" )
150150}
151151
152- // 置顶显示时间 - 专栏/文章
152+ // 置顶显示时间 - 专栏/文章,来自:https://greasyfork.org/scripts/402808
153153function topTime_zhuanlan ( )
154154{
155155 //隐藏推荐文章
@@ -175,7 +175,7 @@ function topTime_zhuanlan()
175175 }
176176}
177177
178- // 置顶显示时间 - 搜索结果页
178+ // 置顶显示时间 - 搜索结果页,来自:https://greasyfork.org/scripts/402808
179179function topTime_search ( )
180180{
181181 $ ( ".ContentItem.AnswerItem, .ContentItem.ArticleItem" ) . each ( function ( ) {
@@ -214,7 +214,7 @@ function topTime_search()
214214 } )
215215}
216216
217- // 置顶显示时间 - 用户主页
217+ // 置顶显示时间 - 用户主页,来自:https://greasyfork.org/scripts/402808
218218function topTime_people ( )
219219{
220220 $ ( ".ContentItem.AnswerItem, .ContentItem.ArticleItem" ) . each ( function ( ) {
@@ -315,7 +315,7 @@ function directLink () {
315315 $ ( ".TopstoryItem--advertCard" ) . hide ( ) ;
316316}
317317
318- // 默认高清原图
318+ // 默认高清原图,来自:https://greasyfork.org/scripts/402808
319319function originalPic ( ) {
320320 $ ( "img" ) . each ( function ( ) {
321321 if ( $ ( this ) . attr ( "data-original" ) != undefined && ! $ ( this ) . hasClass ( "comment_sticker" ) )
@@ -392,12 +392,22 @@ function removeLogin() {
392392function EventXMLHttpRequest ( ) {
393393 var _send = window . XMLHttpRequest . prototype . send
394394 function sendReplacement ( data ) {
395+ console . log ( `111111` ) ;
395396 addTypeTips ( ) ;
396397 return _send . apply ( this , arguments ) ;
397398 }
398399 window . XMLHttpRequest . prototype . send = sendReplacement ;
399400}
400401
402+ ( function ( open ) {
403+ XMLHttpRequest . prototype . open = function ( ) {
404+ this . addEventListener ( "readystatechange" , function ( ) {
405+ console . log ( this . responseURL ) ;
406+ } , false ) ;
407+ open . apply ( this , arguments ) ;
408+ } ;
409+ } ) ( XMLHttpRequest . prototype . open ) ;
410+
401411( function ( ) {
402412 if ( document . querySelector ( 'button.AppHeader-login' ) ) { // 未登录时才会监听并移除登录弹窗
403413 removeLogin ( ) ;
@@ -406,7 +416,7 @@ function EventXMLHttpRequest() {
406416 }
407417
408418
409- // 默认折叠邀请
419+ // 默认折叠邀请,来自:https://greasyfork.org/scripts/402808
410420 let timer = setInterval ( function ( ) {
411421 if ( $ ( ".QuestionInvitation-content" ) . text ( ) . indexOf ( "更多推荐结果" ) > - 1 )
412422 {
0 commit comments