FBase Lib

Base library

2023-07-20 기준 버전입니다. 최신 버전을 확인하세요.

이 스크립트는 직접 설치하는 용도가 아닙니다. 다른 스크립트에서 메타 지시문 // @require https://update.greasyfork.org/scripts/461948/1222667/FBase%20Lib.js을(를) 사용하여 포함하는 라이브러리입니다.

작성자
satology
버전
0.0.8
생성일
2023-03-16
갱신일
2023-07-20
크기
5.86KB
라이선스
해당 없음

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.