Steam补充包制作时间显示

Steam已隐藏下一个补充包制作时间的显示,安装后可恢复显示

当前为 2018-07-26 提交的版本,查看 最新版本

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

You will need to install an extension such as Tampermonkey to install this script.

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name			When you can create Steam booster pack
// @name:zh-CN			Steam补充包制作时间显示
// @version	 		0.2
// @description			Show the time when you can create Steam booster pack at creator page.
// @description:zh-CN		Steam已隐藏下一个补充包制作时间的显示,安装后可恢复显示
// @author			QHS
// @include			*steamcommunity.com/*boostercreator*
// @icon			http://pan.hriq.org/steam.green.ico
// @namespace 			https://greasyfork.org/users/155548-黑山東雲光圈研究所
// @namespace 			https://steamcommunity.com/profiles/76561198132556503
// ==/UserScript==

$J('.booster_game_selector').after('<div id="atime_insert" style="color: #f56795;margin-bottom: 12px;"></div>');
$J( '#booster_game_selector' ).change( function() {
    check();console.log(1);
});
function check(){
	if ($J('#booster_game_selector_booster')[0].children.length > 0) {
		var atime = CBoosterCreatorPage.sm_rgBoosterData[$J( '#booster_game_selector' ).val()].available_at_time;
		if(atime){
			$J('#atime_insert').html('You will not be able to create another Booster Pack until '+atime+'.');
		}
	}
}check();