diff --git a/archivebox/templates/core/snapshot_live.html b/archivebox/templates/core/snapshot_live.html index 05e393cd..33ea3f60 100644 --- a/archivebox/templates/core/snapshot_live.html +++ b/archivebox/templates/core/snapshot_live.html @@ -405,7 +405,7 @@ - + {% endfor %} @@ -463,7 +463,7 @@ if (target.endsWith('.pdf')) { jQuery('#main-frame')[0].removeAttribute('sandbox') } else { - jQuery('#main-frame')[0].sandbox = "allow-scripts allow-forms allow-top-navigation-by-user-activation" + jQuery('#main-frame')[0].sandbox = "allow-same-origin allow-top-navigation-by-user-activation allow-scripts allow-forms" } window.location.hash = getPreviewTypeFromPath(event.currentTarget.querySelector('a'))