Remove Ads from Cydia

Make Cydia load only text descriptions of a package without ads.
Tested working on fw2+/3+/4.1, which increase Cydia loading speed by ~70%!


Modify /Applications/Cydia.app/package.js, remember to backup.
Look up for the following code in "package.js":
/*** updated in 2011-03-08 iOS 4.21 ***/
// Comment from line 197

/*var depiction = package.depiction;
if (depiction != null) {
$(".description").addClass("deleted");
$("#depiction-src").src(depiction);
} else {
$(".depiction").addClass("deleted");*/

...
//and comment close bracket for "else {" at line 214
$("#description").html(description);
}
//}
/*** end of iOS 4.21 / 2011-03-08 ***/




/*** iOS 4.1 or lower ***/
//Comment the following:

/*var depiction = package.depiction;
if (depiction == null)
$(".depiction").remove();
else {
$(".description").display("none");
$("#depiction-src").src(depiction);
}*/

2 comments:

Anonymous said...

That is pure genius..

Works like a charme, even ather the host file trick stoped working.

Now if onley it was possible to remove ads from SBSettings and Categories..

Thanks a milion dude :)

Anonymous said...

TY a million times over for this, i got fed up with cydia today finally and i googled the cydia ads. works great on 3.0 firmware.

Post a Comment

Related Posts Plugin for WordPress, Blogger...