Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 599 Bytes

build-your-own-plugin.md

File metadata and controls

15 lines (10 loc) · 599 Bytes

Build your own plugin

Plugin Structure

Entrypoints

APIs

  • This codebase provides a layer of abstraction to help you start building your own plugin without low-level headaches, APIs design follows the Observer Pattern.

  • Capabilities:

    • Intercept network traffic, including blocking, logging, and modifying requests/responses payloads (body)
    • Observe the page routing events
    • Observe common DOM elements (query boxes, homepage threads, etc.)
    • Interact with low-level DOM objects (the React fiber tree) to extract information that might not be rendered as html elements