window.close() after
the page loads. It is available with URL and Form Submission triggers.
Input
This is useful at the end of popup-based authorization or handoff flows.
Browsers commonly allow scripts to close only windows that were opened by
script. A normal tab opened directly by the user may remain open.