Unround Everything Everywhere

Forces zero border-radius to everything.

当前为 2022-09-15 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

/* ==UserStyle==
@name           Unround Everything Everywhere
@description    Forces zero border-radius to everything.
@namespace      myfonj
@version        1.0.5
@license        CC0 - Public Domain
==/UserStyle== */

/*
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;
}

/*
Firefox bug: touching any border property reverts "fancy" modern thin 1px borders
to "ugly" retro old 3px outset look.
This tries to circumnvent it by setting it back to 1px at lowest possible specifity,
so any (unlayered) author declaration wins over this.
Using :where() here is insufficient, because this this "user style" is injected as
the last author style, so it will will over prior `*` declarations anyway.
*/
@layer i_miss_true_user_origin_level_stylesheets {
  input, button, select {
    border-width: 1px;
  }
}

/* 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;
}

@-moz-document domain("twitter.com") {
  [style*='clip-path: url("#circle-hw-shapeclip-clipconfig")'] {
    clip-path: none !important;
  }
}