mirror of
https://github.com/zen-browser/theme-store.git
synced 2025-07-07 08:55:31 +02:00
Add theme: Hide URL bar buttons
This commit is contained in:
parent
73b016735d
commit
14175951a1
5 changed files with 112 additions and 0 deletions
37
themes/9b4bd9dc-24cc-40ce-a397-cc0a24ae19ea/chrome.css
Normal file
37
themes/9b4bd9dc-24cc-40ce-a397-cc0a24ae19ea/chrome.css
Normal file
|
@ -0,0 +1,37 @@
|
|||
|
||||
@-moz-document url-prefix("chrome:") {
|
||||
|
||||
@media (-moz-bool-pref: "mod.urlbar-icons.bookmark.disable") {
|
||||
#star-button-box {display: none;}
|
||||
}
|
||||
|
||||
@media (-moz-bool-pref: "mod.urlbar-icons.translation.disable") {
|
||||
#translations-button {display: none;}
|
||||
}
|
||||
|
||||
@media (-moz-bool-pref: "mod.urlbar-icons.reader-mode.disable") {
|
||||
#reader-mode-button {display: none;}
|
||||
}
|
||||
|
||||
@media (-moz-bool-pref: "mod.urlbar-icons.pip.disable") {
|
||||
#picture-in-picture-button {display: none;}
|
||||
}
|
||||
|
||||
@media (-moz-bool-pref: "mod.urlbar-icons.addons.disable") {
|
||||
.urlbar-addon-page-action {display: none;}
|
||||
}
|
||||
|
||||
@media (-moz-bool-pref: "mod.urlbar-icons.identity.disable") {
|
||||
#identity-icon-box {display: none;}
|
||||
#urlbar-input {margin-left: 4px;}
|
||||
}
|
||||
|
||||
@media (-moz-bool-pref: "mod.urlbar-icons.permissions.disable") {
|
||||
#identity-permission-box {display: none !important;}
|
||||
}
|
||||
|
||||
@media (-moz-bool-pref: "mod.urlbar-icons.tracking-protection.disable") {
|
||||
#tracking-protection-icon-container {display: none;}
|
||||
}
|
||||
|
||||
}
|
BIN
themes/9b4bd9dc-24cc-40ce-a397-cc0a24ae19ea/image.png
Normal file
BIN
themes/9b4bd9dc-24cc-40ce-a397-cc0a24ae19ea/image.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 314 KiB |
50
themes/9b4bd9dc-24cc-40ce-a397-cc0a24ae19ea/preferences.json
Normal file
50
themes/9b4bd9dc-24cc-40ce-a397-cc0a24ae19ea/preferences.json
Normal file
|
@ -0,0 +1,50 @@
|
|||
[
|
||||
{
|
||||
"property": "mod.urlbar-icons.bookmark.disable",
|
||||
"label": "Hide Bookmark icon (you can bookmark a page by right-clicking a tab/a page and by using a keyboard shortcut [default: Ctrl+D])",
|
||||
"type": "checkbox",
|
||||
"defaultValue": true
|
||||
},
|
||||
{
|
||||
"property": "mod.urlbar-icons.translation.disable",
|
||||
"label": "Hide Translation icon (you can access Translation via the \u00b7\u00b7\u00b7 menu over the URL bar)",
|
||||
"type": "checkbox",
|
||||
"defaultValue": true
|
||||
},
|
||||
{
|
||||
"property": "mod.urlbar-icons.reader-mode.disable",
|
||||
"label": "Hide Reader Mode icon (you can activate Reader Mode when available by using a keyboard shortcut [default: F9])",
|
||||
"type": "checkbox",
|
||||
"defaultValue": true
|
||||
},
|
||||
{
|
||||
"property": "mod.urlbar-icons.pip.disable",
|
||||
"label": "Hide Picture-In-Picture icon (PIP automatically starts when switching tab)",
|
||||
"type": "checkbox",
|
||||
"defaultValue": true
|
||||
},
|
||||
{
|
||||
"property": "mod.urlbar-icons.addons.disable",
|
||||
"label": "Hide Addons icons (you can access Addons Options via the Addons button over the URL bar)",
|
||||
"type": "checkbox",
|
||||
"defaultValue": true
|
||||
},
|
||||
{
|
||||
"property": "mod.urlbar-icons.identity.disable",
|
||||
"label": "/!\\ Hide Website Identity icon (CAREFUL: this icon is IMPORTANT as it indicates if a website is trustable. This menu CANNOT be accessed from somewhere else. Hide it at your own risk.)",
|
||||
"type": "checkbox",
|
||||
"defaultValue": false
|
||||
},
|
||||
{
|
||||
"property": "mod.urlbar-icons.permissions.disable",
|
||||
"label": "/!\\ Hide Website Permissions icon (CAREFUL: this icon is important as it indicates if a website has (unusual) permissions over your device. This menu CANNOT be accessed from somewhere else. Hide it at your own risk.)",
|
||||
"type": "checkbox",
|
||||
"defaultValue": false
|
||||
},
|
||||
{
|
||||
"property": "mod.urlbar-icons.tracking-protection.disable",
|
||||
"label": "/!\\ Hide Website Tracking Protection icon (CAREFUL: this icon is important as it indicates if a website is tracking you. This menu CANNOT be accessed from somewhere else. Hide it at your own risk.)",
|
||||
"type": "checkbox",
|
||||
"defaultValue": false
|
||||
}
|
||||
]
|
10
themes/9b4bd9dc-24cc-40ce-a397-cc0a24ae19ea/readme.md
Normal file
10
themes/9b4bd9dc-24cc-40ce-a397-cc0a24ae19ea/readme.md
Normal file
|
@ -0,0 +1,10 @@
|
|||
|
||||
# Hide URL bar buttons
|
||||
|
||||
Want to click your URL bar but surprise buttons appear at the last moment?
|
||||
|
||||
This mod allows you to **hide the buttons in the URL bar**, especially the ones that appear on hover! No more frustration.
|
||||
|
||||
## Setup
|
||||
|
||||
Set the buttons you want to show or hide via *Settings > Zen Mod
|
15
themes/9b4bd9dc-24cc-40ce-a397-cc0a24ae19ea/theme.json
Normal file
15
themes/9b4bd9dc-24cc-40ce-a397-cc0a24ae19ea/theme.json
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"id": "9b4bd9dc-24cc-40ce-a397-cc0a24ae19ea",
|
||||
"name": "Hide URL bar buttons",
|
||||
"description": "Mod for Zen Browser that hides icons of your choice in the URL bar.",
|
||||
"homepage": "https://github.com/YouriCode/ZenModHideURLBarIcons",
|
||||
"style": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/9b4bd9dc-24cc-40ce-a397-cc0a24ae19ea/chrome.css",
|
||||
"readme": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/9b4bd9dc-24cc-40ce-a397-cc0a24ae19ea/readme.md",
|
||||
"image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/9b4bd9dc-24cc-40ce-a397-cc0a24ae19ea/image.png",
|
||||
"author": "YouriCode",
|
||||
"version": "1.0.0",
|
||||
"tags": [],
|
||||
"createdAt": "2025-02-22",
|
||||
"updatedAt": "2025-02-22",
|
||||
"preferences": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/9b4bd9dc-24cc-40ce-a397-cc0a24ae19ea/preferences.json"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue