Console Tools

A library for shortened console.log, console.info, console.error

目前為 2016-05-23 提交的版本,檢視 最新版本

此腳本不應該直接安裝,它是一個供其他腳本使用的函式庫。欲使用本函式庫,請在腳本 metadata 寫上: // @require https://update.gf.qytechs.cn/scripts/19894/127236/Console%20Tools.js

// ==UserScript==
// @name         Console Tools
// @namespace    PXgamer
// @version      0.1
// @description  A library for shortened console.log, console.info, console.error
// @author       PXgamer
// @include      *kat.cr*
// @grant        none
// ==/UserScript==

function cl(variable) {
    'use strict';

    console.log(variable);
}
function ci(variable) {
    'use strict';

    console.info(variable);
}
function ce(variable) {
    'use strict';

    console.error(variable);
}
function cw(variable) {
    'use strict';

    console.warn(variable);
}
function ct(variable) {
    'use strict';

    console.trace(variable);
}
function cc() {
    'use strict';

    console.clear();
}

QingJ © 2025

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