1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 19:42:38 +02:00
DanieL 2022-09-21 12:08:10 -03:00
parent 645e4ed919
commit ab84f1e730
2 changed files with 15 additions and 6 deletions

View file

@ -2931,6 +2931,11 @@ async function checkSavedCookies() {
});
}
function openWindow(url) {
var windowObject = window.open(url, '_blank').focus();
return windowObject;
}
function openWindowWithPost(url, name, params, strWindowFeatures) {
if(empty(strWindowFeatures)){
strWindowFeatures = "directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no,resizable=no,height=600,width=800";