---
title: proxyAutoConfigurationJavaScript
framework: networkextension
role: symbol
role_heading: Instance Property
path: networkextension/neproxysettings/proxyautoconfigurationjavascript
---

# proxyAutoConfigurationJavaScript

A string containing the Proxy Auto Configuration (PAC) JavaScript source code.

## Declaration

```swift
var proxyAutoConfigurationJavaScript: String? { get set }
```

## Discussion

Discussion If autoProxyConfigurationEnabled is set to true then the system will execute the PAC script to determine what proxies to use (if any) for HTTP and HTTPS connections.

## See Also

### Accessing Automatic Proxy Properties

- [autoProxyConfigurationEnabled](networkextension/neproxysettings/autoproxyconfigurationenabled.md)
- [proxyAutoConfigurationURL](networkextension/neproxysettings/proxyautoconfigurationurl.md)
