diff --git a/README.md b/README.md index 722c5f8..f0673db 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,10 @@ To disable a tweak, set the key to `false` or delete it, then restart the browse | **OPTIONAL: Add a second image named `background-1.(jpg/png)` for seperate dark mode background.** | | `uc.tweak.newtab-background` | +| Hide forward button when it's disabled (like in Edge) | +| ------------------------------------------------------ | +| `uc.tweak.hide-forward-button` | + | Hide Firefox logo on newtab page | | -------------------------------- | | `uc.tweak.hide-newtab-logo` | diff --git a/chrome/global/tweaks.css b/chrome/global/tweaks.css index 8770f97..126e378 100644 --- a/chrome/global/tweaks.css +++ b/chrome/global/tweaks.css @@ -300,3 +300,9 @@ bugs with certain themes eg. dark text on dark background.) */ } } } + +@media (-moz-bool-pref: "uc.tweak.hide-forward-button") { + :root:not([customizing]) #forward-button[disabled] { + display: none !important; + } +}