mirror of
https://github.com/nileshtrivedi/better
synced 2025-06-27 09:03:11 +02:00
feat: permanently dismiss popup
This commit is contained in:
@ -35,7 +35,7 @@ function onStartup(){
|
||||
function getMatch(url){
|
||||
var match = BETTER_ALTERNATIVES.find(pattern => url.match(new RegExp(pattern.urlPattern)));
|
||||
if(match && match.alternatives)
|
||||
return match.alternatives;
|
||||
return match;
|
||||
else return null;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user