Add new hide forward button tweak

This commit is contained in:
bmFtZQ 2023-11-24 19:18:45 +08:00
parent 9ef1854516
commit 6fdf2473c0
2 changed files with 10 additions and 0 deletions

View file

@ -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.** | | **OPTIONAL: Add a second image named `background-1.(jpg/png)` for seperate dark mode background.** |
| `uc.tweak.newtab-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 | | Hide Firefox logo on newtab page |
| -------------------------------- | | -------------------------------- |
| `uc.tweak.hide-newtab-logo` | | `uc.tweak.hide-newtab-logo` |

View file

@ -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;
}
}