diff --git a/app/src/main/java/me/devsaki/hentoid/util/AdBlocker.java b/app/src/main/java/me/devsaki/hentoid/util/AdBlocker.java index bd5a0d4cab..23eb9ca7f9 100644 --- a/app/src/main/java/me/devsaki/hentoid/util/AdBlocker.java +++ b/app/src/main/java/me/devsaki/hentoid/util/AdBlocker.java @@ -198,7 +198,7 @@ public boolean isBlocked(@NonNull final String url) { Timber.e(iae); return true; // Avoid feeding malformed URLs to Chromium on older Androids (crash reported on Lollipop) } - addJsUrlPatternWhitelist("^" + cleanUrl.replace(".", "\\.") + "$"); + addJsUrlWhitelist(cleanUrl); Timber.d(">> grey file %s ALLOWED", url); }