User Tools

Site Tools


howto:fridahooklibrary

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
howto:fridahooklibrary [2017/11/12 09:43]
czokie [PrettyWoman.csv]
howto:fridahooklibrary [2017/11/12 09:45] (current)
czokie [Tweak.js]
Line 442: Line 442:
       return originalResult;​       return originalResult;​
     }     }
 +  });
 +
 +  //
 +  // DJILImitDBUpdateLogic needUpdateType jsfunction
 +  //
 +
 +  var DJILImitDBUpdateLogic = ObjC.classes.DJILImitDBUpdateLogic;​
 +  var needUpdateType = DJILImitDBUpdateLogic['​- needUpdateType'​];​
 +  var needUpdateTypeImpl = needUpdateType.implementation;​
 +  needUpdateType.implementation = ObjC.implement(needUpdateType,​ function (handle, selector) {
 +    var originalResult = needUpdateTypeImpl(handle,​ selector);
 +    if ( originalResult != 0 ) {
 +      if ( 00 == 0 || DJILImitDBUpdateLogicneedUpdateTypeSeenReplace == 0 ) {
 +        console.log("​[*] Removing NFZ DB Update Message"​);​
 +        DJILImitDBUpdateLogicneedUpdateTypeSeenReplace = 1;
 +      }
 +    } else {
 +      if ( 00 == 0 || DJILImitDBUpdateLogicneedUpdateTypeSeenHit == 0 ) {
 +        console.log(""​);​
 +        DJILImitDBUpdateLogicneedUpdateTypeSeenHit = 1;
 +      }
 +    }
 +    return 0;
   });   });
 } }
 </​code>​ </​code>​
  
howto/fridahooklibrary.txt ยท Last modified: 2017/11/12 09:45 by czokie