Greasy Fork is available in English.

NH_web

Common patterns for working with the WEB API.

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

作者のサイトでサポートを受ける。または、このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください。
作者
Mike Castle (Nexus)
バージョン
6
作成日
2023/10/28
更新日
2023/12/31
ライセンス
GPL-3.0-or-later

lib/web - A NexusHoratio library.

Common patterns for working with the WEB API.

Exported properties (as of version 3)

  • version - Bumped per release.
  • clickElement - Run querySelector to get an element, then click it.
  • focusOnElement - Bring the Browser's focus onto element.
  • postInfoAboutElement - Post a bunch of information about an HTML element to issues.
  • isInput - Determines if the element accepts keyboard input.
  • otmot - One time mutation observer with timeout.
  • otrot - One time resize observer with timeout.
  • otrot2 - One time resize observer with action callback and duration.
  • waitForSelector - Wait for selector to match using querySelector.

More details are in web.js as JSDoc.