Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 1.89 KB

README.md

File metadata and controls

31 lines (18 loc) · 1.89 KB

CleanCydia

Since Cydia relies on web views to show packages, this tweak scans for outgoing urls, references with a blocked list, and forbids ad requests.

Core Logic

CydiaWebViewController.xm

%hook CydiaWebViewController

- (NSURLRequest *) webThreadWebView:(WebView *)view resource:(id)resource willSendRequest:(NSURLRequest *)request redirectResponse:(NSURLResponse *)response fromDataSource:(WebDataSource *)source {

  // see file above
  
}

%end

Demo

Before

After

Error loading image. Error loading image.
Error loading image. Error loading image.