SyntaxFix
Write A Post
Hire A Developer
Questions
In tampermonkey now you can use
// @grant window.close
And then just simply call
window.close();