entWindow.document;
      if (
        !lazy.Readerable.shouldCheckUri(doc.documentURIObject) ||
        !lazy.Readerable.isProbablyReaderable(doc)
      ) {
        return {
          url: this.contentWindow.location.href,
          title: doc.title || "",
          content: "",
          textContent: "",
          excerpt: "",
          isReaderable: false,
        };
      }

      const article = await lazy.ReaderMode.parseDocument(doc);

      return {
        url: this.contentWindow.location.href,
        title: article?.title || doc.title || "",
        content: article?.content || "",
        textContent: article?.textContent || doc.body?.innerText || "",
        excerpt: article?.excerpt || "",
        isReaderable: !!article,
      };
    } catch (e) {
      console.error("Error fetching page data:", e);
      return null;
    }
  }
}
PK