diff --git a/app/src/main/java/io/xpipe/app/comp/base/MarkdownComp.java b/app/src/main/java/io/xpipe/app/comp/base/MarkdownComp.java index dacbcc955..56d1bd259 100644 --- a/app/src/main/java/io/xpipe/app/comp/base/MarkdownComp.java +++ b/app/src/main/java/io/xpipe/app/comp/base/MarkdownComp.java @@ -46,6 +46,8 @@ public class MarkdownComp extends Comp> { @SneakyThrows private WebView createWebView() { var wv = new WebView(); + wv.getEngine().setJavaScriptEnabled(false); + wv.setContextMenuEnabled(false); wv.getEngine() .setUserDataDirectory( AppProperties.get().getDataDir().resolve("webview").toFile());