Skip to content

Commit

Permalink
feat: hide fixed mission
Browse files Browse the repository at this point in the history
  • Loading branch information
jebibot committed Oct 11, 2024
1 parent 9a0ced3 commit 16a6eae
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
3 changes: 3 additions & 0 deletions _locales/ko/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,9 @@
"styles_hide_ranking": {
"message": "후원 랭킹 숨기기"
},
"styles_hide_fixed_mission": {
"message": "상단 고정 미션 숨기기"
},
"styles_left_chat": {
"message": "왼쪽 배치"
},
Expand Down
1 change: 1 addition & 0 deletions background.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ async function registerStyles(styles) {
"hide-blocked",
"hide-comp",
"hide-ff",
"hide-fixed-mission",
"hide-live-badge",
"hide-offline",
"hide-ranking",
Expand Down
1 change: 1 addition & 0 deletions styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
],
},
Expand Down
3 changes: 3 additions & 0 deletions styles/hide-fixed-mission.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[class*="live_chatting_fixed_mission_list__"] {
display: none;
}

0 comments on commit 16a6eae

Please sign in to comment.