// ==UserScript==
// @name 福利吧 看得见
// @namespace zxh
// @version 1.0
// @icon http://www.wnflb.com/favicon.ico
// @description 在福利吧帖子中将隐藏的链接、文字高亮显示 更新匹配所有福利URL
// @author zxh
// @match *://www.wnflb.com/thread-*
// @match *://www.wnflb.com/forum.php?mod=viewthread&tid=*
// @match *://www.wnflb19.com/forum.php?mod=viewthread&tid=*
// @match *://www.wnflb2020.com/forum.php?mod=viewthread&tid=*
// @match *://www.wnflb*.com/forum.php?mod=viewthread&tid=*
// @match *://www.*flb*.com/forum.php?mod=viewthread&tid=*
// @match *://www.52pojie.cn/forum.php?mod=viewthread&tid=*
// @require https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js
// @blog http://selier.cnblogs.com/
// @downloadURL https://update.greasyfork.icu/scripts/419985/%E7%A6%8F%E5%88%A9%E5%90%A7%20%E7%9C%8B%E5%BE%97%E8%A7%81.user.js
// @updateURL https://update.greasyfork.icu/scripts/419985/%E7%A6%8F%E5%88%A9%E5%90%A7%20%E7%9C%8B%E5%BE%97%E8%A7%81.meta.js
// ==/UserScript==
(function() {
$(".t_f font").attr("color", "red");
$(".t_f a>font").text("好孩子看这!");
$(".t_f a").each(function() {
var contains = $(this).text();
if(contains.length < 2) {
$(this).html("好孩子看这!");
}
});
var html = $('td[id^="postmessage_"]').eq(0).html();
var reg = /()(https?:\/\/.*?)"+s+"<";
//});
html = html.replace(reg,function(rs,$1,$2,offset,source){
return $1+""+$2+"<";
});
$('td[id^="postmessage_"]').eq(0).html(html);
})();