Last active
October 10, 2025 04:54
-
-
Save zsoumya/459a461376ea736f101da033e43a51f5 to your computer and use it in GitHub Desktop.
Stylus (Browser Extension) script to hide right side ad-panel from Yahoo! mail
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
| /* This script does it's job successfully for the current | |
| * Yahoo! mail web page (October 2025). However if Yahoo! | |
| * updates their HTML chances are the script will break. | |
| * In that case I will reexamine their HTML structure and | |
| * try to update this script accordingly. | |
| */ | |
| /* 1) Completely hide the right rail */ | |
| section[data-test-id="novation-right-rail"] { | |
| display: none !important; | |
| } | |
| /* 2) Make the main content 120% wide */ | |
| div[data-test-id="novation-main-content"] { | |
| width: 123% !important; | |
| /* Helpful in flex/grid layouts so the 120% actually takes effect */ | |
| max-width: none !important; | |
| flex-basis: 123% !important; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment