// ==UserScript==
// @name Shiny Colors Local Storage Setter
// @namespace http://tampermonkey.net/
// @version 0.1
// @description シャニマスの各ページ初回表示時に表示されるヘルプのポップアップ回避 & オーディションやフェスで倍速ボタン押さなくても3倍速
// @author kood
// @match https://shinycolors.enza.fun/*
// @grant none
// ==/UserScript==
(function() {
/* 以下の処理の最後に追加される _shinyColorsLocalStorageSetter がLocal Storageに無ければ実行 */
if(localStorage.getItem("_shinyColorsLocalStorageSetter") == null){
/* 各ページ初回表示時のポップアップ回避 */
var firstTimeKeyAry = [
"DeckEdit", "Evolution", "FesIdolDetail", "FesTop", "FesRewardUpdate",
"FesTowerPanelSelect", "FesTowerDeck", "FesTowerItem", "FesTowerAdvantage", "FesTowerLivePanel",
"FesTowerReset", "FesTowerItemTakeover", "Gasha", "HomeDeck", "IdolDetail",
"IdeaNote", "IdolRoad", "Invitation", "Mission", "ProduceItemPreparation",
"ProduceAbility", "ProduceBlock", "ProduceMusicSelect", "ProduceMusicSupporterSelect", "ProduceMusicInfo",
"ProduceMusicChange", "ProduceMusicOrder", "ProduceMusicAssignment", "ProduceActionFourth", "ReserveIdol",
"Shop", "SupportIdol", "Traning", "WorkActivity", "ProduceEndingExSkill",
"ExSkillList", "producerDeskTop", "producerLevel", "TheFirstTimeOfwing", "TheFirstTimeOffan_meeting",
"TheFirstTimeOf3rd_produce_area", "TheFirstTimeOf4th_produce_area"
]
firstTimeKeyAry.forEach(function(firstTimeKey){
firstTimeKey = "TheFirstTimeOf" + firstTimeKey;
localStorage.setItem(firstTimeKey, true);
});
/* オーディションやフェスでボタン押さなくても3倍速 */
localStorage.setItem("concertSpeed", 3);
/* _shinyColorsLocalStorageSetter をセット */
localStorage.setItem("_shinyColorsLocalStorageSetter", true);
}
})();