FBase Lib

Base library

Versión del día 24/07/2023. Echa un vistazo a la versión más reciente.

Este script no debería instalarse directamente. Es una biblioteca que utilizan otros scripts mediante la meta-directiva de inclusión // @require https://update.greasyforks.org/scripts/461948/1224586/FBase%20Lib.js

Autor
satology
Versión
0.0.11
Creado
16/03/2023
Actualizado
24/07/2023
Tamaño
5.33 KB
Licencia
Desconocida

FBase Lib

Simple library to provide different helper functions you could use in your own scripts.

Features

  • wait: simple promisified wait
  • rndInt: simple function to return a random integer within a range
  • isVisible: for elements
  • isUserFriendly: for elements and document
  • CrawlerWidget class: extendable class providing the previous mention helpers
  • RecaptchaWidget class: extendable class that returns a promise when a recaptcha is solved.
  • HCaptchaWidget class: extendable class that returns a promise when an hcaptcha is solved. It can be used this way:
let captcha = new HCaptchaWidget();
captcha.isSolved().then(.....);

You can overwrite the default selector when instantiating.

长期地址
遇到问题?请前往 GitHub 提 Issues。