创建 hook_conversions.js
parent
c0a5ef2486
commit
b1164af03a
|
|
@ -0,0 +1,17 @@
|
||||||
|
console.log("Script loaded successfully");
|
||||||
|
Java.perform(function() {
|
||||||
|
var URL = Java.use('java.net.URL');
|
||||||
|
URL.$init.overload('java.lang.String').implementation = function(spec) {
|
||||||
|
if (spec.includes("appsflyer")){
|
||||||
|
console.log("URL request: " + spec);
|
||||||
|
}
|
||||||
|
return this.$init(spec);
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue