Greasy Fork

来自缓存

Greasy Fork is available in English.

Steam Store - Open App in Steam Client

Adds Link in Steam Store Page to open page in the Steam Client, look for the green button to the right of the game title.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name       Steam Store - Open App in Steam Client
// @namespace  url://none
// @version    0.1
// @description	Adds Link in Steam Store Page to open page in the Steam Client, look for the green button to the right of the game title.
// @match      http://store.steampowered.com/app/*
// @copyright  Oddity
// ==/UserScript==

var locEl = document.querySelector("div.apphub_OtherSiteInfo"),
    appid = document.location.pathname.match(/\d+/),
	storeurl = "steam://store/"+appid,
    linkel = document.createElement("a");

linkel.setAttribute('href',storeurl);
linkel.className ="btnv6_green_white_innerfade btn_medium";
linkel.setAttribute('style',"font-size: 15px");
//linkel.text = "";
linkel.innerHTML ='<span><img src="http://store.akamai.steamstatic.com/public/images/v5/globalheader_logo.png" width="44" height="11">&#11016;</span>';
locEl.appendChild(linkel);