Skip to content

Domiii/proxy-play

Repository files navigation

Acts as a proxy to inject Dbux into all scripts of any website, before they execute in the browser, thereby allowing to analyze any website's scripts with Dbux.

Usage

  1. Install the dbux-code VSCode extension.
  2. Open VSCode and start the Dbux Runtime Server.
  3. yarn install
  4. yarn start
  5. Go to: http://localhost:8080/https://stackoverflow.com
  6. Analyze your files!

How does it work?

Instrumentation primarily happens in src/transforms/javascriptTransform.js and src/transforms/instrument.js.

TODO

  • gather urls that are not instrumented (being sent straight to the domain, not under any child route)
  • store files, so we can actually "go to code", "select traces" etc.
  • caching (because instrumentation is slow on large files)
  • whitelisting of "too large files"
  • work around CSP

About

A very basic HTTP proxy to allow us (later) play with injection.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages