Prevent a tab from popping up dialogs when closing the tab

Prevent a tab from popping up dialogs when closing the tab. Copied from UserScripts.org

  • v1