替换全角!到半角!

替换全角bang!到半角bang!

目前为 2019-01-09 提交的版本。查看 最新版本

// ==UserScript==
// @name    Replace Full width bang to half width
// @name:zh-CN   替换全角!到半角!
// @namespace https://github.com/fengkx/
// @match     https://duckduckgo.com/*
// @match     https://start.duckduckgo.com/*
// @version 0.1
// @description       Replace Full width bang! to half width!
// @description:en    Replace Full width bang! to half width!
// @description:zh    替换全角bang!到半角bang!
// @description:zh-CN 替换全角bang!到半角bang!
// @grant none
//@run-at             document-end
// ==/UserScript==

var $input = document.getElementById('search_form_input_homepage') || document.getElementById('search_form_input') ;
$input.addEventListener('input', function (e) {
	this.value = this.value.replace(/^!/, '!');
})

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址