PAC Script Tester

Test your PAC scripts in a safe sandbox environment with execution tracing

Test Results

Enter a PAC script and test URL, then click "Run Test" to see results

Available PAC Functions

Core Functions

  • • dnsResolve(host)
  • • isInNet(host, pattern, mask)
  • • shExpMatch(str, pattern)
  • • dnsDomainIs(host, domain)

Helper Functions

  • • isPlainHostName(host)
  • • localHostOrDomainIs(host, domain)
  • • isResolvable(host)
  • • timeRange(), dateRange(), weekdayRange()