Added rule and deleted unnecessary "or"

#209
This commit is contained in:
Kevin Röbert 2019-07-29 17:40:54 +02:00
parent 15daf50c71
commit 5da65aed98
2 changed files with 10 additions and 1 deletions

View File

@ -120,7 +120,7 @@ function extractFileds(url)
fields = fields.replace(new RegExp("#.*", "i"), ""); fields = fields.replace(new RegExp("#.*", "i"), "");
} }
return (fields.match(/[^\/|\?|&]+=?[^|&]*/gi) || []); return (fields.match(/[^\/|\?|&]+=?[^&]*/gi) || []);
} }
return []; return [];

View File

@ -597,6 +597,15 @@
"redirections": [ "redirections": [
".*linksynergy\\.com.*\\/.*murl=([^&]*)" ".*linksynergy\\.com.*\\/.*murl=([^&]*)"
] ]
},
"giphy.com": {
"urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(giphy\\.com).*",
"completeProvider": false,
"rules": [
"ref"
],
"exceptions": [],
"redirections": []
} }
} }
} }