Skip to content

No Gecko scrollbar in WebKit by cyfung1031

Screenshot of No Gecko scrollbar in WebKit

Details

Authorcyfung1031

LicenseNo License

Categorywebkit

Created

Updated

Size574 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

  • Tweaks : No "scrollbar-width: thin"
  • Fix Chrome 121 Issue : "scrollbar-width" overriding "::-webkit-scrollbar"
  • "scrollbar-width" for Firefox (Gecko) only

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           No Gecko scrollbar in WebKit
@namespace      github.com/openstyles/stylus
@version        1.0.3
@description    No Gecko scrollbar in WebKit
@author         CY Fung
==/UserStyle== */

@-moz-document url-prefix("http") {

    @supports (-webkit-opacity: 0) and (scrollbar-width: thin) {

        *, [class], [id], [style], 
        *::before, [class]::before, [id]::before, [style]::before,
        *::after, [class]::after, [id]::after, [style]::after {
           scrollbar-width: initial !important;
        }

    }

}

Reviews

No reviews yet.