From 9b1db9625433fd3a6d42f99b0d226586b7387ff7 Mon Sep 17 00:00:00 2001 From: gorhill Date: Fri, 18 Dec 2015 12:18:34 -0500 Subject: [PATCH] this fixes subscribe links not working if URL has a fragment identifier --- src/js/scriptlets/subscriber.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/scriptlets/subscriber.js b/src/js/scriptlets/subscriber.js index 8eb3f2827..3d02f8fc7 100644 --- a/src/js/scriptlets/subscriber.js +++ b/src/js/scriptlets/subscriber.js @@ -52,7 +52,7 @@ if ( typeof vAPI !== 'object' ) { if ( document.querySelector('a[href^="abp:"],a[href^="https://subscribe.adblockplus.org/?"]') === null && - window.location.href !== 'https://github.com/gorhill/uBlock/wiki/Filter-lists-from-around-the-web' + window.location.href.startsWith('https://github.com/gorhill/uBlock/wiki/Filter-lists-from-around-the-web') === false ) { return; }