Last active
June 7, 2026 01:18
-
-
Save palaniraja/f847780486eb990f5c7c5116390a73c0 to your computer and use it in GitHub Desktop.
gemini ublock origin rules
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
| ! gemini without custom font and make it bit reasonable | |
| ! Force the main conversation view to use the full screen width | |
| gemini.google.com##.conversation-container, main, .mes-content:style(max-width: 100% !important; width: 100% !important;) | |
| ! Remove the fading mask effect on wide tables or code blocks | |
| gemini.google.com##.table-content, .table-block:style(mask-image: none !important; -webkit-mask-image: none !important;) | |
| ! Allow elements inside the message layout to stretch completely | |
| gemini.google.com##.table-block, split-layout:style(max-width: 100% !important; width: 100% !important;) | |
| ! --- Reset Gemini Font Stack to Clean Standard Fonts --- | |
| gemini.google.com##body, html, .message-content, .conversation-container:style(font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;) | |
| ! --- Clean Up Broken Material Icon Typography --- | |
| gemini.google.com##.material-symbols-outlined, mat-icon:style(font-family: monospace !important; font-size: 11px !important; letter-spacing: -0.5px; background: rgba(0,0,0,0.05); padding: 2px 4px; border-radius: 4px; text-transform: uppercase; font-weight: bold; font-style: normal;) | |
| ! Target Gemini website and swap material icon elements with native system fonts or single unicode characters | |
| gemini.google.com##[data-mat-icon-name]:style(font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important; font-size: 14px !important; letter-spacing: normal !important; text-transform: none !important; display: inline-flex !important; align-items: center !important; justify-content: center !important;) | |
| ! Hide the underlying broken text node values inside the element if necessary, or clean up spacing | |
| gemini.google.com##[data-mat-icon-name]::before:style(font-weight: bold !important; font-style: normal !important;) | |
| ! Map specific data attributes to clean, lightweight fallback characters | |
| gemini.google.com##[data-mat-icon-name="side_nav"]::before:style(content: "โฐ " !important;) | |
| gemini.google.com##[data-mat-icon-name="gemini_chat"]::before:style(content: "๐ฌ " !important;) | |
| gemini.google.com##[data-mat-icon-name="library"]::before:style(content: "๐ " !important;) | |
| gemini.google.com##[data-mat-icon-name="add_2"]::before:style(content: "โ " !important;) | |
| gemini.google.com##[data-mat-icon-name="plus"]::before:style(content: "โ " !important;) | |
| gemini.google.com##[data-mat-icon-name="settings"]::before:style(content: "โ๏ธ " !important;) | |
| gemini.google.com##[data-mat-icon-name="spark"]::before:style(content: "โจ " !important;) | |
| gemini.google.com##[data-mat-icon-name="more_vert"]::before:style(content: "โฎ " !important;) | |
| gemini.google.com##[data-mat-icon-name="more_horiz"]::before:style(content: "โฏ " !important;) | |
| gemini.google.com##[data-mat-icon-name="keyboard_arrow_down"]::before:style(content: "โผ " !important;) | |
| gemini.google.com##[data-mat-icon-name="expand_content"]::before:style(content: "โโ " !important;) | |
| gemini.google.com##[data-mat-icon-name="mic"]::before:style(content: "๐ค " !important;) | |
| gemini.google.com##[data-mat-icon-name="thumb_up"]::before:style(content: "๐ " !important;) | |
| gemini.google.com##[data-mat-icon-name="thumb_down"]::before:style(content: "๐ " !important;) | |
| gemini.google.com##[data-mat-icon-name="refresh"]::before:style(content: "๐ " !important;) | |
| gemini.google.com##[data-mat-icon-name="copy"]::before:style(content: "๐ " !important;) | |
| gemini.google.com##[data-mat-icon-name="arrow_circle_down"]::before:style(content: "โฌ " !important;) | |
| gemini.google.com##[data-mat-icon-name="arrow_upward"]::before:style(content: "โฒ " !important;) | |
| gemini.google.com##[data-mat-icon-name="image_create"]::before:style(content: "๐ผ๏ธ " !important;) | |
| gemini.google.com##[data-mat-icon-name="search"]::before:style(content: "๐ " !important;) | |
| ! Fix model menu popovers and basic interactive icons | |
| gemini.google.com##[data-mat-icon-name="arrow_drop_down"]::before:style(content: " โพ" !important;) | |
| gemini.google.com##[data-mat-icon-name="check"]::before:style(content: "โ " !important;) | |
| gemini.google.com##[data-mat-icon-name="experimental_google_spark"]::before:style(content: "โจ " !important;) | |
| gemini.google.com##[data-mat-icon-name="open_in_new"]::before:style(content: " โ" !important;) | |
| gemini.google.com##[data-mat-icon-name="extension"]::before:style(content: "๐งฉ " !important;) | |
| gemini.google.com##[data-mat-icon-name="delete"]::before:style(content: "๐๏ธ " !important;) | |
| gemini.google.com##[data-mat-icon-name="edit"]::before:style(content: "โ๏ธ " !important;) | |
| gemini.google.com##[data-mat-icon-name="info"]::before:style(content: "โน๏ธ " !important;) | |
| gemini.google.com##[data-mat-icon-name="help"]::before:style(content: "โ " !important;) | |
| ! If the original text (like "settings") is still bleeding through behind the emoji, hide the original inner text element | |
| gemini.google.com##[data-mat-icon-name]:style(color: transparent !important; width: 1.5em !important; height: 1.5em !important; overflow: hidden !important; position: relative !important;) | |
| gemini.google.com##[data-mat-icon-name]::before:style(color: initial !important; position: absolute !important; left: 0; top: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment