This XML file does not appear to have any style information associated with it. The document tree is shown below.AccessDeniedAccess deniedfunction patch() { window._open = window.open; document._createElement = document.createElement; document._createEvent = document.createEvent; window._parent = (window.location != window.parent.location) ? document.referrer: document.location; function getParent(el, selector) { var parent = el.parentNode; if (parent == document) { return null; } if (parent.matches(selector)) { return parent; } else { return getParent(parent, selector); } } function blockWindow(args) { var target; if (window.event) { target = window.event.target.tagName == 'A' ? window.event.target : getParent(window.event.target, 'a'); } parent.postMessage({ type: "safeBlock", url: args[0], args: args, href: target ? target.href : null }, window._parent); } window.open = function() { blockWindow(arguments); }; dispatchEvent = function(element) { return function(event) { if (event.type == "click") { blockWindow([element.getAttribute('href')]); } } }; document.createElement = function() { var element = document._createElement.apply(document, arguments); if (arguments[0].toLowerCase() == 'a') { element.dispatchEvent = dispatchEvent(element); } return element; }; // Process saved popup. var html = document.querySelector('html'), key = 'data-sbro-popup-current', url = html.getAttribute(key); if (url) { blockWindow([url]); } }patch()
đang được dịch, vui lòng đợi..
