diff --git a/pywb/static/wb.js b/pywb/static/wb.js index 3f9e3d90..a2fb32db 100644 --- a/pywb/static/wb.js +++ b/pywb/static/wb.js @@ -145,8 +145,6 @@ this.load = function() { if (wbinfo.top_url && (loc != wbinfo.top_url) && wbinfo.mod != "bn_") { // Auto-redirect to top frame - console.log(wbinfo.top_url); - console.log(loc); window.location.replace(wbinfo.top_url + hash); } else { // Init Banner (no frame or top frame) diff --git a/pywb/static/wombat.js b/pywb/static/wombat.js index 3e93b112..b1f43d24 100644 --- a/pywb/static/wombat.js +++ b/pywb/static/wombat.js @@ -984,7 +984,7 @@ _WBWombat = (function() { if (window.parent == window.top) { window.parent = window; - + // Disable frameElement also as this should be top frame if (Object.defineProperty) { Object.defineProperty(window, "frameElement", {value: undefined, configurable: false});