Last active
December 1, 2016 13:23
-
-
Save myfreeer/6c5dd2b24a67b4ddcf49d3202f084e24 to your computer and use it in GitHub Desktop.
按发帖时间排序小书签,对discuz特别的优化
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:void((function(){if(/\#tabA|-orderway-|orderby=/.test(location.href))return;var bydate = document.querySelectorAll('#filter_dateline_menu > .pop_moremenu a[href*="orderby=dateline"], #filter_threadsort_menu > .pop_moremenu a[href*="orderby=dateline"], #filter_orderby_menu a[href*="orderby=dateline"], .colplural .author a[href*="orderby=dateline"], a[href$="orderby=dateline"]') || document.querySelectorAll('.content_filter a[href*="orderby=postdate"], .thread_sort a[href*="orderway"][href*="postdate"], #threadlist .mr20 a[href][onclick^="orderThreads(\'postdate\')"]'); for(var i in bydate) if (bydate[i].href&&bydate[i].href.match(location.href.match(/(fid=|forum-)([0-9]+)/)[2]))location.href=bydate[i].href;})()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment