title: How to override the window.open functionality?
body: <p>Let's say I have window.open (without name parameter), scattered in my project and I want to change the implementation so that wherever name is not specified I'll specify a default name. </p>
  
  <p>What I want to do about this is hook my own method to window.open so that whenever window.open runs it'll internally call my own method which will then call window.open (with the name parameter). </p>
  
  <p>Is that possible through Javascript? Will there be any circular dependency issues in this i.e. window.open calling my custom function which in turn calling the window.open function again?</p>
  
  <p>P.s. In simple terms what I want to do is override the window.open functionality.</p>