You will need to install a user script manager extension to install this script.
This script should not be not be installed directly. It is a library for other scripts to include with the meta directive
// @require https://greasyfork.org/scripts/429720-cktools/code/CKTools.js?version=953045
A library by CKylinMC combined all usually-used script segments.
get/getAllmethod - alias of
makeDomasync method - make a node and do something then return the node just created.
getCookies/getUrlParammethod - simplified script for using cookies and url params.
waitasync method - base waiting method, support async.
waitForDomasync method - wait until specified dom been found.
waitForAttributeasync method - wait until specified attribute been found.
waitForPageVisibleasync method - wait until page been displayed.
addStyle/clearStylesmethod - an easy way to manage injected styles.
EventEmitterclass - a simple emitter polyfill emulating nodejs.
HoldClickclass - 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.