Posted January 17, 201213 yr I have a PAC file which I'm attempting to insert a peice of java script which will ban a website at a particular time during the day. I've tried using the timeRange function but I'm not having any joy in getting it working. Here is the peice of code I'm using, any ideas? if (timeRange(15, 16)) { if (shExpMatch (url, "*facebook.com*")) {return "PROXY 10.134.10.4:8082"} } This works fine for just blocking the website without any time conditions if (shExpMatch (url, "*facebook.com*")) {return "PROXY 10.134.10.4:8082"} Any help is much appreciated! Continue reading...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.