Post

Replies

Boosts

Views

Activity

Reply to PAC ( Automatic Proxy Configuration ) Script Not working with Safari MacOS version 15.1
function FindProxyForURL(url, host) { var blacklist = new Set(["facebook.com", "deepseek.com", "www.deepseek.com"]); var b_list = [...blacklist]; for (let i = 0; i < b_list.length; i++) { let ele = b_list[i] + "*"; if (shExpMatch(host, ele) || shExpMatch(url, ele)) { return "PROXY localhost:8086"; } } return "PROXY localhost:8080"; } Hi, this is the full basic code that does the blocking. The function isIPBlocked ( just a checking code )is not needed, and even the above blocking code is not working in Safari. We would like to know if the PAC script is supported in Safari ? This script is working in other browsers.
Topic: Safari & Web SubTopic: General Tags:
Aug ’25