NH_web

Common patterns for working with the WEB API.

Dit script moet niet direct worden geïnstalleerd - het is een bibliotheek voor andere scripts om op te nemen met de meta-richtlijn // @require https://update.greasyfork.org/scripts/478440/1304193/NH_web.js

Maker
Mike Castle (Nexus)
Versie
6
Gemaakt op
28-10-2023
Bijgewerkt op
31-12-2023
Licentie
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.