Skip to content

Commit

Permalink
improve youtube support
Browse files Browse the repository at this point in the history
  • Loading branch information
VillainsRule committed Jan 21, 2025
1 parent 424420e commit 8407c6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/assets/js/t.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ document.addEventListener("DOMContentLoaded", event => {
const tabTitle = document.createElement("span");
const newIframe = document.createElement("iframe");
newIframe.sandbox =
"allow-same-origin allow-scripts allow-forms allow-pointer-lock allow-modals allow-orientation-lock";
"allow-same-origin allow-scripts allow-forms allow-pointer-lock allow-modals allow-orientation-lock allow-presentation allow-storage-access-by-user-activation";
// 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.
tabTitle.textContent = `New Tab ${tabCounter}`;
tabTitle.className = "t";
Expand Down

0 comments on commit 8407c6a

Please sign in to comment.