Suppresses content in a Web page which is hosted on another domain, for example popup ads or traffic to social networking sites. Connections to the suppressed domains will not be established so that the requests are not performed. Whenever a connection is suppressed, an informational line is scripted to the VU output pane. To reset the list of suppressed domains call BrowserSetDomainSuppress with an empty string as parameter value.
BrowserAPI.bdh
BrowserSetDomainSuppress( in sDomains : string, in bExclude : boolean optional );
Parameter | Description |
---|---|
sDomains |
List of domains to be suppressed. Substrings of domains are also suppressed (for example, "us.com" will also suppress "microfocus.com"). Specify an empty string to lift the restrictions. Allowed separators are blank spaces, commas, and semicolons. |
bExclude | Optional: If true, all domains except the domains in sDomains will be suppressed. Default is false. |
dcltrans transaction TMain begin BrowserSetDomainSuppress("addthis.com"); BrowserNavigate("www.mycompany.com"); end TMain;