HTML search engine

Constructors

Properties

Methods

Constructors

Properties

UNSUPPORTED_ELEMENTS: {
    APPLET: boolean;
    AREA: boolean;
    AUDIO: boolean;
    BASE: boolean;
    BODY: boolean;
    CANVAS: boolean;
    EMBED: boolean;
    HEAD: boolean;
    IFRAME: boolean;
    IMG: boolean;
    LINK: boolean;
    MAP: boolean;
    META: boolean;
    NOEMBED: boolean;
    NOSCRIPT: boolean;
    OBJECT: boolean;
    PARAM: boolean;
    PICTURE: boolean;
    SCRIPT: boolean;
    SOURCE: boolean;
    STYLE: boolean;
    SVG: boolean;
    TITLE: boolean;
    TRACK: boolean;
    VIDEO: boolean;
} = ...

We choose opt out as most node types should be searched (e.g. script). Even nodes like , could have textContent we care about.

Note: nodeName is capitalized, so we do the same here

Type declaration

  • APPLET: boolean
  • AREA: boolean
  • AUDIO: boolean
  • BASE: boolean
  • BODY: boolean
  • CANVAS: boolean
  • EMBED: boolean
  • HEAD: boolean
  • IFRAME: boolean
  • IMG: boolean
  • LINK: boolean
  • MAP: boolean
  • META: boolean
  • NOEMBED: boolean
  • NOSCRIPT: boolean
  • OBJECT: boolean
  • PARAM: boolean
  • PICTURE: boolean
  • SCRIPT: boolean
  • SOURCE: boolean
  • STYLE: boolean
  • SVG: boolean
  • TITLE: boolean
  • TRACK: boolean
  • VIDEO: boolean

Methods