Greasy Fork is available in English.

直播间默认全屏并隐藏评论

进入直播间后默认网页全屏

// ==UserScript==
// @name         直播间默认全屏并隐藏评论
// @namespace    mscststs
// @version      0.1
// @description  进入直播间后默认网页全屏
// @author       mscststs
// @include     /^https:\/\/live\.bilibili\.com\/(?:blanc\/)?\d/
// @icon         https://www.google.com/s2/favicons?domain=bilibili.com
// @require      https://greasyfork.org/scripts/38220-mscststs-tools/code/MSCSTSTS-TOOLS.js?version=1025381
// @license      GNU GPLv3
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    async function init(){
        await mscststs.wait("video");
        let click = new Event("dblclick", {bubbles:true});
        document.querySelector("video").dispatchEvent(click);
        let re = await mscststs.wait("#aside-area-toggle-btn");
        re.dispatchEvent(new Event("click"))
        //re.className = re.className.replace(" hide-aside-area", "");
    }
    init();
})();