Intercepting Outgoing SMS

Incoming SMS You can intercept an incoming sms thru sms listener using Broadcast receiver.You can modify the incoming sms or destroy it so that it does not reaches inbox. Outgoing SMS You can listen for outgoing sms by putting content observer over content://sms/out but you can not modify it with the native sms app.You can … Read more

IOS Jailbreak How do intercept SMS / Text Messages

This code snippet should intercept SMS messages- You can extend it for other kinds of notifications. Will work on iOS 5.0.1 as well. Does not work with iMessages though. Link with CoreTelephony framework (there are bunch of private headers there which you’d can class-dump) #include <dlfcn.h> #define CORETELPATH “/System/Library/PrivateFrameworks/CoreTelephony.framework/CoreTelephony” id(*CTTelephonyCenterGetDefault)(); void (*CTTelephonyCenterAddObserver) (id,id,CFNotificationCallback,NSString*,void*,int); static void … Read more

add event listener on elements created dynamically

It sounds like you need to pursue a delegation strategy without falling back to a library. I’ve posted some sample code in a Fiddle here: http://jsfiddle.net/founddrama/ggMUn/ The gist of it is to use the target on the event object to look for the elements you’re interested in, and respond accordingly. Something like: document.querySelector(‘body’).addEventListener(‘click’, function(event) { … Read more