vconsole extension
// ==UserScript==
// @name vconsole
// @include *
// @supportURL https://github.com/sxlgkxk/browser_script/issues
// @version 0.1
// @description vconsole extension
// @namespace http://sxlgkxk.github.io/
// @author sxlgkxk
// @icon http://sxlgkxk.github.io/im/avatar.jpg
// @license MIT
// @grant GM_getValue
// @grant GM_setValue
// @grant GM_xmlhttpRequest
// ==/UserScript==
(function(){
function addScript(src) {
var scripts_dom = document.createElement('script');
scripts_dom.src = src;
scripts_dom.type = 'text/javascript';
document.getElementsByTagName('head')[0].appendChild(scripts_dom);
}
addScript('https://unpkg.com/vconsole@latest/dist/vconsole.min.js')
let wait_vconsole_interval=setInterval(function(){
if (!window.VConsole){
console.log("waiting vconsole")
return
}
clearInterval(wait_vconsole_interval)
vConsole = new window.VConsole({ theme: 'dark' });
},200)
})();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址