Parcourir la source

added error page tada animation - fix iframe

causefx il y a 8 ans
Parent
commit
14d8311c51
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      js/functions.js

+ 1 - 1
js/functions.js

@@ -1222,7 +1222,7 @@ function categoryProcess(arrayItems){
 }
 function buildFrame(name,url){
 	return `
-		<iframe allowfullscreen="true" frameborder="0" id="frame-`+cleanClass(name)+`" data-name="`+cleanClass(name)+`" scrolling="auto" src="`+url+`" class="iframe"></iframe>
+		<iframe allowfullscreen="true" frameborder="0" id="frame-`+cleanClass(name)+`" data-name="`+cleanClass(name)+`" sandbox="allow-presentation allow-forms allow-same-origin allow-pointer-lock allow-scripts allow-popups allow-modals allow-top-navigation" scrolling="auto" src="`+url+`" class="iframe"></iframe>
 	`;
 }
 function buildFrameContainer(name,url,type){