The issue is that when I invoke window.close() or self.close() it doesn\'t close the window. Now there seems to be a belief that in Chrome you can\
window.close()
self.close()
In tampermonkey now you can use
// @grant window.close
And then just simply call
window.close();