Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[create-theme]: Hide Browser Buttons #1066

Closed
1 task
x4132 opened this issue Feb 13, 2025 · 1 comment
Closed
1 task

[create-theme]: Hide Browser Buttons #1066

x4132 opened this issue Feb 13, 2025 · 1 comment
Labels
new-theme Submit a theme to be added to the theme library

Comments

@x4132
Copy link

x4132 commented Feb 13, 2025

Name

Hide Browser Buttons

Description

Allows you to hide the page action buttons in the browser URL bar, such as the reader and bookmark buttons.

Homepage

https://github.com/x4132/zen-hide-browser-buttons

Image

https://img.x4132.dev/01JKYB5VT4XNN6F0X4MZXPN7EM/promo_image.png

Type

  • JSON Color Theme

Theme Styles

@media (-moz-bool-pref: "mod.hidden_action_buttons.bookmarks") {
  #star-button-box {
    visibility: hidden;
    display: none;
  }
}

@media (-moz-bool-pref: "mod.hidden_action_buttons.readermode") {
    #reader-mode-button {
        visibility: hidden;
        display: none;
    }
}

@media (-moz-bool-pref: "mod.hidden_action_buttons.picture_in_picture") {
    #picture-in-picture-button {
        visibility: hidden;
        display: none;
    }
}

@media (-moz-bool-pref: "mod.hidden_action_buttons.translations") {
    #translations-button {
        visibility: hidden;
        display: none;
    }
}

@media (-moz-bool-pref: "mod.hidden_action_buttons.shopping_sidebar") {
    #shopping-sidebar-button {
        visibility: hidden;
        display: none;
    }
}

@media (-moz-bool-pref: "mod.hidden_action_buttons.page_action") {
    #pageActionButton {
        visibility: hidden;
        display: none;
    }
}

@media (-moz-bool-pref: "mod.hidden_action_buttons.zen_split_views") {
    #zen-split-views-box {
        visibility: hidden;
        display: none;
    }
}

Readme

# Hide Browser Buttons

Allows you to hide the page action buttons in the browser URL bar.
This includes the bookmarks button, reader mode, picture in picture, translator, shopping sidebar and split views buttons.

Preferences

[
    {
        "property": "mod.hidden_action_buttons.bookmarks",
        "label": "Hide Bookmark Button",
        "type": "checkbox"
    },
    {
        "property": "mod.hidden_action_buttons.readermode",
        "label": "Hide Reader Mode Button",
        "type": "checkbox"
    },
    {
        "property": "mod.hidden_action_buttons.picture_in_picture",
        "label": "Hide Picture in Picture Button",
        "type": "checkbox"
    },
    {
        "property": "mod.hidden_action_buttons.translations",
        "label": "Hide Translations Button",
        "type": "checkbox"
    },
    {
        "property": "mod.hidden_action_buttons.shopping_sidebar",
        "label": "Hide Shopping Sidebar Button",
        "type": "checkbox"
    },
    {
        "property": "mod.hidden_action_buttons.page_action",
        "label": "Hide Page Action Button",
        "type": "checkbox"
    },
    {
        "property": "mod.hidden_action_buttons.zen_split_views",
        "label": "Hide Zen Split Views Button",
        "type": "checkbox"
    }
]
@x4132 x4132 added the new-theme Submit a theme to be added to the theme library label Feb 13, 2025
Copy link
Contributor

Error creating theme

Sorry about that! There was an error creating the theme. Please try again or contact the maintainers for help.

Traceback (most recent call last):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-theme Submit a theme to be added to the theme library
Projects
None yet
Development

No branches or pull requests

1 participant