online-fix.me & IGG button for steam

This script add's button to find game in igg or online-fix.me

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         online-fix.me & IGG button for steam
// @namespace    NefilimPL
// @version      0.0.4
// @description  This script add's button to find game in igg or online-fix.me
// @author       NefilimPL
// @match        https://store.steampowered.com/app/*
// @grant        none
// @require      https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js
// @license      MIT
// ==/UserScript==


var appName = document.getElementsByClassName("apphub_AppName")[0].textContent
var iggSearchBaseUrl = "http://igg-games.com/?s=";
$(".game_purchase_action_bg:first").append(' <a href="'+iggSearchBaseUrl+appName+'" style="margin-left: 10px; padding-right: 10px;">IGG</a> ');

var appName = document.getElementsByClassName("apphub_AppName")[0].textContent
var onlinefixSearchBaseUrl = "https://online-fix.me/index.php?do=search&subaction=search&story=";
$(".game_purchase_action_bg:first").append(' <a href="'+onlinefixSearchBaseUrl+appName+'" style="margin-left: 10px; padding-right: 10px;">ONLINE-FIX</a> ');