-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
YT 17.40.40: disable in-video ads & enable bg playback
- Loading branch information
Showing
16 changed files
with
314 additions
and
315 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
# YouTubeAdAway | ||
Xposed module to block YouTube ads on the official YouTube apps (+TV, Music, Games, Kids, Go) | ||
Xposed module to block YouTube in-video ads and enable background playback on the official YouTube app | ||
Tested against YouTube 17.40.40, but it should support newer updates. | ||
Feel free to raise an issue if a newer YouTube update is not supported, and please make sure you provide your xposed logs. | ||
|
||
YouTube videos ad cards are not hidden, and there is not ETA on when it will be supported. | ||
You are more than welcome to contribute with pull requests! |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,31 +1,36 @@ | ||
apply plugin: 'com.android.application' | ||
plugins { | ||
id 'com.android.application' | ||
} | ||
|
||
android { | ||
compileSdkVersion 26 | ||
buildToolsVersion '26.0.2' | ||
compileSdk 31 | ||
|
||
defaultConfig { | ||
applicationId "ma.wanam.youtubeadaway" | ||
minSdkVersion 9 | ||
targetSdkVersion 26 | ||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_7 | ||
targetCompatibility JavaVersion.VERSION_1_7 | ||
} | ||
minSdk 27 | ||
targetSdk 31 | ||
versionCode 500 | ||
versionName "5.0.0" | ||
|
||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | ||
} | ||
|
||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' | ||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' | ||
} | ||
} | ||
} | ||
|
||
repositories { | ||
jcenter(); | ||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_8 | ||
targetCompatibility JavaVersion.VERSION_1_8 | ||
} | ||
} | ||
|
||
dependencies { | ||
provided 'de.robv.android.xposed:api:82' | ||
} | ||
compileOnly 'de.robv.android.xposed:api:82' | ||
compileOnly 'de.robv.android.xposed:api:82:sources' | ||
|
||
// used for debugging only | ||
// implementation 'org.apache.commons:commons-lang3:3.12.0' | ||
} |
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 |
---|---|---|
@@ -1,39 +1,34 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="ma.wanam.youtubeadaway" | ||
android:versionCode="433" | ||
android:versionName="4.3.3"> | ||
|
||
<uses-sdk | ||
android:minSdkVersion="9" | ||
android:targetSdkVersion="27" /> | ||
package="ma.wanam.youtubeadaway"> | ||
|
||
<application | ||
android:allowBackup="true" | ||
android:directBootAware="true" | ||
android:icon="@drawable/ic_launcher" | ||
android:icon="@mipmap/ic_launcher" | ||
android:label="@string/app_name" | ||
android:theme="@android:style/Theme.Dialog"> | ||
android:roundIcon="@mipmap/ic_launcher_round" | ||
android:supportsRtl="true" | ||
android:theme="@style/Theme.MyApplication"> | ||
<meta-data | ||
android:name="xposedmodule" | ||
android:value="true" /> | ||
<meta-data | ||
android:name="xposedminversion" | ||
android:value="40+" /> | ||
android:value="82+" /> | ||
<meta-data | ||
android:name="xposeddescription" | ||
android:value="YouTube AdAway by Wanam" /> | ||
|
||
<activity | ||
android:name=".MainActivity" | ||
android:name="ma.wanam.youtubeadaway.MainActivity" | ||
android:exported="true" | ||
android:label="@string/app_name"> | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN" /> | ||
<!--<category android:name="android.intent.category.LAUNCHER"/>--> | ||
<category android:name="de.robv.android.xposed.category.MODULE_SETTINGS" /> | ||
|
||
<category android:name="android.intent.category.LAUNCHER" /> | ||
</intent-filter> | ||
</activity> | ||
|
||
</application> | ||
|
||
</manifest> | ||
</manifest> |
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
Oops, something went wrong.