Hello everyone,
I am working on customizing my youtube feed page (removing thumbnail and adjust some margins).
However, I found that using :style
does take effect on Brave on my iOS device (iPhone 16e).
Is this something we can fix from Brave?
Or could this be something from WebKit?
These filters:
m.youtube.com##ytm-video-with-context-renderer:style(margin: 0px !important)
m.youtube.com##ytm-video-with-context-renderer div.details:style(margin: 0px !important)
removes the margin around video entries in the home page.
On my brave on my android phone, this filter removes the margin around all the video entries.
On my brave on my iOS phone, this filter does not have any effect.
Note In the screenshot, I also removed the videos’ thumbnail with another filter (works on both devices).
m.youtube.com##a.media-item-thumbnail-container
How can this issue be reproduced?
- Add these filters:
m.youtube.com##a.media-item-thumbnail-container
m.youtube.com##ytm-video-with-context-renderer:style(margin: 0px !important)
m.youtube.com##ytm-video-with-context-renderer div.details:style(margin: 0px !important)
to (for iOS) All Settings > Shields & Privacy > Content Filtering > CUSTOM FILTERS
(for Android) … > Settings > Brave Shields & privacy > Content Filtering > Create custom filters. - browse youtube
Expected result:
(On android) video entries should not have margin.
(On iOS) video entries still have margin.
Brave Version( check About Brave
):
(On android) 1.77.100
(On iOS) 1.77.99
Mobile Device details
(On android) Android 12
(On iOS) iOS 18.4
Additional Information:
To inspect web element in iOS please follow this guide https://stackoverflow.com/questions/76219707/how-to-access-ios-brave-browser-dev-tools