Missing Scrollbar

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
User avatar
darkrats
Moongazer
Moongazer
Posts: 10
Joined: 2019-08-29, 17:51

Missing Scrollbar

Unread post by darkrats » 2019-08-29, 17:53

Installed 28.7.0 and right away noticed I was unable to scroll due to missing scroll bar at "www.skynews.com". Any thoughts?

vannilla
Moon Magic practitioner
Moon Magic practitioner
Posts: 2194
Joined: 2018-05-05, 13:29

Re: Missing Scrollbar

Unread post by vannilla » 2019-08-30, 06:35

Try safe mode.
Try scrolling without the scroll bar.
Post your troubleshooting informations (see the stickies.)

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

Re: Missing Scrollbar

Unread post by Moonchild » 2019-08-30, 08:53

The site seems to do some terrible js and css juggling; during load it will (temporarily) make page overflow hidden (effectively removing the scrollbar) and/or resize the document root to be smaller than the window, but reinstate it again later on. Not anything we can do something about on the browser side of things.
"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
Tomaso
Board Warrior
Board Warrior
Posts: 1622
Joined: 2015-07-23, 16:09
Location: Norway

Re: Missing Scrollbar

Unread post by Tomaso » 2019-08-30, 10:34

Seems to work just fine for me.

Missing scroll bars are often caused by GDPR filtering.
It occurs when a GDPR popup is blocked by a generic cosmetic rule.
..and indeed, such a popup IS present at news.sky.com!

You could either disable your adblocker, or try adding this rule (already used by AdGuard Annoyances filter):

Code: Select all

||sky.com/sourcepoint^
The rule will block Sky's GDPR scripts on a network level, and should thereby allow the pages to load properly (at least for now).

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

Re: Missing Scrollbar

Unread post by Moonchild » 2019-08-30, 11:59

Ah, I'm not seeing that because IDCAC takes care of it and properly removes the offending code on my setup.
"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
Tomaso
Board Warrior
Board Warrior
Posts: 1622
Joined: 2015-07-23, 16:09
Location: Norway

Re: Missing Scrollbar

Unread post by Tomaso » 2019-08-30, 12:29

Are you sure?
IDCAC doesn't do anything at that site from my end.
But of course, I'm using the filter list version, which isn't always quite as effective as the extension.

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

Re: Missing Scrollbar

Unread post by Moonchild » 2019-08-30, 14:26

The filter list can't deal with some dynamically-added things. This is a known limitation of the filter list version.
I'm using the extension.
"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
Tomaso
Board Warrior
Board Warrior
Posts: 1622
Joined: 2015-07-23, 16:09
Location: Norway

Re: Missing Scrollbar

Unread post by Tomaso » 2019-08-30, 14:44

Moonchild wrote:
2019-08-30, 14:26
The filter list can't deal with some dynamically-added things.
Actually, it can.
It simply requires rather advanced rules, which in most cases are highly site-specific. :)

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

Re: Missing Scrollbar

Unread post by Moonchild » 2019-08-30, 14:58

Tomaso wrote:
2019-08-30, 14:44
Moonchild wrote:
2019-08-30, 14:26
The filter list can't deal with some dynamically-added things.
Actually, it can.
It simply requires rather advanced rules, which in most cases are highly site-specific. :)
No, it can't. The author has told me as much directly.
"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
Tomaso
Board Warrior
Board Warrior
Posts: 1622
Joined: 2015-07-23, 16:09
Location: Norway

Re: Missing Scrollbar

Unread post by Tomaso » 2019-08-30, 15:55

hmm..
Perhaps I've got a different perception of what "dynamically-added" means.

I wrote and posted a couple of rules here a few days ago:
viewtopic.php?f=57&t=22776#p173507
The last one specifically targets a dynamic object.
Basically, ^ means "starting with", so any ID with css- in front of it will be targeted, if the object also contains the sentence "We use cookies".
* can be used in the same way, which would mean "contains".

To unfreeze the page, the popup at news.sky.com seems to require a rule more advanced than I'm capable of writing myself, but I'm sure it can be done.

User avatar
billmcct
Keeps coming back
Keeps coming back
Posts: 959
Joined: 2012-09-04, 15:19
Location: Costa Rica & Union City Georgia USA

Re: Missing Scrollbar

Unread post by billmcct » 2019-08-30, 18:38

Blocking JS fixes it.
In UBO blocking 3rd-party scripts also fixes it.
--------------------------------------------------------------------------------------------------------------
The difference between the Impossible and the Possible lies in a man's Determination.
Tommy Lasorda

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

Re: Missing Scrollbar

Unread post by Moonchild » 2019-08-30, 19:38

Tomaso wrote:
2019-08-30, 15:55
Perhaps I've got a different perception of what "dynamically-added" means.
Yes. Your definition of "dynamically added" is much more specific than mine ;)
"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
Tomaso
Board Warrior
Board Warrior
Posts: 1622
Joined: 2015-07-23, 16:09
Location: Norway

Re: Missing Scrollbar

Unread post by Tomaso » 2019-08-30, 20:28

billmcct wrote:
2019-08-30, 18:38
Blocking JS fixes it.
Yes, I've already pointed that out in my first post.
I'm just saying that the same result can be achieved by blocking elements instead.

User avatar
Tomaso
Board Warrior
Board Warrior
Posts: 1622
Joined: 2015-07-23, 16:09
Location: Norway

Re: Missing Scrollbar

Unread post by Tomaso » 2019-08-30, 23:15

Working "dynamic" fix:

Code: Select all

sky.com##div[class^="sp_veil"]
sky.com##div[id^="sp_message_panel_"]
sky.com#$#html.sp-message-open { position: static !important; overflow: auto !important; }
Credits to krystian3w, for that last rule:
https://github.com/DandelionSprout/adfi ... -526773929
:)

--

EDIT:
The "unfreeze" rule is supported by most adblockers, except for ABP-based ones, whose list of supported syntaxes has become extremely outdated at this point!