On Google Drive (https://drive.google.com/drive/my-drive) scrollbars don't work

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.
User avatar
lashkevi
Moonbather
Moonbather
Posts: 73
Joined: 2018-05-12, 22:51

On Google Drive (https://drive.google.com/drive/my-drive) scrollbars don't work

Unread post by lashkevi » 2022-06-04, 12:17

The scrollbars in Google Drive (https://drive.google.com/drive/my-drive) have no handle and don't work. Mouse scrolling doesn't work as well.

The relevant errors seem to be

Code: Select all

Метка времени: 04.06.2022 15:09:48
Предупреждение: Неожиданное значение  при анализе атрибута height.
Источник: https://drive.google.com/drive/my-drive
Строка: 0
Метка времени: 04.06.2022 15:09:48
Предупреждение: Неожиданное значение  при анализе атрибута width.
Источник: https://drive.google.com/drive/my-drive
Строка: 0
("Warning: Unexpected value in the analysis of the attribute...")

Pale Moon 31.0.0 Linux 64-bit, gtk-2.
Attachments
Screenshot_20220604_150545.png


User avatar
lashkevi
Moonbather
Moonbather
Posts: 73
Joined: 2018-05-12, 22:51

Re: On Google Drive (https://drive.google.com/drive/my-drive) scrollbars don't work

Unread post by lashkevi » 2022-06-04, 13:46

back2themoon wrote:
2022-06-04, 13:25
I assume you are getting this, too:


Unsupported.png


https://support.google.com/drive/answer/6283888
I got rid of this message by increasing the version number of Firefox in the User Agent line.

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

Re: On Google Drive (https://drive.google.com/drive/my-drive) scrollbars don't work

Unread post by Moonchild » 2022-06-04, 14:19

Getting rid of the message doesn't make it suddenly have what Google wants. If only it was that simple ;)
"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

User avatar
Sajadi
Board Warrior
Board Warrior
Posts: 1226
Joined: 2013-04-19, 00:46

Re: On Google Drive (https://drive.google.com/drive/my-drive) scrollbars don't work

Unread post by Sajadi » 2022-07-03, 16:36

lashkevi wrote:
2022-06-04, 12:17
The scrollbars in Google Drive (https://drive.google.com/drive/my-drive) have no handle and don't work. Mouse scrolling doesn't work as well.
A custom user agent override can fix this with giving the mobile page:

go into about:config

Do a rightclick - string - new

add in the first field:
general.useragent.override.drive.google.com

add in the second field:
Mozilla/5.0 (iPad; CPU OS 15_5 like Mac OS X; rv:5.1) Goanna/20220506 PaleMoon/31.0.0

User avatar
lashkevi
Moonbather
Moonbather
Posts: 73
Joined: 2018-05-12, 22:51

Re: On Google Drive (https://drive.google.com/drive/my-drive) scrollbars don't work

Unread post by lashkevi » 2022-07-04, 11:14

It works, though the appearance changed drastically. Thank you very much.

User avatar
UCyborg
Fanatic
Fanatic
Posts: 172
Joined: 2019-01-10, 09:37

Re: On Google Drive (https://drive.google.com/drive/my-drive) scrollbars don't work

Unread post by UCyborg » 2022-07-05, 18:59

After some experimenting, I came up with the following user style (apply via Stylem extension or userContent.css):

Code: Select all

@-moz-document domain("drive.google.com") {
  .PEfnhb, .a-q-Gd {
    position: absolute !important;
  }
}
These address the file view and the side view with file information. Maybe there are more elements that need addressing. I'm actively using only the small part of Google Drive I think.

Alternatively, this...

Code: Select all

@-moz-document domain("drive.google.com") {
  #drive_main_page {
    overflow: auto !important;
  }
}
...is the one I used previously. It just adds scroll bar to the side scrolling practically the entire page rather than just the view in question.

I'm using native Pale Moon's user agent, so still getting unsupported browser warning, but whatever. Guess we're mostly used to being in the land of the unsupported, huh?

User avatar
lashkevi
Moonbather
Moonbather
Posts: 73
Joined: 2018-05-12, 22:51

Re: On Google Drive (https://drive.google.com/drive/my-drive) scrollbars don't work

Unread post by lashkevi » 2022-07-07, 20:09

Sajadi wrote:
2022-07-03, 16:36
add in the first field:
general.useragent.override.drive.google.com

add in the second field:
Mozilla/5.0 (iPad; CPU OS 15_5 like Mac OS X; rv:5.1) Goanna/20220506 PaleMoon/31.0.0
Unfortunately, it makes it unfnctional. Right mouse click isn't transferred to the page, but gives the Pale Moon context menu.

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

Re: On Google Drive (https://drive.google.com/drive/my-drive) scrollbars don't work

Unread post by Moonchild » 2022-07-07, 20:18

No surprise, because iPad touchscreens don't have a right mouse button. ;P
"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

User avatar
lashkevi
Moonbather
Moonbather
Posts: 73
Joined: 2018-05-12, 22:51

Re: On Google Drive (https://drive.google.com/drive/my-drive) scrollbars don't work

Unread post by lashkevi » 2022-07-07, 22:04

UCyborg wrote:
2022-07-05, 18:59
After some experimenting, I came up with the following user style (apply via Stylem extension or userContent.css):

Code: Select all

@-moz-document domain("drive.google.com") {
  .PEfnhb, .a-q-Gd {
    position: absolute !important;
  }
}
This works correctly. Thank you.

Locked