app loading: load external URLs from not found page using default browser
update CHANGES.md
This commit is contained in:
+2
-1
@@ -12,7 +12,8 @@ v1.7.0
|
|||||||
- Embeds: Add 'requireSubdomainIframe' embed attribute to only allow embed if loaded from a cross-origin / subdomain iframe.
|
- Embeds: Add 'requireSubdomainIframe' embed attribute to only allow embed if loaded from a cross-origin / subdomain iframe.
|
||||||
- UI: improved formatting on 404 not found page.
|
- UI: improved formatting on 404 not found page.
|
||||||
- Loading: Fix IPFS loading, use auto-js-ipfs to load from an IPFS gateway or existing local instance (don't run local node for now)
|
- Loading: Fix IPFS loading, use auto-js-ipfs to load from an IPFS gateway or existing local instance (don't run local node for now)
|
||||||
- Dependencies: update to wabac.js 2.13.0 to support verification, latest wombat (3.3.9)
|
- Loading: App: Load 'not found' URLs from error page using default browser
|
||||||
|
- Dependencies: update to wabac.js 2.13.2 to support verification, latest wombat (3.3.9)
|
||||||
|
|
||||||
v1.6.5
|
v1.6.5
|
||||||
- Loading: Don't ignore hashtag, eg. #.wacz to specify file type when loading (via wabac.js)
|
- Loading: Don't ignore hashtag, eg. #.wacz to specify file type when loading (via wabac.js)
|
||||||
|
|||||||
@@ -168,6 +168,12 @@ class ElectronReplayApp
|
|||||||
return { action: "deny"};
|
return { action: "deny"};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// load external URLs in native browser
|
||||||
|
if (!url.startsWith(STATIC_PREFIX)) {
|
||||||
|
shell.openExternal(url);
|
||||||
|
return { action: "deny"};
|
||||||
|
}
|
||||||
|
|
||||||
return { action: "allow"};
|
return { action: "allow"};
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user