Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 1.33 KB

ReadMe.md

File metadata and controls

9 lines (7 loc) · 1.33 KB

Reflect.parse WebExtensions API experiment Unlicensed work

This repo contains a pair of extensions and one demo webapp.

  • experiment directory contains the source of the experimental WebExtensions API for passing Reflect.parse API into WebExtensions. Install it first. nightly.link
  • extension directory contains a simple extension injecting the API into every webpage. nightly.link
  • page contains a simple webapp parsing JS source into an AST and showing that AST as pretty-printed JSON. Unfortunately, document_start doesn't work, so the app will likely say that the API is not present.

To install the WebExtensions Experiments into a regular (non-Developer Edition, non-Nightly) Firefox you need to patch it. I have created a tool to do it.