Skip to content

Commit

Permalink
fix button label
Browse files Browse the repository at this point in the history
  • Loading branch information
rutan committed Aug 16, 2024
1 parent b9de4ec commit d5f543a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ export const NICO_VIDEO_TARGET_BUTTON_SELECTOR =
'.ControllerContainer .EnableFullScreenButton';
// 帰ってきたニコニコ動画
export const NICO_VIDEO_KAETTEKITA_TARGET_BUTTON_SELECTOR =
'button[aria-label="全画面表示する"][class="cursor_pointer"]';
// 帰ってきたニコニコ動画(旧)
// しばらく様子を見て、完全にこっちが使われて無さそうなら削除する
export const NICO_VIDEO_KAETTEKITA_OLD_TARGET_BUTTON_SELECTOR =
'button[aria-label="フルスクリーン表示"][class="cursor_pointer"]';
// ニコニコ生放送
export const NICO_LIVE_TARGET_BUTTON_SELECTOR =
Expand All @@ -51,6 +55,7 @@ export const NICO_LIVE_TARGET_BUTTON_SELECTOR =
export const TARGET_BUTTON_SELECTOR = [
NICO_VIDEO_TARGET_BUTTON_SELECTOR,
NICO_VIDEO_KAETTEKITA_TARGET_BUTTON_SELECTOR,
NICO_VIDEO_KAETTEKITA_OLD_TARGET_BUTTON_SELECTOR,
NICO_LIVE_TARGET_BUTTON_SELECTOR,
].join(',');

Expand Down

0 comments on commit d5f543a

Please sign in to comment.