Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to patch loaded JS code #1

Open
tuxuser opened this issue May 16, 2021 · 2 comments
Open

Possibility to patch loaded JS code #1

tuxuser opened this issue May 16, 2021 · 2 comments

Comments

@tuxuser
Copy link

tuxuser commented May 16, 2021

Hey,

Is there a way to patch JS code, either by MITM it or re-routing to a local copy, contained inside the electron-container.

I guess CORS and those protections make it harder?

Target is vendor-client.<chunk-hex>.js

@AAGaming00
Copy link
Owner

While this should be possible to add, the DevTools (CTRL+SHIFT+I) should be good enough for this.

CORS is not an issue since this is an electron app so I have full control over the browser.

@AAGaming00
Copy link
Owner

AAGaming00 commented Jun 8, 2021

Also that chunk stuff is probably generated by webpack or rollup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants