diff --git a/_locales/en/messages.json b/_locales/en/messages.json index c712c7c..9b8f775 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -245,6 +245,9 @@ "styles_hide_ranking": { "message": "Hide leaderboard" }, + "styles_hide_fixed_mission": { + "message": "Hide pinned mission" + }, "styles_left_chat": { "message": "Display in the left side" }, diff --git a/_locales/ko/messages.json b/_locales/ko/messages.json index 81d8337..7e7052d 100644 --- a/_locales/ko/messages.json +++ b/_locales/ko/messages.json @@ -248,6 +248,9 @@ "styles_hide_ranking": { "message": "후원 랭킹 숨기기" }, + "styles_hide_fixed_mission": { + "message": "상단 고정 미션 숨기기" + }, "styles_left_chat": { "message": "왼쪽 배치" }, diff --git a/background.js b/background.js index 46dbba0..c540fc0 100644 --- a/background.js +++ b/background.js @@ -49,6 +49,7 @@ async function registerStyles(styles) { "hide-blocked", "hide-comp", "hide-ff", + "hide-fixed-mission", "hide-live-badge", "hide-offline", "hide-ranking", diff --git a/styles.js b/styles.js index 46c6a30..1e36504 100644 --- a/styles.js +++ b/styles.js @@ -15,6 +15,7 @@ const STYLES = [ { id: "chat-font-size", type: "range", min: -6, max: 16, step: 1 }, { id: "chat-timestamp" }, { id: "hide-ranking" }, + { id: "hide-fixed-mission" }, { id: "left-chat" }, ], }, diff --git a/styles/hide-fixed-mission.css b/styles/hide-fixed-mission.css new file mode 100644 index 0000000..0ab8dad --- /dev/null +++ b/styles/hide-fixed-mission.css @@ -0,0 +1,3 @@ +[class*="live_chatting_fixed_mission_list__"] { + display: none; +}