Steam屏蔽链接还原

还原被删除的Steam链接。

// ==UserScript==
// @name         Steam屏蔽链接还原
// @license      GPL version 3
// @encoding     utf-8
// @namespace    https://sinon.top/
// @version      1.1
// @description  还原被删除的Steam链接。
// @author       SinonJZH
// @match        https://steamcommunity.com/*
// @match        https://store.steampowered.com/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    $J('.bb_removedlink').each(function(){
        var link = $J(this).next().html();
        var link_dis = $J(this).next().attr('href');
        link_dis = link_dis == "#" ? link : linkdis;
        var new_a = '<a href="' + link + '" target="_blank">' + link_dis + '</a>';
        $J(this).after(new_a);
        $J(this).hide();
    });
})();