#include <WebKit/DOMHTMLBodyElement.h>
#include <WebKit/DOMRGBColor.h>
+#include <dlfcn.h>
+#include <objc/runtime.h>
+
#define ForSaurik 0
#define DefaultTimeout_ 120.0
NSLog(@"[CyteWebViewController dealloc]");
#endif
- [webview_ setDelegate:nil];
- [indirect_ setDelegate:nil];
-
if ([loading_ count] != 0)
[delegate_ releaseNetworkActivityIndicator];
style_ = nil;
function_ = nil;
+ allowsNavigationAction_ = true;
+
stage2_ = stage1_;
stage1_ = nil;
}
- (void) dispatchEvent:(NSString *)event {
- [webview_ dispatchEvent:event];
+ [(CyteWebView *) webview_ dispatchEvent:event];
}
- (bool) hidesNavigationBar {