Browse Source

Update with new hosts file

master
Anthony Restaino 10 years ago
parent
commit
17afd700d8
  1. 6933
      assets/hosts.txt
  2. 5
      src/acr/browser/lightning/AdBlock.java

6933
assets/hosts.txt

File diff suppressed because it is too large Load Diff

5
src/acr/browser/lightning/AdBlock.java

@ -17,15 +17,10 @@ import java.util.Set;
public class AdBlock { public class AdBlock {
private static final String TAG = "AdBlock"; private static final String TAG = "AdBlock";
private static final String BLOCKED_DOMAINS_LIST_FILE_NAME = "hosts.txt"; private static final String BLOCKED_DOMAINS_LIST_FILE_NAME = "hosts.txt";
private static final Set<String> mBlockedDomainsList = new HashSet<String>(); private static final Set<String> mBlockedDomainsList = new HashSet<String>();
private SharedPreferences mPreferences; private SharedPreferences mPreferences;
private boolean mBlockAds; private boolean mBlockAds;
private static final Locale mLocale = Locale.getDefault(); private static final Locale mLocale = Locale.getDefault();
public AdBlock(Context context) { public AdBlock(Context context) {

Loading…
Cancel
Save