From: Jay Freeman (saurik) Date: Fri, 25 Apr 2008 13:09:34 +0000 (+0000) Subject: Stupid fix for keeping apptapp: urls from opening in a new window. X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/a783fa2680ac22db0f8e2339e533cdc4ac532eb1 Stupid fix for keeping apptapp: urls from opening in a new window. --- diff --git a/Cydia.mm b/Cydia.mm index 00360899..c2cbb24e 100644 --- a/Cydia.mm +++ b/Cydia.mm @@ -3113,6 +3113,8 @@ void AddTextView(NSMutableDictionary *fields, NSMutableArray *packages, NSString } - (WebView *) webView:(WebView *)sender createWebViewWithRequest:(NSURLRequest *)request { + if ([[[request URL] scheme] isEqualToString:@"apptapp"]) + return nil; [self setBackButtonTitle:title_]; BrowserView *browser = [[[BrowserView alloc] initWithBook:book_ database:database_] autorelease]; [browser setDelegate:delegate_];