Monkey Utils

Useful library with JavaScript utilities.

此腳本不應該直接安裝,它是一個供其他腳本使用的函式庫。欲使用本函式庫,請在腳本 metadata 寫上: // @require https://update.greasyfork.org/scripts/405813/821710/Monkey%20Utils.js

作者
rafaelgomesxyz
版本
2.2.2
建立日期
2020-06-21
更新日期
2020-06-29
尺寸
5.5 KB
授權條款
未知

Useful library with JavaScript utilities.

It simplifies the process of:

  • Getting common time equivalents in milliseconds
  • Getting the plural form of a word based on a number
  • Getting a relative time string for a UNIX time or a number of minutes
  • Getting a date string in the 'yyyy-MM-dd hh:mm:ss UTC' format
  • Checking if a value is set
  • Sleeping for a number of seconds