SteamGifts - Giveaway Error Link

https://www.steamgifts.com/discussion/VuO2j/the-link-in-you-dont-have-permission-to-view-this-giveaway-should-point-to-the-game-page-on-steam

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         SteamGifts - Giveaway Error Link
// @namespace    Royalgamer06
// @version      0.2
// @description  https://www.steamgifts.com/discussion/VuO2j/the-link-in-you-dont-have-permission-to-view-this-giveaway-should-point-to-the-game-page-on-steam
// @author       Royalgamer06
// @include      /https?\:\/\/(www\.)?steamgifts\.com\/giveaway\/[A-z0-9]{5}\/.+/
// @grant        GM_info
// ==/UserScript==

/*
const change_to_steam_search = false; //If true, searches steam instead of steamgifts

$(document).ready(function() {
    var elem = $(".table__column__secondary-link");
    if (elem.length == 1) elem[0].href = (change_to_steam_search ? "http://store.steampowered.com/search/?term=" : "https://www.steamgifts.com/giveaways/search?q=") + encodeURIComponent(elem[0].innerHTML);
});*/

if (confirm("Userscript '" + GM_info.script.name + "' is now part of 'Enhanced SteamGifts & SteamTrades'. Please remove this userscript. Press OK to get the new userscript.")) location.href = "https://github.com/rafaelgs18/ESGST/raw/master/ESGST.user.js";