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
قۇرۇلغان ۋاقتى
2021-08-03
يېڭىلانغان ۋاقتى
2022-12-14
Size
2.2 KB
ئىجازەتنامىسى
GPL

用途:流量控制

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

record(sec, timesLimit)

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

clearRecord()

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

getRecord()

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