Greasy Fork

Shined up real nice.

MSCSTSTS-TOOLS

自用工具库,命名空间mscststs

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/38220-mscststs-tools/code/MSCSTSTS-TOOLS.js?version=618337

Advertisement
Author
mscststs
Ratings
0 0 0
Version
0.0.1.20180806035702
Created
Updated
License
N/A
Applies to
All sites

Author's Description

自用工具库

命名空间 mscststs

  • wait方法,返回一个promise,参数为选择器。用于等待一个元素,第二参数为boolean,是否需要等待内容
  • sleep方法,返回一个promise,参数为毫秒。用于等待一定的时间