resourceUrlWhitelist([whitelist]);
Sets/Gets the whitelist of trusted resource URLs.
Parameters
Param | Type | Details |
---|---|---|
whitelist (optional) | Array | When provided, replaces the resourceUrlWhitelist with the value provided. This must be an array or null. A snapshot of this array is used so further changes to the array are ignored. Follow this link for a description of the items allowed in this array. Note: an empty whitelist array will block all URLs! |
Returns
Array |
the currently set whitelist array. The default value when no whitelist has been explicitly set is |
Please login to continue.