Google "apps" widget doesnt have scroll any more in palemoon

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
Harkonnen
Moon lover
Moon lover
Posts: 94
Joined: 2014-11-04, 12:27
Location: Kiev, Ukraine

Google "apps" widget doesnt have scroll any more in palemoon

Post by Harkonnen » 2024-06-29, 01:08

The one that opens when you press 9-dots icon on top right at google website. It used to work just not long ago. It doesnt have scrollbar and mouse wheel doesnt scroll either.

Kris_88
Board Warrior
Board Warrior
Posts: 1168
Joined: 2021-01-26, 11:18

Re: Google "apps" widget doesnt have scroll any more in palemoon

Post by Kris_88 » 2024-06-29, 06:12

PM doesn't recognize css "overflow" with two parameters.

userContent.css :

Code: Select all

@-moz-document url-prefix("https://ogs.google.com/widget") { 
  c-wiz div[jsaction="focus:.CLIENT"] + div { overflow: auto !important; }
}
or use url-prefix("https://ogs.google.com.ua/widget") for localized Google domain.

Harkonnen
Moon lover
Moon lover
Posts: 94
Joined: 2014-11-04, 12:27
Location: Kiev, Ukraine

Re: Google "apps" widget doesnt have scroll any more in palemoon

Post by Harkonnen » 2024-07-02, 09:09

Thanks, fix works

User avatar
noellarkin
Fanatic
Fanatic
Posts: 120
Joined: 2021-07-27, 04:20

Re: Google "apps" widget doesnt have scroll any more in palemoon

Post by noellarkin » 2024-07-02, 11:31

can userContent.css be implemented globally, across multiple profiles, from a central file (the way extensions and plugins can, by putting them in C:\Program Files (x86)\Pale Moon\browser and adding scope settings etc) ?

Kris_88
Board Warrior
Board Warrior
Posts: 1168
Joined: 2021-01-26, 11:18

Re: Google "apps" widget doesnt have scroll any more in palemoon

Post by Kris_88 » 2024-07-02, 20:10

noellarkin wrote:
2024-07-02, 11:31
can userContent.css be implemented globally
Yes it is possible. I see several ways to do this...

User avatar
noellarkin
Fanatic
Fanatic
Posts: 120
Joined: 2021-07-27, 04:20

Re: Google "apps" widget doesnt have scroll any more in palemoon

Post by noellarkin » 2024-07-03, 04:45

Kris_88 wrote:
2024-07-02, 20:10
noellarkin wrote:
2024-07-02, 11:31
can userContent.css be implemented globally
Yes it is possible. I see several ways to do this...
well...could you elaborate on how one would do it?

Kris_88
Board Warrior
Board Warrior
Posts: 1168
Joined: 2021-01-26, 11:18

Re: Google "apps" widget doesnt have scroll any more in palemoon

Post by Kris_88 » 2024-07-03, 07:22

noellarkin wrote:
2024-07-03, 04:45
well...could you elaborate on how one would do it?
This question deserves its own topic, however...

Well...
A global style sheet can be registered through the category manager. Luckily, this can be done using chrome.manifest.
For example, you edit the chrome.manifest file, which is at the same directory level as palemoon.exe.

chrome.manifest:

Code: Select all

resource MyGlobalStyle MyGlobalStyle/
category user-style-sheets MyGlobalSheet resource://MyGlobalStyle/user.css
category agent-style-sheets MyGlobalSheet resource://MyGlobalStyle/chrome.css
Then, you create a folder "MyGlobalStyle" at the same directory level and place the files chrome.css, user.css in it.
This is perhaps the easiest way...

In general, you can register several additional css files. For example, you can add:

Code: Select all

category user-style-sheets MyGlobalSheet2 resource://MyGlobalStyle/user2.css
And this does not cancel the per profile css files. That is, “userContent.сss” in user profiles also work.

User avatar
noellarkin
Fanatic
Fanatic
Posts: 120
Joined: 2021-07-27, 04:20

Re: Google "apps" widget doesnt have scroll any more in palemoon

Post by noellarkin » 2024-07-03, 09:53

Thanks, just tested this global method out, it works :) Now I don't have to copy the userContent.css file to each and every browser profile.

User avatar
Moonchild
Project founder
Project founder
Posts: 38838
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Google "apps" widget doesnt have scroll any more in palemoon

Post by Moonchild » 2024-07-03, 10:20

noellarkin wrote:
2024-07-03, 09:53
Thanks, just tested this global method out, it works :) Now I don't have to copy the userContent.css file to each and every browser profile.
Your Browser, Your Way :)
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Kris_88
Board Warrior
Board Warrior
Posts: 1168
Joined: 2021-01-26, 11:18

Re: Google "apps" widget doesnt have scroll any more in palemoon

Post by Kris_88 » 2024-07-03, 17:35

Fine! The only thing is that I don’t know what will happen during the browser update. Will the "chrome.manifest" file be overridden?

User avatar
Moonchild
Project founder
Project founder
Posts: 38838
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Google "apps" widget doesnt have scroll any more in palemoon

Post by Moonchild » 2024-07-03, 18:04

Kris_88 wrote:
2024-07-03, 17:35
Will the "chrome.manifest" file be overridden?
Most likely, yes.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite