论坛最新帖

论坛点击最新永远获取最新,不是伪最新

// ==UserScript==
// @name       论坛最新帖
// @author	monsm
// @namespace  http://weibo.com/monsm
// @version    1.2
// @description  论坛点击最新永远获取最新,不是伪最新
// @match      http*://*bbs*
// @match      http*://*BBS*
// @match      http*://*FORUM*
// @match      http*://*forum*
// @match      http*://*/forum*
// @match      http*://*/FORUM*

// @copyright  2013+, monsm
// @license monsm
// ==/UserScript==
(function() {
    'use strict';
    var false_reg = "filter=lastpost&orderby=lastpost";
    var true_reg = "filter=author&orderby=dateline";
    if (window.location.href.indexOf(false_reg) > 0) {
        window.location.href = window.location.href.replace(false_reg, true_reg);
    }
    return;
})();