- Download
script.pac
to/home/user/script.pac
- Go to FF network settings and select 'Automatic proxy configuration URL'
- Enter
file:///home/user/script.pac
- Enjoy
Note: If you're using SOCKS v5 you might want to also select 'Proxy DNS when using SOCKS v5'
Tested on 116.0.2 (64 bit) Arch Linux
Good to know: If you enable the automatic detection of settings, Web Proxy Auto-Discovery Protocol will fetch the PAC file it was set up with for all your devices, with the needing to enter the URL every time.