// ==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 // @downloadURL 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", "wing", "fan_meeting", "3rd_produce_area", "4th_produce_area" ] firstTimeKeyAry.forEach(function(firstTimeKey){ firstTimeKey = "TheFirstTimeOf" + firstTimeKey; localStorage.setItem(firstTimeKey, true); }); /* オーディションやフェスでボタン押さなくても3倍速 */ localStorage.setItem("concertSpeed", 3); /* _shinyColorsLocalStorageSetter をセット */ localStorage.setItem("_shinyColorsLocalStorageSetter", true); } })();