How restrict Java "windows.open"?
Posted: Sat Aug 27, 2011 2:32 pm
Often i visit www.rmonline.ru and there is stupid popup for mfonline.ru opening with windows.open - how restrict this java code?
NoScripters and WebSec nerds of all lands, unite!
https://forums.informaction.com/
Code: Select all
$(document).ready(function() {
$('body').mouseup(function() {
var mp = $.cookie('mythos_promo');
if (mp == null) {
$.cookie('mythos_promo', 'show', {expires:3650, path:'/'});
a = window.open("http://mfonline.ru/banner_click/bid21/", null, "scrollbars=1,location=1,directories=1,status=0,menubar=1,toolbar=1,resizable=1,width=800,height=600,left=0,top=0");
a.blur(); window.focus();
if (window.opener != null) {
window.opener.focus();
}
}
});