Skip to content

Commit 3fec217

Browse files
authored
Merge pull request #31 from Pr0cella/ipc-splash
removed frame IPC splash message from github pages branch
2 parents 0da185a + 9dcb806 commit 3fec217

4 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/static.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Deploy static content to Pages
44
on:
55
# Runs on pushes targeting the default branch
66
push:
7-
branches: ["master"]
7+
branches: ["github-pages"]
88

99
# Allows you to run this workflow manually from the Actions tab
1010
workflow_dispatch:

explorer.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,7 @@
611611
};
612612

613613
function logLocalIframeIPCSplash(context) {
614+
if (!isFileProtocolRuntime() && !isLocalIframeIPCTraceEnabled()) return;
614615
const protocol = (typeof window !== 'undefined' && window.location && window.location.protocol) ? window.location.protocol : 'unknown';
615616
const configured = typeof CONFIG === 'undefined' ? 'unset' : (CONFIG.ConfigIframeIPC?.enableLocalIframeIPC !== false);
616617
const active = isLocalIframeIPCEnabled();

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5306,6 +5306,7 @@ <h4>Tips</h4>
53065306
};
53075307

53085308
function logLocalIframeIPCSplash(context) {
5309+
if (!isFileProtocolRuntime() && !isLocalIframeIPCTraceEnabled()) return;
53095310
const protocol = (typeof window !== 'undefined' && window.location && window.location.protocol) ? window.location.protocol : 'unknown';
53105311
const configured = typeof CONFIG === 'undefined' ? 'unset' : (CONFIG.ConfigIframeIPC?.enableLocalIframeIPC !== false);
53115312
const active = isLocalIframeIPCEnabled();

stix-builder.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,6 +1032,7 @@ <h6>Outgoing Edges:</h6>
10321032
};
10331033

10341034
function logLocalIframeIPCSplash(context) {
1035+
if (!(typeof window !== 'undefined' && window.location && window.location.protocol === 'file:') && !isLocalIframeIPCTraceEnabled()) return;
10351036
const protocol = (typeof window !== 'undefined' && window.location && window.location.protocol) ? window.location.protocol : 'unknown';
10361037
const configured = typeof CONFIG === 'undefined' ? 'unset' : (CONFIG.ConfigIframeIPC?.enableLocalIframeIPC !== false);
10371038
const active = isLocalIframeIPCEnabled();

0 commit comments

Comments
 (0)