Skip to content

Instantly share code, notes, and snippets.

@10cl
Last active July 26, 2023 08:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 10cl/2fbc3e7c173e7aaeed4df57f60d3bc72 to your computer and use it in GitHub Desktop.
Save 10cl/2fbc3e7c173e7aaeed4df57f60d3bc72 to your computer and use it in GitHub Desktop.
chatgpt_android_hook
console.log("loaded chatgpt js successfully");
Java.perform(function () {
var Log = Java.use("android.util.Log");
var LicenseClientV3 = Java.use('com.pairip.licensecheck3.LicenseClientV3');
LicenseClientV3.showErrorDialog.implementation = function (){
Log.d("10cl", 'intercept showErrorDialog' );
//return this.showErrorDialog();
};
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment