Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/browser/components/genai/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 657 B image not shown  

SSL PageAssistParent.sys.mjs   Sprache: unbekannt

 
rahmenlose Ansicht.mjs DruckansichtUnknown {[0] [0] [0]}Mathematik

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

/**
 * JSWindowActor to pass data between PageAssist singleton and content pages.
 */
export class PageAssistParent extends JSWindowActorParent {
  /**
   * Get page data
   *
   * @returns {Promise<{
   *  url: string,
   *  title: string,
   *  content: string,
   *  textContent: string,
   *  excerpt: string,
   *  isReaderable: boolean
   * } | null>}
   */
  async fetchPageData() {
    return this.sendQuery("PageAssist:FetchPageData");
  }
}

[Verzeichnis aufwärts0.49unsichere Verbindung]