Greasy Fork is available in English.

FBase Lib

Base library

このスクリプトは単体で利用できません。右のようなメタデータを含むスクリプトから、ライブラリとして読み込まれます: // @require https://update.greasyfork.org/scripts/461948/1361801/FBase%20Lib.js

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください。
作者
satology
バージョン
0.0.12
作成日
2023/03/16
更新日
2024/04/17
ライセンス
不明

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.