mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-26 00:25:56 +03:00
[GH-ISSUE #557] Scripting Feature #555
Labels
No labels
Discussion
Feature request
In Progress...
Plugins
Waiting response
Windows
Windows
bug
duplicate
enhancement
feature
good first issue
iOS
macOS 10.11
question
wontfix
✅ Done
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Proxyman#555
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @NghiaTranUIT on GitHub (Jul 19, 2020).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/557
Originally assigned to: @NghiaTranUIT on GitHub.
Description
It's time to implement the Scripting feature on Proxyman, which allows Proxyam-ers to write JS Scripting code to inject to Proxyman and manipulate the Request and Response on the fly.
It's designed to replace the UI Rewrite tools from Charles Proxy since the UI is complicated and hard to use.
There are three hooks to write JS:
Acceptance Criteria
@RenderCoder commented on GitHub (Aug 16, 2020):
Hope has a nice way to debug script code, or just able to print log (maybe this is enough)
@edba commented on GitHub (Aug 22, 2020):
@NghiaTranUIT Are you planing to add some way to share some state between the request and response hook?
@NghiaTranUIT commented on GitHub (Aug 22, 2020):
Yes, it's possible @edba because it's just a JS file with two request and response func. You can define a shared variable and use it.
@edba commented on GitHub (Aug 22, 2020):
Oh, awesome! 👍
@NghiaTranUIT commented on GitHub (Aug 27, 2020):
@edba @Bijiabo @mudox The Scripting feature is released on Proxyman 2.5.1 https://github.com/ProxymanApp/Proxyman/releases/tag/2.5.0
Let update to the latest build and checkout the Doc https://docs.proxyman.io/scripting/script. Thank you guys 🙌