A library by CKylinMC combined all usually-used script segments.
La data de
Acest script nu ar trebui instalat direct. Aceasta este o bibliotecă pentru alte scripturi care este inclusă prin directiva meta a // @require https://update.greasyfork.org/scripts/429720/953040/CKTools.js
A library by CKylinMC combined all usually-used script segments.
get/getAll - alias of querySelector/AllmakeDom - make a node and do something then return the node just created.getCookies/getUrlParam - simplified script for using cookies and url params.wait - base waiting method, support async.waitForDom - wait until specified dom been found.waitForAttribute - wait until specified attribute been found.waitForPageVisible - wait until page been displayed.addStyle/clearStyles - an easy way to manage injected styles.EventEmitter - a simple emitter polyfill emulating nodejs.HoldClick - a simple tool handling mouse-long-tap for desktop users.dragger.* - a group of useful tools handling hold-and-drag for desktop users.modal.* - a ready-to-go simple single-instance modal window.bili.* - 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.