Skip to content

Commit 8407c6a

Browse files
committed
improve youtube support
1 parent 424420e commit 8407c6a

File tree

1 file changed

+1
-1
lines changed
  • static/assets/js

1 file changed

+1
-1
lines changed

static/assets/js/t.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ document.addEventListener("DOMContentLoaded", event => {
5353
const tabTitle = document.createElement("span");
5454
const newIframe = document.createElement("iframe");
5555
newIframe.sandbox =
56-
"allow-same-origin allow-scripts allow-forms allow-pointer-lock allow-modals allow-orientation-lock";
56+
"allow-same-origin allow-scripts allow-forms allow-pointer-lock allow-modals allow-orientation-lock allow-presentation allow-storage-access-by-user-activation";
5757
// When Top Navigation is not allowed links with the "top" value will be entirely blocked, if we allow Top Navigation it will overwrite the tab, which is obviously not wanted.
5858
tabTitle.textContent = `New Tab ${tabCounter}`;
5959
tabTitle.className = "t";

0 commit comments

Comments
 (0)