A library for shortened console.log, console.info, console.error
目前為
此腳本不應該直接安裝,它是一個供其他腳本使用的函式庫。欲使用本函式庫,請在腳本 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();
}