We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24142e7 commit 772a891Copy full SHA for 772a891
wallabagger/js/background.js
@@ -491,10 +491,7 @@ const saveExistFlag = (url, exists) => {
491
existCache.set(url, exists);
492
};
493
494
-const isServicePage = (url) => {
495
- return RegExp('^(?!http(s?):(.*))').test(url) ||
496
- RegExp('^' + api.data.Url + '(.*)').test(url);
497
-};
+const isServicePage = (url) => !/^https?:\/\/.+/.test(url) || RegExp('^' + api.data.Url).test(url);
498
499
const addToAllTags = (tags) => {
500
if (tags.length === 0) { return; }
0 commit comments