I want to get a script of bilibili to remove the on-screen and wide-screen screen, and click something like the following
// ==UserScript==
// @name BAlt
// @namespace http://tampermonkey.net/
// @version 0.2
// @description try to take over the world!
// @author You
// @match *://*.bilibili.com/*
// ==/UserScript==
setTimeout(function(){
document.querySelector(".bilibili-player-video-btn-widescreen").click();
document.querySelector(".bui-checkbox").click();
},1000);
but when I put it in the monkey, it only works on the wide screen, but it doesn"t work on the barrage, but I can test it on the console of the webpage. Why?