您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Removes rounding of all elements on all sites. | Прибирає срані заокруглення усіх елементів на всіх сайтах
当前为
// ==UserScript== // @name Remove rounding // @namespace http://tampermonkey.net/ // @version 0.3 // @description Removes rounding of all elements on all sites. | Прибирає срані заокруглення усіх елементів на всіх сайтах // @author SergoZar // @match *://*/* // @license GPL v2.0 // ==/UserScript== (function() { 'use strict'; function add_style(e){ var style = document.createElement("style"); style.textContent = ` *{ border-radius: 0 !important; }`; e.append(style); } add_style(document.head); // https://gist.github.com/Spencer-Doak/9954daae8a859337a08f0022293313a6 function findRoots(ele) { return [ ele, ...ele.querySelectorAll('*') ] .filter(e => !!e.shadowRoot) .flatMap(e => [e.shadowRoot, ...findRoots(e.shadowRoot)]) } findRoots(document.body).forEach( i => add_style(i) ); })();