Resize Video To Window Size

Resize the video player for various sites to the window size.

当前为 2023-01-04 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Resize Video To Window Size
  3. // @description Resize the video player for various sites to the window size.
  4. // @author Chris H (Zren / Shade)
  5. // @namespace http://xshade.ca
  6. // @version 64
  7. // @include https://www.crunchyroll.com/*
  8. // @include https://beta.crunchyroll.com/*
  9. // @include https://static.crunchyroll.com/vilos-v2/web/vilos/player.html*
  10. // @include https://docs.google.com/file/*
  11. // @include https://drive.google.com/drive/*
  12. // @include https://drive.google.com/file/*
  13. // @include https://vimeo.com/*
  14. // @include http://onepieceofficial.com/videos.aspx*
  15. // @include http://www.onepieceofficial.com/videos.aspx*
  16. // @include https://www.youpak.com/watch*
  17. // @include https://olympics.cbc.ca/video/*
  18. // @include https://olympics.cbc.ca/divaPlayer/*
  19. // @include http://www.dailymotion.com/*
  20. // @include https://www.dailymotion.com/*
  21. // @include https://streamable.com/*
  22. // @include https://www.globaltv.com/shows/*
  23. // @include https://watch.globaltv.com/video/*
  24. // @include https://www.much.com/shows/south-park/episode/*/*/
  25. // @include http://*.ctvnews.ca/*
  26. // @include https://watch.cbc.ca/live/channel/*
  27. // @include https://watch.cbc.ca/live/*
  28. // @include https://www.ctv.ca/shows/*
  29. // @include https://www.ctv.ca/video/*
  30. // @include https://www.ctv.ca/*/Video*
  31. // @include https://www.ctv.ca/Movie/*
  32. // @include https://www.funimation.com/shows/*
  33. // @include https://www.funimation.com/player/*
  34. // @include https://www.crave.ca/*
  35. // @include https://tubitv.com/*
  36. // @grant GM_addStyle
  37. // ==/UserScript==
  38.  
  39. (function() {
  40. var fixedOverlayPlayer = function(selector) {
  41. var css = selector + "{";
  42. css += "position: fixed;";
  43. css += "top: 0;";
  44. css += "left: 0;";
  45. css += "right: 0;";
  46. css += "bottom: 0;";
  47. css += "}";
  48. GM_addStyle(css);
  49. };
  50.  
  51. var absoluteTopPlayer = function(selector, staticSelectors) {
  52. var css = selector + "{";
  53. css += "position: absolute;";
  54. css += "top: 0;";
  55. css += "left: 0;";
  56. css += "width: 100vw;";
  57. css += "height: 100vh;";
  58. css += "padding: 0;";
  59. css += "margin: 0;";
  60. css += "}";
  61. css += "body {";
  62. css += "margin-top: 100vh;";
  63. css += "margin-top: 100vh;";
  64. css += "padding-top: 0;";
  65. css += "}";
  66. if (staticSelectors) {
  67. css += staticSelectors + "{";
  68. css += "position: static";
  69. css += "}";
  70. }
  71. GM_addStyle(css);
  72. };
  73.  
  74. var movedTopPlayer = function(videoBoxElement) {
  75. document.body.insertBefore(videoBoxElement, document.body.firstChild);
  76. videoBoxElement.style.width = '100%';
  77. videoBoxElement.style.height = '100%';
  78. videoBoxElement.style.backgroundColor = '#000';
  79. };
  80.  
  81. var waitFor = function(selector, callback) {
  82. var tick = function(){
  83. var e = document.querySelector(selector);
  84. if (e) {
  85. callback(e);
  86. } else {
  87. setTimeout(tick, 100);
  88. }
  89. };
  90. tick();
  91. };
  92.  
  93. var bindJWPlayerSpacebar = function() {
  94. window.addEventListener('keydown', function(e){
  95. if (e.key == ' ' && e.target == document.body) {
  96. var video = document.querySelector('.jwplayer video')
  97. if (video) {
  98. e.preventDefault();
  99. if (video.paused) {
  100. video.play()
  101. } else {
  102. video.pause()
  103. }
  104. }
  105. }
  106. });
  107. };
  108.  
  109. var urlMatch = function(regexStr) {
  110. regexStr = regexStr.replace(/\//g, '\\/'); // Auto escape forward slashes to make url regexes more legible.
  111. var regex = new RegExp(regexStr);
  112. return regex.exec(window.location.href);
  113. };
  114.  
  115. if (document.location.host.endsWith('crunchyroll.com')) {
  116. // console.log('doc loc', document.location)
  117. // console.log('win loc', window.location)
  118. if (document.location.hostname == 'www.crunchyroll.com' || document.location.hostname == 'beta.crunchyroll.com') {
  119. var rvtwsHeaderClass = 'rvtws-header-hidden'
  120. var css = ''
  121. css += '.erc-header.'+rvtwsHeaderClass+' { position: absolute; }'
  122. css += '.erc-header.'+rvtwsHeaderClass+' .header-content { opacity: 0; transition: opacity: 0.1s; }'
  123. css += '.erc-header.'+rvtwsHeaderClass+' .header-content:hover { opacity: 1; }'
  124. css += '.erc-watch-episode-layout .video-player-wrapper { max-height: 100vh; height: 100vh; display: flex; }'
  125. // css += '.erc-watch-episode-layout .video-player { height: 56.25vw; align-self: center; }'
  126. GM_addStyle(css)
  127. function updateHeader() {
  128. var ercHeader = document.querySelector('.erc-header')
  129. var ercWatchEpisode = document.querySelector('.erc-watch-episode')
  130. if (ercHeader) {
  131. if (ercWatchEpisode) {
  132. ercHeader.classList.add(rvtwsHeaderClass)
  133. } else {
  134. ercHeader.classList.remove(rvtwsHeaderClass)
  135. }
  136. }
  137. }
  138. window.addEventListener('popstate', updateHeader)
  139. setInterval(updateHeader, 1000)
  140. updateHeader()
  141. } else if (document.location.hostname == 'static.crunchyroll.com' && document.location.pathname == '/vilos-v2/web/vilos/player.html') {
  142. GM_addStyle('#vilosRoot { height: 100vh !important; }');
  143. GM_addStyle('#vilosControlsContainer > div:first-child { margin-top: 3.75rem; }'); // Make room for header
  144. }
  145. } else if (document.location.href.startsWith('https://docs.google.com/file/')) {
  146. fixedOverlayPlayer('#drive-viewer-video-player-object-0');
  147. var css = 'body:not(:hover) .ytp-chrome-bottom { opacity: 0 !important; }';
  148. css += 'body:not(:hover) .drive-viewer-toolstrip { opacity: 0 !important; }';
  149. GM_addStyle(css);
  150. } else if (document.location.href.startsWith('https://drive.google.com/')) {
  151. fixedOverlayPlayer('.drive-viewer-video-player');
  152. var css = '.drive-viewer-toolstrip { opacity: 0 !important; }';
  153. css += '.drive-viewer-toolstrip:hover { opacity: 1 !important; }';
  154. GM_addStyle(css);
  155. } else if (document.location.href.startsWith('https://vimeo.com/')) {
  156. if (! /\/\d+/.exec(document.location.pathname))
  157. return;
  158. var css = '.js-player_area-wrapper, .player_area-wrapper, .player_area, .player_container, .player, .video-wrapper, .video, .video * { width: 100vw !important; height: 100vh !important; max-height: 100vh !important; }';
  159. css += '.vp-player-layout { left: 0 !important; top: 0 !important; width: 100vw !important; height: 100vh !important; }';
  160. css += '.clip_main > *:not(.player_area-wrapper) { margin-top: 70px; }';
  161. css += '.VimeoBrand_ColorRibbon, .body_ribbon, .topnav_desktop, .topnav_mobile { position: absolute; top: 100vh; width: 100%; }';
  162. css += '.topnav_desktop { top: calc(100vh + 5px); }';
  163. GM_addStyle(css);
  164.  
  165. // autoplay
  166. function tick() {
  167. var e = document.querySelector('button.play[aria-label="Play"]');
  168. if (e) {
  169. e.click();
  170. } else {
  171. setTimeout(tick, 100);
  172. }
  173. }
  174. setTimeout(tick, 100);
  175. } else if (document.location.host.endsWith('onepieceofficial.com')) {
  176. movedTopPlayer(document.querySelector('#FUNimationVideo'));
  177. } else if (document.location.host.endsWith('youpak.com')) {
  178. movedTopPlayer(document.querySelector('.videoWrapper'))
  179. var css = 'body > .container { padding-top: 60px; }'
  180. css += '.navbar-fixed-top { position: absolute; top: 100vh; }'
  181. css += 'body { padding-top: 0; }'
  182. GM_addStyle(css)
  183. } else if (document.location.host == 'olympics.cbc.ca') {
  184. console.log(document.location.pathname, document.location.pathname.match(/\/video\/([^\/]+)\/([^\/]+)(\/?)/))
  185. if (document.location.pathname.match(/\/video\/([^\/]+)\/([^\/]+)(\/?)/)) {
  186. var css = '.cbc-video--player-wrapper { position: static !important; }'
  187. css += '.cbc-video {'
  188. css += ' position: absolute !important;'
  189. css += ' top: 0 !important;'
  190. css += ' left: 0 !important;'
  191. css += ' padding: 0px !important;'
  192. css += ' margin: 0px !important;'
  193. css += ' width: 100% !important;'
  194. css += ' height: 100vh !important;'
  195. css += '}'
  196. css += 'figure.cbc-video--thumb-wrapper, a[data-js-hook="play-video"] picture img { max-height: 100vh !important; }'
  197. css += '.or-podium .or-box { position: static !important; }'
  198. css += '.or-podium .col-xs-1, .or-podium .col-sm-1, .or-podium .col-md-1, .or-podium .col-lg-1, .or-podium .col-xs-2, .or-podium .col-sm-2, .or-podium .col-md-2, .or-podium .col-lg-2, .or-podium .col-xs-3, .or-podium .col-sm-3, .or-podium .col-md-3, .or-podium .col-lg-3, .or-podium .col-xs-4, .or-podium .col-sm-4, .or-podium .col-md-4, .or-podium .col-lg-4, .or-podium .col-xs-5, .or-podium .col-sm-5, .or-podium .col-md-5, .or-podium .col-lg-5, .or-podium .col-xs-6, .or-podium .col-sm-6, .or-podium .col-md-6, .or-podium .col-lg-6, .or-podium .col-xs-7, .or-podium .col-sm-7, .or-podium .col-md-7, .or-podium .col-lg-7, .or-podium .col-xs-8, .or-podium .col-sm-8, .or-podium .col-md-8, .or-podium .col-lg-8, .or-podium .col-xs-9, .or-podium .col-sm-9, .or-podium .col-md-9, .or-podium .col-lg-9, .or-podium .col-xs-10, .or-podium .col-sm-10, .or-podium .col-md-10, .or-podium .col-lg-10, .or-podium .col-xs-11, .or-podium .col-sm-11, .or-podium .col-md-11, .or-podium .col-lg-11, .or-podium .col-xs-12, .or-podium .col-sm-12, .or-podium .col-md-12, .or-podium .col-lg-12 { position: static; }'
  199. css += 'body:not(.cbc-main-page) { padding-top: 100vh; }'
  200. GM_addStyle(css);
  201. var playVideoButton = document.querySelector('a[data-js-hook="play-video"]')
  202. if (playVideoButton) {
  203. playVideoButton.click()
  204. }
  205. } else if (document.location.pathname.startsWith('/divaPlayer')) {
  206. var css = '#videoContainer:not(:hover) > .caption { opacity: 0; }'
  207. css += '#videoContainer:not(:hover) .controlbar-diva { opacity: 0 !important; }'
  208. css += '#videoContainer:not(:hover) #icon-menu-diva { opacity: 0; }'
  209. css += '#videoContainer:not(:hover) diva-simple-controls { opacity: 0 !important; }'
  210. GM_addStyle(css);
  211. } else {
  212. return; // Keep scrollbars
  213. }
  214. } else if (false && document.location.host.endsWith('www.dailymotion.com')) {
  215. var css = '#player:not(:hover) .dmp_will-transition.dmp_is-transitioned--fadeinslide { opacity: 0; }';
  216. if (document.location.pathname.startsWith('/playlist')) {
  217. css += '#player_container { height: 100vh!important; width: 100vw!important; }';
  218. css += '#playerv5-iframe { width: 100% !important; height: 100% !important; }'; // playlists
  219. css += '.sd_header.sd_header--fixed { top: 100vh; position: absolute; }';
  220. css += '#content { margin-top: 60px; }';
  221. movedTopPlayer(document.querySelector('#player_container'));
  222. absoluteTopPlayer('#player_container');
  223.  
  224. GM_addStyle(css);
  225.  
  226. } else if (document.location.pathname.startsWith('/video')) {
  227. //css +='.main-container-player { display: none; }';
  228. //css += '#player { height: 100vh!important; width: 100vw!important; }';
  229. css += '.Player { height: 100vh!important; width: 100vw!important; }';
  230. css += '.Player { top: 0!important; left: 0!important; }';
  231. css += 'header { position: absolute!important; top: 100vh !important; }';
  232. css += 'footer { margin-top: 50px; }';
  233. css += 'div[class^="Video__placeholder___"] { margin-top: -180px; height: 100vh!important; }';
  234. GM_addStyle(css);
  235. document.addEventListener('load',function(){
  236. movedTopPlayer(document.querySelector('.Player'));
  237. });
  238. }
  239.  
  240. } else if (document.location.host.endsWith('streamable.com')) {
  241. if (document.location.pathname == '/') {
  242. return;
  243. }
  244. var css = '#player-content, #player.container .media-container, #player.container #filler, #player.container .player { max-width: 100% !important; width:100%; }';
  245. css += '#player.container #filler { padding-bottom: 100vh !important; }';
  246. css += '.player { background: #000; }';
  247. css += '#player.container .player { display: flex; }';
  248. css += '.player, #player.container video { max-height: 100vh; object-fit: contain; }';
  249. css += '#player > div[style="height:15px;"] { display: none; }';
  250. css += '#player.container .topbanner { display: none; }';
  251. GM_addStyle(css);
  252. } else if (document.location.host.endsWith('globaltv.com')) {
  253. var css = 'html, body, #root, .App, .Video {'
  254. css += 'min-height: 100%; height: 100%; max-height: 100%;'
  255. css += 'min-width: 100%; width: 100%; max-width: 100%;'
  256. css += '}'
  257. css += 'body { overflow-y: auto; }'
  258. GM_addStyle(css);
  259. waitFor('.jwplayer', function(jwPlayerElement) {
  260. waitFor('.jwplayer video', function(videoElement) {
  261. setTimeout(function() {
  262. videoElement.muted = false;
  263. }, 200)
  264. });
  265. });
  266. bindJWPlayerSpacebar();
  267. } else if (document.location.host.endsWith('much.com')) {
  268. var css = '#TopVideoWidgetSection, #ShowNav, #MainHeader, #MastHeadTakeover { display: none; }';
  269. css += '#ShowTop #PlayerWrapper, #ShowTop .container-fluid, #ShowTop #ShowInfo, #ShowTop {';
  270. css += 'margin: 0 !important; padding: 0 !important;';
  271. css += 'width: 100vw !important; height: 100vh !important; max-width: 100vw !important; max-height: 100vh !important;';
  272. css += '}';
  273. css += '#ShowTop #ShowInfo #EpisodeInfo { margin-top: 0 !important; }';
  274. css += '.jwplayer { max-height: 100vh; }';
  275. css += '#EpisodeInfo .new-episodes { display: none !important; }';
  276. GM_addStyle(css);
  277. } else if (document.location.host.endsWith('ctvnews.ca')) {
  278. if (window.location.pathname == '/latest') {
  279. // Redirect to latest video
  280. document.body.style.opacity = "0"
  281. document.documentElement.style.transition = "background 0.4s"
  282. document.documentElement.style.background = "#000"
  283. var latestVideoLink = document.querySelector('.mainnavigation + .drop_down + script + .drop_down > .drop_down_element_container > div > div > ul > li:first-child > a')
  284. if (latestVideoLink) {
  285. window.location.href = latestVideoLink.href
  286. }
  287. } else if (window.location.pathname == '/video') {
  288. var contentWrapper = document.querySelector('body > .content > .video-header > .content-wrapper')
  289. if (contentWrapper) {
  290. var header = document.querySelector('body > header')
  291. document.body.insertBefore(contentWrapper, header)
  292. var mediaplayerdiv = document.querySelector('#mediaplayerdiv')
  293.  
  294. contentWrapper.querySelector('.topname').style.display = "none"
  295. contentWrapper.style.width = "100%"
  296. contentWrapper.style.height = "100vh"
  297. contentWrapper.style.maxWidth = "100vw"
  298. contentWrapper.style.maxHeight = "100vh"
  299. contentWrapper.style.background="#000"
  300.  
  301. function onWindowResize() {
  302. var viewportWidth = document.documentElement.clientWidth
  303. var viewportHeight = document.documentElement.clientHeight
  304. var translate = "translate(" + ((viewportWidth - 960)/2) + "px, " + ((viewportHeight - 540)/2) + "px)"
  305. var scale = "scale(" + Math.min(viewportWidth / 960, viewportHeight / 540) + ")"
  306. mediaplayerdiv.style.transform = translate + " " + scale
  307. }
  308. window.addEventListener('resize', onWindowResize);
  309. onWindowResize();
  310. return; // Keep scrollbars
  311. }
  312. } else {
  313. return; // Keep scrollbars
  314. }
  315. } else if (document.location.host.endsWith('watch.cbc.ca')) {
  316. var css = '#masthead { position: absolute; z-index: 1; width: 100%; opacity: 0; transition: opacity 250ms ease-in-out; }';
  317. css += '#masthead:hover { opacity: 1; }';
  318. css += '.regional-channel .container { max-width: 100%; }';
  319. css += '.player-container.live, .jwplayer.jw-flag-aspect-mode { max-height: 100vh; }';
  320. css += '.jwplayer.jw-stretch-uniform video { object-fit: contain !important; }';
  321. css += '.regional-channel footer.regional-channel-footer, section.content-article.live { padding: 10px 0; }';
  322. css += 'section.content-article.live-premium { display: none; }';
  323. css += '.upgrade-banner, .live-premium, iframe.zEWidget-launcher { display: none; }';
  324. css += '.upgrade-banner + .app-container.with-banner-large { top: 0; }';
  325. css += '.content-article { padding-top: 0; padding-bottom: 0; }';
  326. css += '.content-section.live-detail-layout { max-width: 100%; }';
  327. GM_addStyle(css);
  328. } else if (document.location.host.endsWith('www.ctv.ca')) {
  329. var css = ''
  330. css += 'header.navigation { opacity: 0; position: fixed; }'
  331. css += 'header.navigation:hover { opacity: 1; }'
  332. css += '.main { padding-top: 0 !important; }'
  333. css += '#vidi-player-standalone { margin: 0vw 0vw 0; }'
  334. css += 'div[class*="VidiPlayerstyles__VidiPlayerStandAloneContainer"] { margin: 0vw 0vw 0; }'
  335. css += '.jwplayer.jw-flag-aspect-mode { min-height: 100vh !important; height: 100vh !important; max-height: 100vh !important; }'
  336. css += 'div[class*="BrowserNotificationstyles"] { display: none; }'
  337. css += 'div[class^="ArrowBackstyles__ButtonContainer"] { display: none; }'
  338.  
  339. css += 'div[class^="globalStyles__MainContainer"] { padding-top: 0 !important; }'
  340. css += 'div[class^="VidiPlayerstyles__VidiPlayerPageContainer"] { margin: 0 !important; }'
  341. GM_addStyle(css);
  342. waitFor('.jwplayer', function(jwPlayerElement) {
  343. waitFor('.jwplayer video', function(videoElement) {
  344. setTimeout(function() {
  345. videoElement.muted = false;
  346. }, 200)
  347. });
  348. });
  349. bindJWPlayerSpacebar();
  350. var reverseEpisodeOrder = [
  351. '/shows/the-daily-show-with-trevor-noah',
  352. ]
  353. waitFor('ul[class*="Episodesstyles__EpisodeList"]', function(ul) {
  354. if (reverseEpisodeOrder.indexOf(document.location.pathname) >= 0) {
  355. for (var i = 0; i < ul.children.length; i++) {
  356. ul.insertBefore(ul.children[i], ul.firstChild)
  357. }
  358. }
  359. });
  360. setInterval(function(){
  361. var e = document.querySelector('#__next div:not(.App)')
  362. if (e) {
  363. var h2 = e.querySelector('h2')
  364. if (h2 && h2.textContent == 'An unexpected error has occurred.') {
  365. // CTV doesn't like uBlockOrigin, so reload the page to workaround the AJAX React links breaking.
  366. window.location.reload()
  367. }
  368. }
  369. }, 100);
  370. } else if (document.location.host.endsWith('funimation.com')) {
  371. console.log('funimation.com')
  372. var videoBoxElement = document.querySelector('.video-player-section .video-player-container');
  373. console.log('videoBoxElement', videoBoxElement)
  374. if (videoBoxElement) {
  375. movedTopPlayer(videoBoxElement);
  376. videoBoxElement.classList.remove('col-md-10');
  377.  
  378. var css = 'html, body { width: 100%; height: 100%; }';
  379. css += '.video-player-container { width: 100vw !important; height: 100vh !important; }';
  380. css += '#funimation-main-site-header { position: absolute; top: 100vh; }';
  381. GM_addStyle(css);
  382. } else {
  383. console.log('location', document.location)
  384. waitFor('#brightcove-player', function(player){
  385. console.log('player', player)
  386. player.removeAttribute('muted')
  387. waitFor('.vjs-mute-control.vjs-vol-0', function(muteButton){
  388. console.log('muteButton', muteButton)
  389. muteButton.click()
  390. })
  391. })
  392. }
  393. } else if (document.location.host.endsWith('crave.ca')) {
  394. if (document.location.pathname.startsWith('/live')) return;
  395. var videoBoxElement = document.querySelector('video-player');
  396. if (!videoBoxElement) return;
  397. var css = 'footer, .back-button-wrapper, #mega-menu { display: none !important; }';
  398. css += '.container-site-margin { margin-left: 0; margin-right: 0; }';
  399. css += '.web-videoplayer { margin: 0; }';
  400. css += 'html .jwplayer.jw-flag-aspect-mode { height: 100vh !important; }';
  401. GM_addStyle(css);
  402. } else if (document.location.host.endsWith('tubitv.com')) {
  403. var css = 'header { transition: transform .3s, opacity .3s !important; }';
  404. css += 'header.hide-header { opacity: 0 !important }';
  405. css += 'header.hide-header:hover { opacity: 1 !important; }';
  406. css += 'header + div > div:first-child > div:first-child > div:nth-child(2) { top: 0 !important; left: 0 !important; width: 100% !important; height: 100vh !important; }';
  407. css += 'header + div > div:first-child > div:first-child > div:nth-child(2) > div:first-child > section { padding-top: 0 !important; height: 100vh !important; }';
  408. css += 'header + div > div:first-child > div:first-child > div:nth-child(2) > div:first-child > section > div > div:nth-child(2) > div:first-child { background-image: linear-gradient(0deg,rgba(0,0,0,0), rgba(0,0,0,0.25) 30%, rgba(0, 0, 0, 1) 90%); }';
  409. css += 'header + div > div:first-child > div:first-child > div:nth-child(2) > div:first-child > section > div > div:nth-child(2) > div:nth-child(2) { background-image: linear-gradient(180deg,rgba(0,0,0,0), rgba(0,0,0,0.25) 30%, rgba(0, 0, 0, 1) 90%); }';
  410. css += '#captionsComponent > span { background: none !important; font-size: 3rem !important;';
  411. css += 'text-shadow: 0 0 0.5rem #000, 0 0 0.5rem #000, 0 0 0.5rem #000, 0 0 0.5rem #000, 0 0 0.5rem #000, 0 0 0.5rem #000, 0 0 0.5rem #000, 0 0 0.5rem #000, 0 0 0.5rem #000, 0 0 0.5rem #000, 0 0 0.5rem #000, 0 0 0.5rem #000, 0 0 0.5rem #000, 0 0 0.5rem #000;';
  412. css += '}';
  413. GM_addStyle(css);
  414. var updateHeader = function() {
  415. var header = document.querySelector('header')
  416. if (header) {
  417. var video = document.querySelector('video')
  418. if (video) {
  419. header.classList.add('hide-header')
  420. } else {
  421. header.classList.remove('hide-header')
  422. }
  423. }
  424. }
  425. updateHeader()
  426. setInterval(updateHeader, 1000)
  427. }
  428.  
  429. GM_addStyle('html::-webkit-scrollbar { width: 0; height: 0; } body::-webkit-scrollbar { width: 0; height: 0; }');
  430. GM_addStyle('html { scrollbar-width: none; } body { scrollbar-width: none; }');
  431. })();