QOS-Handler

QOS-Handler(window param ver)

אין להתקין סקריפט זה ישירות. זוהי ספריה עבור סקריפטים אחרים // @require https://update.greasyfork.org/scripts/430297/1128326/QOS-Handler.js

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

יוצר
CosilC
גרסה
0.2
נוצר
03-08-2021
עודכן
14-12-2022
Size
2.18 קילו-בייט
רישיון
GPL

用途:流量控制

说明:载入时赋值到window.qos内,包含三个方法

record(sec, timesLimit)

  • 描述:记录这次的访问时间戳,并返回是否超出限制
  • 参数:
    • sec 时间限制
    • @param timesLimit 次数限制
  • 返回:sec秒内访问了超过timesLimit次 ? true : false

clearRecord()

  • 描述:清除缓存中的记录

getRecord()

  • 描述:获取记录的历史
  • 返回:历史记录数组