From 36605f74c3d48a98500d198636112454b36063f6 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sun, 16 Feb 2020 18:47:46 -0500 Subject: [PATCH] Undo "Obscure the iframe's URL from the host page" There are some additional issues which cause the frame to be reset to about:blank on certain occasions which must be fixed before this can be used. --- ext/fg/js/popup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/fg/js/popup.js b/ext/fg/js/popup.js index 5f6a777b..211b649e 100644 --- a/ext/fg/js/popup.js +++ b/ext/fg/js/popup.js @@ -238,7 +238,7 @@ class Popup { this._observeFullscreen(); this._onFullscreenChanged(); this.setCustomOuterCss(this._options.general.customPopupOuterCss, false); - this._container.contentDocument.location.href = chrome.runtime.getURL('/fg/float.html'); + this._container.setAttribute('src', chrome.runtime.getURL('/fg/float.html')); }); }