Platforms to show: All Mac Windows Linux Cross-Platform
Back to CFProxyMBS class.
CFProxyMBS.ExecuteProxyAutoConfigurationScript(proxyAutoConfigurationScript as string, targetURL as string) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreFoundation Network | MBS MacCF Plugin | 14.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
When the results are found, the event will be called on the main thread, passing a valid proxyList and nil error upon success, or a nil proxyList and valid error on failure.
proxyAutoConfigurationScript: A string containing the code of the script to be executed.
targetURL: The URL that should be passed to the autoconfiguration script.
Returns true if the request was started.
Some examples using this method:
CFProxyMBS.ExecuteProxyAutoConfigurationURL(proxyAutoConfigURL as string, targetURL as string) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreFoundation Network | MBS MacCF Plugin | 14.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
As ExecuteProxyAutoConfigurationScript(), except that ExecuteProxyAutoConfigurationURL will additionally download the contents of proxyAutoConfigURL, convert it to a JavaScript string, and then execute that script.
Some examples using this method:
The items on this page are in the following plugins: MBS MacCF Plugin.