GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Dexecure/JS-Proxy: A multithreaded man-in-the-middle proxy which captures JavaScript on the fly and lets you modify it using a callback.

BranchesTags
Open more actions menu

Latest commit

 

History

49 Commits
49 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
README.md
README.md
 
 
instrument.js
instrument.js
 
 
instrument_html.js
instrument_html.js
 
 
package.json
package.json
 
 
proxy.js
proxy.js
 
 

Repository files navigation

#JS-Proxy

A multithreaded man-in-the-middle proxy which captures JavaScript on the fly and lets you modify it using a callback.

##Installation

npm install node-js-proxy

The callback function is called for each node returned by a modified fork of falafel. (The node returned has a few extra attributes)

var proxy = require('node-js-proxy');

var options = {};
options.port = 9003;
options.parse = true;
options.threads = 3;
options.preprocess = function(input){
     // add in your preprocessing logic here
     return input;
};
options.postprocess = function(input){
     // add in your postprocessing logic here
     return input;
};
options.instrument = function(node) {
    if(node.type == "Program") {
   	node.update("'use strict;';\n" + node.source());
    }
}

proxy.start(options);

About

A multithreaded man-in-the-middle proxy which captures JavaScript on the fly and lets you modify it using a callback.

Resources

Readme
Activity
Custom properties

Stars

4 stars

Watchers

4 watching

Forks

3 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.