Unborder

Injects some CSS to remove the default active state dotted border from objects

// ==UserScript==
// @name        Unborder
// @namespace   binoc.software.projects.userscript.unborder
// @description Injects some CSS to remove the default active state dotted border from objects
// @include     http://*
// @include     https://*
// @version     1.1
// @grant       none
// ==/UserScript==

function funcUnborder() {
    var style = document.createElement('style');
    style.type = 'text/css';
    style.id = 'binoc.software.projects.userscript.unborder';
    style.innerHTML = 'a:active, a:focus, input, object, canvas, embed, video, audio { outline:none; -moz-outline-style: none; } button::-moz-focus-inner { border: 0; }';

    document.getElementsByTagName('head')[0].appendChild(style)
}

window.onload = funcUnborder;

QingJ © 2025

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