您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Makes Udemy video player take up the entire screen viewport when it is expanded
// ==UserScript== // @name Full Size Udemy Video Player // @namespace http://tampermonkey.net/ // @version 2025-06-14 // @description Makes Udemy video player take up the entire screen viewport when it is expanded // @author Jacky Xu // @license MIT // @match https://www.udemy.com/* // @icon https://www.google.com/s2/favicons?sz=64&domain=udemy.com // @grant none // ==/UserScript== (function() { 'use strict'; // Your code here... function addGlobalStyle(css) { var head, style; head = document.getElementsByTagName('head')[0]; if (!head) { return; } style = document.createElement('style'); style.type = 'text/css'; style.innerHTML = css; head.appendChild(style); } addGlobalStyle("div[class*='curriculum-item-view--scaled-height-limiter--'][class*='curriculum-item-view--no-sidebar--'] { max-block-size: calc(100vh - 55px) !important; }"); })();