1.0.12 • Published 5 years ago
@ifyour/ipac v1.0.12
🗻 iPac
Another China domain whitelist for the SwitchyOmega plugin.
Feature
- Custom server IP address
- Custom port
- Cached query result set
- Service rollback downgrade
- Easy-to-maintain website library
Usage
- Open SwitchyOmega and select
New Profile - Select the
PAC profileoption with any name you want. - PAC web site filled in
https://ipac.now.sh/orhttps://unpkg.com/@ifyour/ipac - Click
update immediately, then save
API
GET /
| Param | Type | Default | Require | Description |
|---|---|---|---|---|
| socks5 | number | 1080 | false | SOCKS5 port, short: s |
| http | number | 1087 | false | HTTP port, short: h |
| ip | string | 127.0.0.1 | false | Default proxy host |
Example
- https://ipac.now.sh/?ip=192.168.199.214&h=1234
- https://ipac.now.sh/?socks5=1234&http=4321
- https://ipac.now.sh/?s=1234&h=4321
- https://ipac.now.sh/?s=1234
- https://ipac.now.sh/?h=4321
Note: https://unpkg.com/@ifyour/ipac does not support changing proxy IP and port numbers.
Sponsors
License
Licensed under The WTFPL License