Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/passman-webextension.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrantje <brantje@gmail.com>2017-10-26 19:58:20 +0300
committerbrantje <brantje@gmail.com>2017-10-26 19:58:20 +0300
commit640d6af9c30b9023135144ba75c1e424f383b824 (patch)
tree47532a711cba7e584c80b85ecdaf9e2f03286b8b
parentc810c04035bcef8b3558ae3fabb12105ae5ff7c7 (diff)
Merge #173 with squash
-rw-r--r--js/background/inject/inject.js3
-rw-r--r--manifest.json2
2 files changed, 4 insertions, 1 deletions
diff --git a/js/background/inject/inject.js b/js/background/inject/inject.js
index e3170d7..d7d1c1b 100644
--- a/js/background/inject/inject.js
+++ b/js/background/inject/inject.js
@@ -15,7 +15,8 @@ $j(document).ready(function () {
var _this = this;
Array.prototype.findUrl = function (match) {
return this.filter(function (item) {
- return typeof item === 'string' && item.indexOf(match) > -1;
+ var matchParse = processURL(match, false, false, true, false);
+ return typeof item === 'string' && item.indexOf(matchParse) > -1;
});
};
diff --git a/manifest.json b/manifest.json
index be880ff..fd7a5c5 100644
--- a/manifest.json
+++ b/manifest.json
@@ -80,6 +80,8 @@
"/js/lib/jQuerytoObject.js",
"/js/lib/findForm.js",
"/js/lib/parseUrl.js",
+ "/js/lib/parseTLD.js",
+ "/js/lib/data/tlds.js",
"/js/lib/domchanged.js",
"/js/background/inject/inject.js"
],