When you can create Steam booster pack

Show the time when you can create Steam booster pack at creator page.

目前為 2018-06-03 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name			When you can create Steam booster pack
// @name:zh-CN			Steam补充包制作时间显示
// @version	 		0.1
// @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_goo_cost').after('<div id="atime_insert" style="color: #f56795;margin-bottom: 12px;"></div>');
$J( '#booster_game_selector' ).change( function() {
    check();
});
$J(function check(){
	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+'.');
	}
})();