diff --git a/src/components/sync/SyncDiff.tsx b/src/components/sync/SyncDiff.tsx
index a89aa14..e5f8118 100644
--- a/src/components/sync/SyncDiff.tsx
+++ b/src/components/sync/SyncDiff.tsx
@@ -172,7 +172,7 @@ export const SyncDiff: React.FC = () => {
id="diffFrame"
srcDoc={diffResult}
title="Diff Result"
- sandbox="allow-scripts"
+ sandbox="allow-scripts allow-popups allow-popups-to-escape-sandbox"
ref={iframeRef}
/>
diff --git a/src/components/sync/SyncEntities.tsx b/src/components/sync/SyncEntities.tsx
index b5d7875..586e55c 100644
--- a/src/components/sync/SyncEntities.tsx
+++ b/src/components/sync/SyncEntities.tsx
@@ -1,7 +1,7 @@
import React, { useContext, useState } from "react";
import { useNavigate } from "react-router-dom";
-import { DiffResponse, injectResizeScript, removeElementFromHtml } from "../../utils/sync";
+import { DiffResponse, injectScripts, removeElementFromHtml } from "../../utils/sync";
import { SyncEntityName, WizardContext } from "../../WizardContext";
import { Loader } from "../Loader";
import { StepNavigation } from "../menu/StepNavigation";
@@ -72,7 +72,7 @@ export const SyncEntities: React.FC = () => {
}
const data: DiffResponse = await response.json();
- const modifiedDiffHtml = injectResizeScript(
+ const modifiedDiffHtml = injectScripts(
removeElementFromHtml(data.html, ".title"),
);
diff --git a/src/utils/sync.ts b/src/utils/sync.ts
index 5648ee6..892fdd0 100644
--- a/src/utils/sync.ts
+++ b/src/utils/sync.ts
@@ -13,12 +13,16 @@ export const removeElementFromHtml = (
};
/**
- * appends a script to an HTML, sending height information to parent window via message layer for dynamic resizing
+ * Adds element to open iframe links in new window by default.
+ * Appends