How can I disable window.open() using html, javascript, jQuery...? I mean block any window open attempt, making \"not-working\" all existing window.open() f
window.open()
You'd be polluting the global namespace, but you could simply override the window.open method...
window.open
window.open = function (url, windowName, windowFeatures) { console.log('not opening a window'); }