diff --git a/app/src/main/assets/web_extensions/webcompat_youtube/main.js b/app/src/main/assets/web_extensions/webcompat_youtube/main.js index 812e77894..e4eefd5d5 100644 --- a/app/src/main/assets/web_extensions/webcompat_youtube/main.js +++ b/app/src/main/assets/web_extensions/webcompat_youtube/main.js @@ -26,7 +26,7 @@ class YoutubeExtension { // If missing, inject a `` tag to trigger YouTube's mobile layout. overrideViewport() { - const content = `width=device-width;`; + const content = `width=device-width;maximum-scale=1;minimum-scale=1;initial-scale=1;`; let viewport = document.querySelector('meta[name="viewport"]'); if (viewport) { viewport.setAttribute('content', content);