Greasy Fork is available in English.
A library by CKylinMC combined all usually-used script segments.
当前为
此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.greasyfork.icu/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.