Last active
November 10, 2022 21:59
-
-
Save float3/e6fd7ea19e3a3feb7c08d386f545b290 to your computer and use it in GitHub Desktop.
Box mode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Box Mode | |
// @namespace Violentmonkey Scripts | |
// @grant none | |
// @version 1.0 | |
// @author @float3 | |
// @description Box Mode | |
// @updateURL https://gist.githubusercontent.com/float3/e6fd7ea19e3a3feb7c08d386f545b290/raw/BoxMode.js | |
// @downloadURL https://gist.githubusercontent.com/float3/e6fd7ea19e3a3feb7c08d386f545b290/raw/BoxMode.js | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
const css = '*, .rounded-left, .rounded-left-1, .rounded-left-2, .rounded-left-3,.rounded-right, .rounded-right-1, .rounded-right-2, .rounded-right-3{ border-radius: 0 !important; border-top-left-radius: 0 !important; border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; border-bottom-left-radius: 0 !important;}'; | |
const head = document.head; | |
const style = document.createElement('style'); | |
head.appendChild(style); | |
style.appendChild(document.createTextNode(css)); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment