// ==UserScript== // @name Unround Everything Everywhere // @namespace myfonj // @version 1.0.4 // @description Forces zero border-radius to everything. // @license CC0 - Public Domain // @grant GM_addStyle // @run-at document-start // @match *://*/* // @downloadURL none // ==/UserScript== (function() { let css = ""; css += ` /* https://greasyfork.org/en/scripts/408378/versions/new */ *:not(#\\0):not(#\\0):not(#\\0), *:not(#\\0):not(#\\0):not(#\\0)::before, *:not(#\\0):not(#\\0):not(#\\0)::after { border-radius: 0 !important; } /* FB & Workplace */ :root#facebook svg[role] > mask[id]:first-child + g[mask]:last-child { mask: none !important; } /* circle outline, some status perhaps */ :root#facebook svg[role] > mask[id]:first-child + g[mask]:last-child circle { opacity: 0.1 !important; } `; if ((location.hostname === "twitter.com" || location.hostname.endsWith(".twitter.com"))) { css += ` [style*='clip-path: url("#circle-hw-shapeclip-clipconfig")'] { clip-path: none !important; } `; } if (typeof GM_addStyle !== "undefined") { GM_addStyle(css); } else { const styleNode = document.createElement("style"); styleNode.appendChild(document.createTextNode(css)); (document.querySelector("head") || document.documentElement).appendChild(styleNode); } })();