[GH-ISSUE #584] Hope I can inject a piece script into HTML response automatically #581

Open
opened 2026-03-03 19:20:00 +03:00 by kerem · 3 comments
Owner

Originally created by @RenderCoder on GitHub (Aug 16, 2020).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/584

For debugging scenario, sometimes want to inject some JavaScript code into the header of HTML response content, print some log or send to local server, or change some logic, hope can provide a way to do this.

Originally created by @RenderCoder on GitHub (Aug 16, 2020). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/584 For debugging scenario, sometimes want to inject some JavaScript code into the header of HTML response content, print some log or send to local server, or change some logic, hope can provide a way to do this.
Author
Owner

@NghiaTranUIT commented on GitHub (Aug 16, 2020):

It's what I'm working on #557

Screen Shot 2020-08-16 at 21 15 16

You can write your own JS code to change the header, status code and the body ask you wish.

For the Mocking Scripting (execute some a script after the Request is complete or under certain condition), I would like to introduce in the second version of the Scripting 😄

<!-- gh-comment-id:674532139 --> @NghiaTranUIT commented on GitHub (Aug 16, 2020): It's what I'm working on #557 <img width="2052" alt="Screen Shot 2020-08-16 at 21 15 16" src="https://user-images.githubusercontent.com/5878421/90336373-a4a5a980-e005-11ea-913a-b5fbe410e379.png"> You can write your own JS code to change the header, status code and the body ask you wish. For the Mocking Scripting (execute some a script after the Request is complete or under certain condition), I would like to introduce in the second version of the Scripting 😄
Author
Owner

@NghiaTranUIT commented on GitHub (Aug 16, 2020):

It's 70% done. Please stay tuned 🌮

<!-- gh-comment-id:674532177 --> @NghiaTranUIT commented on GitHub (Aug 16, 2020): It's 70% done. Please stay tuned 🌮
Author
Owner

@RenderCoder commented on GitHub (Aug 16, 2020):

It's 70% done. Please stay tuned 🌮

Thank you! Hope able to use this feature, ProxyMan have better UI than other proxy software!

<!-- gh-comment-id:674533566 --> @RenderCoder commented on GitHub (Aug 16, 2020): > It's 70% done. Please stay tuned 🌮 Thank you! Hope able to use this feature, ProxyMan have better UI than other proxy software!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Proxyman#581
No description provided.