@@ -99,42 +143,45 @@ export const SectionPlugin: FC = () => {
)}
{provenance &&
}
-
-
- {m.plugin_open_new_tab()}
-
+ {/* Full-window, on the PLUGIN origin. This link used to be the same escalation as the
+ iframe with no sandbox involved at all — a top-level document on the console origin,
+ holding the operator's session. It only stops being that because the origin moved,
+ which is why the fix could never have been a sandbox attribute. */}
+ {pluginOrigin !== null && pluginOrigin !== undefined && (
+
+
+ {m.plugin_open_new_tab()}
+
+ )}
- {health.isError ? (
+ {pluginOrigin === null ? (
+