Last active
January 5, 2025 02:37
-
-
Save mary-ext/3e45978a5501a34a9448327aa2e0f67c to your computer and use it in GitHub Desktop.
make github good ublock filter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! disable rails turbolinks/hotwire turbo | |
! page load via turbo is considerably slower than html streaming | |
! this won't affect the file explorer as the nav is handled in react (which is fine) | |
github.com##+js(set-attr, body, data-turbo, false) | |
! font adjustments | |
github.com##body:style(--fontStack-system: sans-serif; --fontStack-sansSerif: sans-serif; --fontStack-monospace: monospace) | |
github.com##:is(body, .markdown-body, .PageHeader .PageHeader-titleWrap.PageHeader-titleWrap--medium):style(font-family: var(--fontStack-sansSerif) !important) | |
github.com##:is(tt, pre, code, samp, .text-mono, .react-code-text, .react-blob-print-hide, .blob-code-inner, .blob-num, .input-monospace, .file-info, .commit .sha-block, .commit .sha):style(font-family: var(--fontStack-monospace) !important) | |
github.com##:is(.markdown-body .highlight pre, .markdown-body pre):style(font-size: 12px !important) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment