Last active
September 9, 2024 08:22
-
-
Save hungngocphat01/a78a185ec7147b7a349bc868de9bb172 to your computer and use it in GitHub Desktop.
nhk-plus-sub.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.querySelector(".hls-player_message").remove(); | |
var subtitleCanvasElem = document.querySelector(".hls-player_in-subtitle"); | |
subtitleCanvasElem.style.height = "70%"; | |
subtitleCanvasElem.style.width = "70%"; | |
subtitleCanvasElem.style.top = "unset"; | |
// To use on mobile: | |
// javascript:(function () { document.querySelector(".hls-player_message").remove(); var subtitleCanvasElem = document.querySelector(".hls-player_in-subtitle"); subtitleCanvasElem.style.height = "70%"; subtitleCanvasElem.style.width = "70%"; subtitleCanvasElem.style.top = "unset"; })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment