Greasy Fork

Greasy Fork is available in English.

CKTools

A library by CKylinMC combined all usually-used script segments.

当前为 2021-07-22 提交的版本,查看 最新版本

此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.greasyfork.icu/scripts/429720/953040/CKTools.js

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
CKylinMC
版本
0.1
创建于
2021-07-22
更新于
2021-07-22
大小
13.1 KB
许可证
GPLv3 License

A library by CKylinMC combined all usually-used script segments.

Included

  • get/getAll - alias of querySelector/All
  • makeDom - 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.