Zoom autoclose

Autoclose the zoom page when zoom in launched

// ==UserScript==
// @name Zoom autoclose
// @namespace http://tampermonkey.net/
// @version 0.33
// @description Autoclose the zoom page when zoom in launched
// @author You
// @match *://us05web.zoom.us/*
// @match https://us05web.zoom.us/
// @grant none
// @license MIT

// ==/UserScript==

//YT: https://www.youtube.com/channel/UCOA8lE9-0XnEIdHqjfQUz1A
// @license MIT
console.log("a"), document.domain.includes("zoom") && (window.onhashchange = function(o) {
    window.close(), history.back()
}), location.hash.includes("suc") && (window.close(), history.back(), console.log("Back"));