Skip to content

Commit

Permalink
Merge pull request UseInterstellar#989 from VillainsRule/fix-youtube
Browse files Browse the repository at this point in the history
improve youtube support
  • Loading branch information
xbubbo authored Jan 21, 2025
2 parents 6afaf14 + 8407c6a commit 8015992
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 8015992

Please sign in to comment.