My bookmarklet utilizes the window.open method, but sometimes websites modify this method which causes unpredictable behavior when running the bookmarklet.
I'm looking for a way to obtain an "untouched" window object. I attempted to inject a new iframe and retrieve the window object from there, however, Chrome blocks the popup (refer to https://bugs.chromium.org/p/chromium/issues/detail?id=932884).
window.open("http://example.com");