Open gasull opened 3 years ago
@gasull Thanks for reporting, I can not reproduce with various screen widths but I do see double scrollbar on other topic page https://www.scmp.com/coronavirus
, so wondering if adding the following filters to your My Filters
uBO panel fixes the issue for you on reported example link https://www.scmp.com/news/hong-kong/health-environment/article/3111107/hong-kongs-entertainment-venues-could-be-forced
Filters to add (Make sure to copy all 5 filters including the one to disable the existing filter)
! Disables existing Ultralist scrollbar filter
scmp.com#@##app:not(:has(.home-page-outer)):style(overflow-x: hidden !important; overflow-y: scroll !important; padding-right: 0 !important;)
! new filters to test
scmp.com###app:not(:has(.home-page-outer)):not(:has(.super-section)):style(overflow-x: hidden !important; overflow-y: scroll !important; padding-right: 0 !important;)
scmp.com##.super-section__global-menu-container:style(position: relative !important;)
scmp.com##.super-section .global-menu-content:style(will-change: unset !important; opacity: 1 !important; transform: translate3d(0,0,0) !important; animation: none !important;)
scmp.com##.router-link-active.router-link-exact-active.logo__right-icon-link
I just noticed I see you are using firefox esr and uBO legacy (but not the latest version: https://github.com/gorhill/uBlock-for-firefox-legacy/releases
, I don't think procedural filters with style filters are fixed yet in legacy version of uBO. The fix to do that is published in the main uBO upstream: https://github.com/uBlockOrigin/uBlock-issues/issues/382
You can try updating to latest legacy firefox ubo build but I still think it may not be fixed in latest based on this open issue on uBO legacy issue tracker: https://github.com/gorhill/uBlock-for-firefox-legacy/issues/259
@gasull I will need to download and test firefox ESR with uBO Legacy to figure out a filter you can use until https://github.com/gorhill/uBlock-for-firefox-legacy/issues/259 is added to uBO Legacy.
@gasull I installed latest firefox ESR and it looks like this doesn't even use uBO Legacy, I think the version of uBO you are running is just out of date, can you update to latest uBO stable and let me know if you are still having issues? uBlock Origin v1.9.15rc1
version you are using is from 2016 and isn't even offered for download anymore on the uBlock Origin Releases page
I visited OP's page and I also get a missing scroll bar. I am on uBO dev + Chrome.
I think a modal is turning off the scroll bars. I think the following filters should fix everything.
! fixes lack of vertical scroll bar, caused by a modal
scmp.com##html, body, #app:style(overflow: auto !important;)
! fixes floating toolbar on homepage
scmp.com##.super-section__global-menu-container:style(position: static !important;)
scmp.com##.super-section__header-ad-slot-wrapper:style(padding: 0 !important;)
@yourduskquibbles wrote:
@gasull I installed latest firefox ESR and it looks like this doesn't even use uBO Legacy, I think the version of uBO you are running is just out of date, can you update to latest uBO stable and let me know if you are still having issues?
uBlock Origin v1.9.15rc1
version you are using is from 2016 and isn't even offered for download anymore on the uBlock Origin Releases page
I found what is maybe a larger issue. The version I have is the one in Debian 10 (stable):
$ apt search webext-ublock-origin
Sorting... Done
Full Text Search... Done
webext-ublock-origin/stable,now 1.22.2+dfsg-1~deb10u1 all [installed]
general-purpose lightweight ads, malware, trackers blocker (Web Extension)
But then in Firefox, when going to uBlock Origin preferences → About, the version shown is uBlock Origin v1.9.15rc1
.
How can I know if this is
I tried uninstalling and installing the Debian package.
I updated the filters again @RedDragonWebDesign are you still getting missing scrollbar after updating Web Annoyances Ultralist
?
@gasull I'm not really sure on that question. I don't use Debian or other linux packages so not sure how to interpret what I see in https://packages.debian.org/stable/source/ublock-origin
other than it looks like Debian thinks it should be using uBO version 1.22.2
but somehow you are stuck on an older version 1.9.15rc1
.
Based on the Debian Package Source Repository (VCS: Git)
package listed on https://packages.debian.org/stable/source/ublock-origin
Here are firefox install instructions
uBO may also be installed as a
Debian package
:
- Firefox 56-:
apt-get install xul-ext-ublock-origin
- Firefox 55+:
apt-get install webext-ublock-origin
There is no guarantee the package will be available on your specific platform -- in which case, you will have to install from Firefox Add-ons web site.
If that isn't enough to help, you could try asking over at https://old.reddit.com/r/uBlockOrigin/
or if you've fully investigated and think its a valid bug with uBO deployment on Debian, you could open an issue on uBlock issues Tracker
.
@gasull Also possibly relevant previous discussion on Debian I found in uBO issue tracking: https://github.com/uBlockOrigin/uBlock-issues/issues/638
This is for Ubuntu maintainers to address, I am not involved in creating packages for Debian/Ubuntu/etc. I am not involved in creating packages for Debian/Ubuntu/etc.
maybe an issue ticket is better opened on the Debian side and not uBO side.
@gasull I just installed latest Ubuntu 20.10 on a VM and used the command sudo apt-get install webext-ublock-origin
and the version that got downloaded and installed was 1.29.0
.
I have no idea how you get an old developer build try using the above or manually updating to latest build through AMO or installing latest dev build release from the uBlock Origin releases page
@yourduskquibbles Your updated filters fix the vertical scroll bar. Thank you.
FYI, lots of other annoyances on that website. Flyout video player. Floating bottom banner nagging about how many free articles are left this month. Multimedia pages have a bunch of floating stuff. Maybe worth fixing, maybe not.
Thank you, @yourduskquibbles. I'll look into the possible Debian packaging issue and report it if needed.
The latest filters still hide the sidebar for me, but maybe it's my uBlock Origin version.
@RedDragonWebDesign wrote:
FYI, lots of other annoyances on that website. Flyout video player. Floating bottom banner nagging about how many free articles are left this month. Multimedia pages have a bunch of floating stuff. Maybe worth fixing, maybe not.
Maybe look into how much readership SCMP has to decide if it's worth it. SCMP is probably the main newspaper in Hong Kong.
Replying to myself in case someone lands here from a search: I found that the bug was reported to Debian maintainers over a month ago.
I found what is maybe a larger issue. The version I have is the one in Debian 10 (stable):
$ apt search webext-ublock-origin Sorting... Done Full Text Search... Done webext-ublock-origin/stable,now 1.22.2+dfsg-1~deb10u1 all [installed] general-purpose lightweight ads, malware, trackers blocker (Web Extension)
But then in Firefox, when going to uBlock Origin preferences → About, the version shown is
uBlock Origin v1.9.15rc1
.
FYI, lots of other annoyances on that website. Flyout video player. Floating bottom banner nagging about how many free articles are left this month. Multimedia pages have a bunch of floating stuff. Maybe worth fixing, maybe not.
@RedDragonWebDesign Thanks for the example links!
Flyout video filter should be fixed by scmp.com##.youtube-video-container__inner:style(position: relative !important; bottom: unset !important; left: unset !important; padding: 0 !important; width: 100% !important; height: 100% !important; animation: none !important; transform: translateY(0) !important;)
which I will add.
multimedia.scmp.com
page should be fixed by adding these 3 filters which I will add to Web Annoyances Ultralist
multimedia.scmp.com##.section:style(position: relative !important;)
multimedia.scmp.com##.stickyLinks:style(position: relative !important; bottom: 0 !important;)
multimedia.scmp.com##.w-clearfix.section-2:style(position: absolute !important;)
For the paywall floating bottom bar on articles I could add scmp.com##.tp-modal [id^="offer-"]:upward(2)
but then users are blind to know why articles don't load after three free article views. This floating bottom banner could also be fixed with
||cdn.tinypass.com^$script,domain=scmp.com
(less aggressive)
or||cdn.tinypass.com^$script
(More aggressive)but I'm hesitant to add this to Web Annoyances Ultralist
since this is a paywall. These filters may be better in a personal filter list or a filterlist specifically meant to evade paywalls.
URL(s) where the issue occurs
https://www.scmp.com/news/hong-kong/health-environment/article/3111107/hong-kongs-entertainment-venues-could-be-forced
Describe the issue
The scrollbar is removed on any article on the South China Morning Post website.
Screenshot(s)
Versions
Settings
[x] Hide placeholders of blocked elements [x] Show the number of blocked requests on the icon [x] Make use of context menu where appropiate [x] I am and advanced user [x] Disable pre-fetching (to prevent any connection for blocked network requests) [x] Disable hyperlink auditing [x] Prevent WebRTC from leaking local IP addresses (all the others disabled)
Notes
I disabled all the other filters and it still happens. I disabled Web Annoyances Ultralist, enabled all the other filters, and the scrollbar was back.