vConsole

【使用前先看介绍/有问题可反馈】手机浏览器控制台 (vConsole):在移动端手机浏览器中插入 vConsole 从而调用控制台,使用 via 浏览器进入该页面可添加脚本

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

You will need to install an extension such as Tampermonkey to install this script.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name         vConsole
// @name:cn      vConsole
// @namespace    http://tampermonkey.net/
// @version      0.1.2
// @description  【使用前先看介绍/有问题可反馈】手机浏览器控制台 (vConsole):在移动端手机浏览器中插入 vConsole 从而调用控制台,使用 via 浏览器进入该页面可添加脚本
// @author       cc
// @include      *
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    let script = document.createElement('script');
    script.type = 'text/javascript';
    script.src = 'https://cdn.bootcss.com/vConsole/3.3.0/vconsole.min.js';
    document.body.appendChild(script);
    script = document.createElement('script');
    script.type = 'text/javascript';
    script.innerHTML =
    `
        (function wait() {
            try {
                var vc = new VConsole();
                console.log('vConsole has been created.');
            } catch {
                setTimeout(wait, 50);
            };
        })();
    `;
    document.body.appendChild(script);
})();