-
Notifications
You must be signed in to change notification settings - Fork 921
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #77 from brave/sitehacks
Add sitehacks and cosmetic filters from browser-laptop
- Loading branch information
Showing
7 changed files
with
111 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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 file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
.ad-hideable, | ||
.ad-div, | ||
.masthead-ad-control, | ||
.video-ads, | ||
#ad_creative_3, | ||
#footer-ads, | ||
#watch7-sidebar-ads, | ||
.ytp-ad-progress-list, | ||
.ad-container, | ||
#video-masthead, | ||
#watch-channel-brand-div, | ||
#Billboard-ad { | ||
display: none !important; | ||
} | ||
|
||
/* YouTube Masthead and Sidebar Ads */ | ||
#player-ads.ytd-watch, | ||
ytd-page-manager #masthead-ad.ytd-browse { | ||
display: none !important; | ||
} | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#icobanner-wrapper, | ||
.container #leaderboard, | ||
.container #leaderboard-bottom { | ||
display: none !important; | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// Site checks indexOf(' gb3...') - Note the leading space. | ||
// Thus we add it after __a=1 | ||
document.cookie = '__a=1' | ||
document.cookie = 'gb3lightbox=1' | ||
document.cookie = 'lightbox_ad=true' | ||
console.log('we set some cookies!!') |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.element--ad, | ||
.container--bannerAd, | ||
#brass-rail, | ||
.ad.module, | ||
iframe[src*="smartads.epl"] { | ||
display: none !important; | ||
} |
This file contains 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 file contains 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