Ind.ie is now Small Technology Foundation.
Commit a30c2518 authored by Laura Kalbag's avatar Laura Kalbag

Ensure youtube.com rules are applied to www.youtube.com too

Towards #877
parent 1ad31843
......@@ -57,6 +57,15 @@ Hide adtech in the sidebar. As you’re already on the YouTube site, we can’t
- type: css-display-none
```
```mson
- trigger:
- url-filter: www.youtube.com
- load-type: first-party
- action:
- selector: #container.ytd-iframe-companion-renderer > *.ytd-iframe-companion-renderer:last-child:not(#google_companion_ad_div), #player-ads, .iv-promo, .overlay-ads, .youtubeSuperLeaderBoardAdHolder, .youtubeSuperLeaderOverallAdArea, #masthead-ad
- type: css-display-none
```
But allow the button to Skip Ads through.
```mson
......@@ -67,3 +76,12 @@ But allow the button to Skip Ads through.
- selector: .ytp-ad-player-overlay-skip-or-preview
- type: ignore-previous-rules
```
```mson
- trigger:
- url-filter: www.youtube.com
- load-type: first-party
- action:
- selector: .ytp-ad-player-overlay-skip-or-preview
- type: ignore-previous-rules
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment