Greasy Fork is available in English.

Edge双击关闭当前页面

在当前网页中双击左键关闭当前页面.注意:由于浏览器的权限限制,某些页面(自己手动打开的标签页,浏览器内置页,受浏览器保护的页面等)无法使用双击左键关闭,请鼠标移至标签页上方点击'X'关闭

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Edge双击关闭当前页面
// @namespace    http://tampermonkey.net/
// @match        http*://*/*
// @version      0.1
// @description  在当前网页中双击左键关闭当前页面.注意:由于浏览器的权限限制,某些页面(自己手动打开的标签页,浏览器内置页,受浏览器保护的页面等)无法使用双击左键关闭,请鼠标移至标签页上方点击'X'关闭
// @author       小飞机
// @match        *
// @grant        none
// ==/UserScript==

    var chuangkouo = window;
    chuangkouo.ondblclick = function(){
        window.location.href="";
        window.close();
    };