Greasy Fork is available in English.

吾爱破解网盘链接激活工具 by lsj8924 fix by heartnn

激活吾爱破解论坛的百度和360网盘的链接,可以直接点击。

// ==UserScript==
// @name        吾爱破解网盘链接激活工具 by lsj8924 fix by heartnn
// @namespace   https://greasyfork.org/users/10250
// @description 激活吾爱破解论坛的百度和360网盘的链接,可以直接点击。
// @include     http://www.52pojie.cn/forum*
// @include     http://www.52pojie.cn/thread*
// @include     https://www.52pojie.cn/forum*
// @include     https://www.52pojie.cn/thread*
// @version     1.0.4fix4
// @grant       unsafeWindow
// @require     http://cdn.bootcss.com/jquery/2.2.4/jquery.min.js
// ==/UserScript==
function activelink(re, nre) {
  $('.t_f').each(function () {
    //console.log('info:'+ $(this).html());
    // var link = re.exec($(this).html());
    if (($(this).html()).match(nre)) return;
    var link = ($(this).html()).match(re);
    console.log(link);
    if (link) {
      var ss = $(this).html();
      ss = ss.replace(re, '<a target="_blank" href="$1" style="color: rgb(63, 211, 68); text-decoration:none;">$1</a>');
      $(this).html(ss);
    }
  });
}
var re_baidu = /((?:https?:\/\/)?(?:yun|pan|eyun).baidu.com\/(?:s\/[0-9a-zA-Z_\-]*|share\/\S*\d))/g;
var re_ex_baidu = /(href="https?:\/\/(yun|pan|eyun).baidu.com\/(?:s\/[0-9a-zA-Z_\-]*|share\/\S*\d))/g;
activelink(re_baidu, re_ex_baidu);
var re_360 = /(https?:\/\/yunpan.360.cn\/surl_\w*)/g;
var re_ex_360 = /href="https?:\/\/yunpan.360.cn\/surl_\w*/g;
activelink(re_360, re_ex_360);
var re_weiyun = /(https?:\/\/(share.weiyun.com|url.cn)\/\w*)/g;
var re_ex_weiyun = /href="https?:\/\/(share.weiyun.com|url.cn)\/\w*/g;
activelink(re_weiyun, re_ex_weiyun);
var re_lanzou = /(https?:\/\/www.lanzous.com\/\w*)/g;
var re_ex_lanzou = /href="https?:\/\/www.lanzous.com\/\w*/g;
activelink(re_lanzou, re_ex_lanzou);

var temp = /(<\/font><font color="#\w*">h<\/font><font color="#\w*">t<\/font>.*font>)/g;
  $('.t_f').each(function () {
     var link = ($(this).html()).match(temp);
     if (link){
     link = link[0].replace(/<font color="#\w*">|<\/font>/g,"").match(/htt.*?(?=\s)/)[0];
     console.log(link);
     }
      var ss = $(this).html();
      var m =  '<a target="_blank" href=' + link +' style="color: rgb(63, 211, 68); text-decoration:none;">$1</a>';
      ss = ss.replace(temp,m);
      $(this).html(ss);

  });