Remove parentage form child window
问题 I am dealing with an old developer's site and code. There is a GLOBAL print function the guy wrote that basically senses for any new window that opens (from any method) and "href.match"es the domain name... the script then applies a print stylesheet if need be and fires window.print. This is all done from a global script that is on every page and houses some other functions. I am tired of writing cases for each page added that I want to escape this function. Also if I do write a NOT clause