|
|
|
@ -53,6 +53,10 @@ public class JxEngine {
|
|
|
|
|
.addSwitch("--disable-google-traffic") |
|
|
|
|
.addScheme(Scheme.of(ModernUIConstants.EMB_TAG), |
|
|
|
|
new NxInterceptRequestCallback(this::getComponent, this::getParameterMap)); |
|
|
|
|
String options = System.getProperty("jxbrowser.chrome.setup.options"); |
|
|
|
|
for (String s : options.split(";")) { |
|
|
|
|
builder.addSwitch(s); |
|
|
|
|
} |
|
|
|
|
if (disableWebSecurity) { |
|
|
|
|
builder.addSwitch("--disable-web-security"); |
|
|
|
|
} |
|
|
|
|