Giter Club home page Giter Club logo

Comments (2)

pimterry avatar pimterry commented on May 24, 2024

Hmmmmm, I'm a bit resistant, since it's not really a browser, I'm not sure it's that relevant to this module (although I can see how it's relevant to Optic!) and it doesn't seem like it would share much logic either. Maybe it should be a standalone module?

Or if it's just launching the process with environment variables, that sounds very simple, why does it need to be a module at all? Or are there other details you're looking for?

If you're looking to intercept Electron apps automatically, HTTP Toolkit server can do that in the general case, for Postman and others: https://github.com/httptoolkit/httptoolkit-server/blob/master/src/interceptors/electron.ts. Doing so is a little more complicated than just the env vars. Env vars generally aren't used by node.js HTTP clients inside Electron's main process, which tend to ignore these settings. They'll only affect requests from the renderer, or from apps that specifically handle them (might include Postman, I'm not sure). Capturing that extra traffic too is possible by automatically attaching a debugger at startup and injecting some reconfiguration code before the main app runs.

from browser-launcher.

acunniffe avatar acunniffe commented on May 24, 2024

This makes sense! Thanks @pimterry β€” I played around a bit more with Postman and think I know how I’ll do it.

In general I don’t think I need it to be in the middle, but was hoping to maybe give back :)

thanks for all you do!

from browser-launcher.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.