Proxyman Documentation
Homepage
Pricing
Blog
Download
Search…
Overview
Changelog
License
License Manager
Command-line
Proxyman iOS
Proxyman for iOS
Debug on Devices
macOS
iOS Device
iOS Simulator
tvOS & watchOS
Android Device & Emulator
Firefox
Java VMs
Python
Ruby
React Native
Flutter
HTTP Clients
Docker
Atlantis
Atlantis for iOS
BASIC FEATURES
Proxyman Proxy Helper Tool
Request / Response Previewer
SSL Proxying
Import / Export
Content Filter
Multiple Tabs
Horizontal/Vertical/Window Layout
Copy as
Custom Previewer Tab
Custom Header Column
Regex (Regular Expression)
Filter JSON Response
Highlight by Color and Add Comment
Import / Export Settings
Multipart Form-Data Previewer
JSONPath
Customize Toolbar
ADVANCED FEATURES
Repeat
Edit & Repeat
Compose new Request
No Caching
Breakpoint
Breakpoint Templates
Map Local (File)
Map Local (Directory)
Map Remote
External Proxy
Save Session
Protobuf
WebSocket
Clear Session
Block List
Allow List
Charles Proxy Converter
Custom Certificates
GraphQL
Network Conditions
Multiple Filters
Publish to Gist
Reverse Proxy
Code Generator
Diff
Scripting
Scripting
async/await Request
Addons
Built-in JS Libraries
Write your own Addons
Snippet Code
Environment Variables
Troubleshooting
Proxyman does not work with VPN apps
My Remote Devices (iOS/Android) could not connect to Proxyman?
SSL Error from HTTPS Request/Response
I could not see any requests from my localhost server
*.local requests do not appear on Proxyman
I couldn't see any traffics on Proxyman
I couldn't see any requests from 3rd-party network libraries
[Breakpoint] Modify Request/Response by Raw Message
Could not change Proxyman App Icons
Lost data after updating Proxyman app?
Powered By
GitBook
Built-in JS Libraries
1. What's it?
Proxyman provides certain useful bundled
JS Libraries that help you achieve some tasks easily
Library Location:
~/Library/Application\ Support/com.proxyman.NSProxy/addons/libs
2. Built-in Libraries
Name
Description
Source
base64.js
Contains basic Base64 Encode/Decode
-
atob.js
window.atob()
​
https://github.com/jsdom/abab
​
btoa.js
window.btoa()
​
https://github.com/jsdom/abab
​
hashes.js
Contains various hashing function: MD5, RIPEMP-160, SHA1, SHA256, SHA512, HMAC
​
https://github.com/h2non/jshashes
​
lodash.js
Contains various text transformed functions
​
https://lodash.com
​
vkBeautify.js
pretty-print or minify text in XML, JSON, CSS and SQL formats.
​
https://github.com/kayhadrin/vkBeautify/
​
crypto-js.min.js
JavaScript implementations of standard and secure cryptographic algorithms, e.g. DES, AES, Rabbit, ... (Version 3.3.0)
​
https://cryptojs.gitbook.io/docs/
​
3. How to import my own JS Library?
1.
You can provide your own JS Library, but make sure you bundle all dependencies by using
Browserify
or
WebPack
to a single JS file.
2.
Make sure you export the func properly.
3.
Put the file at
~/Library/Application\ Support/com.proxyman.NSProxy/addons/libs/your-lib.js
4.
Importing the file by using
1
require
(
'@libs/your-lib.js'
);
Copied!
For instance,
1
const
Hashes
=
require
(
'@libs/hashes.js'
);
2
const
{
cssmin
}
=
require
(
'@libs/vkBeautify.js'
);
3
const
Lodash
=
require
(
'@libs/lodash.js'
);
4
const
{
atob
}
=
require
(
'@
[email protected]
'
)
Copied!
You might check built-in libraries for reference at
~/Library/Application\ Support/com.proxyman.NSProxy/addons/libs/
4. Notes
Thanks to
Ivan Mathy
for creating Boop app that facilitates Proxyman's built-in add-ons.
​
Scripting - Previous
Addons
Next - Scripting
Write your own Addons
Last modified
9mo ago
Copy link
Contents
1. What's it?
2. Built-in Libraries
3. How to import my own JS Library?
4. Notes