|
|
|
@ -39,6 +39,7 @@ import java.util.Map;
|
|
|
|
|
* Created on 2023/6/8 |
|
|
|
|
*/ |
|
|
|
|
public class JxEngine { |
|
|
|
|
private static final String SPLIT = ";"; |
|
|
|
|
|
|
|
|
|
private static final JxEngine INSTANCE = new JxEngine(); |
|
|
|
|
|
|
|
|
@ -54,7 +55,7 @@ public class JxEngine {
|
|
|
|
|
.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(";")) { |
|
|
|
|
for (String s : options.split(SPLIT)) { |
|
|
|
|
builder.addSwitch(s); |
|
|
|
|
} |
|
|
|
|
if (disableWebSecurity) { |
|
|
|
|