please help me with my user chrome file

General project discussion.
Use this as a last resort if your topic does not fit in any of the other boards but it still on-topic.
Forum rules
This General Discussion board is meant for topics that are still relevant to Pale Moon, web browsers, browser tech, UXP applications, and related, but don't have a more fitting board available.

Please stick to the relevance of this forum here, which focuses on everything around the Pale Moon project and its user community. "Random" subjects don't belong here, and should be posted in the Off-Topic board.
User avatar
cartel
Lunatic
Lunatic
Posts: 478
Joined: 2014-03-16, 21:57
Location: Chilliwack, BC

please help me with my user chrome file

Unread post by cartel » 2024-01-01, 02:46

https://rumble.com/v43zslz-the-best-hor ... -2023.html

With my user userChrome.css, rumble videos are hidden.
2021176.jpg

Code: Select all

/* Force bookmark drop-down button display even with classic menu bar */
#bookmarks-menu-button {display:-moz-box !important}
/* Bookmark This Page */
#appmenu_bookmarkThisPage,
#menu_bookmarkThisPage,
#BMB_bookmarkThisPage
{ display: none !important; }

/* Subscribe to This Page */
#appmenu_subscribeToPage,
#appmenu_subscribeToPageMenu,
#appmenu_subscribeToPageMenu + menuseparator,
#subscribeToPageMenuitem,
#subscribeToPageMenupopup,
#menu_bookmarkAllTabs, /* show-only-for-keyboard */
#menu_bookmarkAllTabs + menuseparator,
#BMB_subscribeToPageMenuitem,
#BMB_subscribeToPageMenupopup,
#BMB_subscribeToPageMenupopup + menuseparator
{ display: none !important; }

#nav-bar[tabsontop=true],
#nav-bar[tabsontop=true][collapsed=true]:not([customizing]) + toolbar,
#nav-bar[tabsontop=true][collapsed=true]:not([customizing]) + #customToolbars + #PersonalToolbar {
  background-image: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,0)) !important;
} 
the first line of the code seems to be whats doing it.
am I missing something here?
I been using this chrome file for 8 years but for some reason its not working with rumble

thank you
You do not have the required permissions to view the files attached to this post.
ImageImage

User avatar
Kris_88
Keeps coming back
Keeps coming back
Posts: 940
Joined: 2021-01-26, 11:18

Re: please help me with my user chrome file

Unread post by Kris_88 » 2024-01-01, 03:20

UserChrome.css should not affect the content. The video on your link works for me, both with your css file and without it.

User avatar
cartel
Lunatic
Lunatic
Posts: 478
Joined: 2014-03-16, 21:57
Location: Chilliwack, BC

Re: please help me with my user chrome file

Unread post by cartel » 2024-01-01, 03:41

ok thanks for that. I have got it to appear on theater mode on the player. toggling the chat sidebar also makes it appear on pm fullscreen mode
In general, does my code look ok? is there some namespace line that needs to be there?
Anything not closed or spaced correctly?
the last 2 lines make me wonder

thanks
ImageImage

User avatar
Kris_88
Keeps coming back
Keeps coming back
Posts: 940
Joined: 2021-01-26, 11:18

Re: please help me with my user chrome file

Unread post by Kris_88 » 2024-01-01, 03:58

cartel wrote:
2024-01-01, 03:41
In general, does my code look ok? is there some namespace line that needs to be there?
The namespace line must be present.

Code: Select all

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
As for the rest, your css hides some menu items and replaces the background in some places with a color gradient. All this applies only to the browser GUI.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35651
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: please help me with my user chrome file

Unread post by Moonchild » 2024-01-01, 10:18

Kris_88 wrote:
2024-01-01, 03:58
The namespace line must be present.
^this
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite