Skip to content
This repository has been archived by the owner on Oct 16, 2023. It is now read-only.

Commit

Permalink
ad fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yuliskov committed Dec 19, 2019
1 parent 7ecd51a commit 8b23a77
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion common/src/main/assets/ads.properties
@@ -1,4 +1,3 @@
# !!! &el=adunit&*&adformat=1_2&*&iv_load_policy=3&*&encoded_ad_playback_context=
# 1) Couple of ads have been taken from https://www.reddit.com/r/dropgoogle/comments/5tnjxl/block_youtube_ads_2017_hosts_file/
# 2) Ads below blocked in Chrome's uBlock
# 3) Block middle playback ads (midroll)
Expand Down Expand Up @@ -30,6 +29,8 @@ youtube-nocookie.com/device_204 \
youtube.com/api/stats/qoe \
youtube.com/get_midroll_info \
youtube.com/get_video_info*AdSense-Viral \
imrworldwide.com \
doubleverify.com \
adsafeprotected.com \
doubleclick.net \
doubleclickbygoogle.com \
Expand Down
4 changes: 2 additions & 2 deletions smartyoutubetv/build.gradle
Expand Up @@ -37,8 +37,8 @@ android {
minSdkVersion project.properties.minSdkVersion
targetSdkVersion project.properties.targetSdkVersion
applicationId "com.liskovsoft.videomanager"
versionCode 842
versionName "6.17.262"
versionCode 845
versionName "6.17.265"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
buildConfigField "long", "TIMESTAMP", System.currentTimeMillis() + "L"

Expand Down
Expand Up @@ -17,11 +17,11 @@ public MainRequestInterceptor(Context context) {

mContext = context;
mInterceptors = new ArrayList<>();
mInterceptors.add(new AdAwayInterceptor(context));
//mInterceptors.add(new ContentSecurityPolicyInterceptor(context));
mInterceptors.add(new PlaybackStatsInterceptor(context));
mInterceptors.add(new LegacyMainScriptManagerInterceptor(context));
mInterceptors.add(new OpenExternalPlayerInterceptor(context));
mInterceptors.add(new AdAwayInterceptor(context));
}

@Override
Expand Down

0 comments on commit 8b23a77

Please sign in to comment.