Last active
January 16, 2024 20:39
-
-
Save gauravssnl/10ba5d9959f59c0469146c3e0253cff2 to your computer and use it in GitHub Desktop.
Simple Radio Ad Away Frida Script
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
console.log("Script loaded successfully "); | |
Java.perform(() => { | |
const BaseActivity = Java.use('com.streema.simpleradio.SimpleRadioBaseActivity'); | |
BaseActivity.initAds.implementation = function () { }; | |
BaseActivity.preloadActivityAds.implementation = function () { }; | |
BaseActivity.isPremium.implementation = function () { | |
return true; | |
}; | |
BaseActivity.getAdRequest.implementation = function () { | |
return null; | |
}; | |
BaseActivity.getAdManagerAdRequest.implementation = function () { | |
return null; | |
}; | |
BaseActivity.startCMPDeniedActivity.implementation = function () { }; | |
BaseActivity.openIABScreen.implementation = function (a) { }; | |
BaseActivity.initInterstitialAd.implementation = function (a, b) { }; | |
const Activity = Java.use('com.streema.simpleradio.MainActivity'); | |
Activity.createAdView.implementation = function () { }; | |
Activity.getInterstitialExperimentAdUnit.implementation = function () { | |
return null; | |
}; | |
}); | |
console.log("All hook completed. Enjoy AdFree / Pro experience"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment