Youtube全画面

Execute UserScript

当前为 2025-04-03 提交的版本,查看 最新版本

// ==UserScript==
// @name        Youtube全画面
// @namespace    http://tampermonkey.net/
// @version      1.2
// @description  Execute UserScript
// @author       Your Name
// @match       https://m.youtube.com/*
// @grant       none
// @license MIT
// ==/UserScript==

(function() {
    'use strict';
    
    document.addEventListener('keydown', (e) => {
        
                if (e.key === 'c') {
                    javascript:(function() {     let url = window.location.href;     let newUrl = url;     if (url.includes('-all.html')) {         newUrl = url.replace(/-all\.html/, '-japanese.html');     } else if (url.includes('-japanese.html')) {         newUrl = url.replace(/-japanese\.html/, '-all.html');     }     if (newUrl !== url) {         window.location.href = newUrl;     } })();
                }
            
    });
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址