A library by CKylinMC combined all usually-used script segments.
이 스크립트는 직접 설치하는 용도가 아닙니다. 다른 스크립트에서 메타 지시문 // @require https://update.greasyfork.org/scripts/429720/1023740/CKTools.js을(를) 사용하여 포함하는 라이브러리입니다.
A library by CKylinMC combined all usually-used script segments.
get/getAll method - alias of querySelector/AllmakeDom async method - make a node and do something then return the node just created.getCookies/getUrlParam method - simplified script for using cookies and url params.wait async method - base waiting method, support async.waitForDom async method - wait until specified dom been found.waitForAttribute async method - wait until specified attribute been found.waitForPageVisible async method - wait until page been displayed.addStyle/clearStyles method - an easy way to manage injected styles.EventEmitter class - a simple emitter polyfill emulating nodejs.HoldClick class - a simple tool handling mouse-long-tap for desktop users.dragger.* object - a group of useful tools handling hold-and-drag for desktop users.modal.* object - a ready-to-go simple single-instance modal window.bili.* object - a group of useful tools for bilibili pages.There is no detailed documents for this library, for more information like usages please directly goto source code.