Improved video full screen detection.
This commit is contained in:
parent
0428abcc6b
commit
d5c2da57e5
|
@ -9,8 +9,8 @@ Better YouTube + works to improve the YouTube experience by providing quick acce
|
|||
* It allows for quick access to the YouTube video slug.
|
||||
* It lets Unix, Linux, and MacOS systems the ability to download the video using native app calls.
|
||||
|
||||
# Version: 1.3.7
|
||||
* Controls hide with video full screen.
|
||||
# Version: 1.3.8
|
||||
* Improved video full screen detection.
|
||||
|
||||
# Download
|
||||
https://addons.mozilla.org/en-US/firefox/addon/better-youtube-plus/
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"manifest_version": 2,
|
||||
"name": "Better Youtube +",
|
||||
"version": "1.3.7",
|
||||
"version": "1.3.8",
|
||||
"description": "Enhancements for Youtube to have a better experience.",
|
||||
|
||||
"applications": {
|
||||
|
|
|
@ -162,12 +162,12 @@
|
|||
|
||||
// Functions
|
||||
const controlManager = () => {
|
||||
if (ytEnhancerMenu.style.display == "block") {
|
||||
ytEnhancerMenu.style.display = "none";
|
||||
slugInputTag.style.display = "none";
|
||||
} else {
|
||||
if (window.innerHeight == screen.height) {
|
||||
ytEnhancerMenu.style.display = "block";
|
||||
slugInputTag.style.display = "block";
|
||||
} else {
|
||||
ytEnhancerMenu.style.display = "none";
|
||||
slugInputTag.style.display = "none";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue