diff --git a/assets/manifest.json b/assets/manifest.json index 429c49c..ee48460 100644 --- a/assets/manifest.json +++ b/assets/manifest.json @@ -1,7 +1,7 @@ { "name": "Ugly Email", "short_name": "Ugly Email", - "version": "4.0.1", + "version": "4.1.1", "description": "Get Back Your Email Privacy, Block Email Tracking.", "author": "OneClick Lab", "homepage_url": "http://uglyemail.com", diff --git a/package-lock.json b/package-lock.json index 2e7a0d3..7b090b7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,19 +1,19 @@ { "name": "ugly-email-extension", - "version": "4.0.1", + "version": "4.1.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ugly-email-extension", - "version": "4.0.1", + "version": "4.1.1", "license": "ISC", "dependencies": { - "@types/chrome": "^0.0.262", "gmail-js": "^1.1.12", "jquery": "^4.0.0-beta" }, "devDependencies": { + "@types/chrome": "^0.0.262", "@types/jest": "^26.0.19", "@types/jquery": "^3.5.29", "@typescript-eslint/eslint-plugin": "^4.9.1", diff --git a/package.json b/package.json index 568252c..5a6e69d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ugly-email-extension", - "version": "4.0.1", + "version": "4.1.1", "description": "", "main": "index.js", "scripts": { diff --git a/src/services/trackers.ts b/src/services/trackers.ts index 853c934..9d5acf8 100644 --- a/src/services/trackers.ts +++ b/src/services/trackers.ts @@ -32,7 +32,7 @@ export class Trackers { } match(body: string): string | null { - const pixel = this.identifiers.find((p) => new RegExp(p, 'g').test(body)); + const pixel = this.identifiers.find((p) => new RegExp(p, 'gi').test(body)); return pixel ? this.pixels.get(pixel) : null; } }