Skip to content

Commit

Permalink
feat: adds support for Amazon Belgium
Browse files Browse the repository at this point in the history
  • Loading branch information
timbru31 authored Dec 28, 2023
1 parent 34bc599 commit a72a159
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/js/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const amazonURLs = [
'*://*.amazon.co.jp/*',
'*://*.amazon.co.uk/*',
'*://*.amazon.com.au/*',
'*://*.amazon.com.be/*',
'*://*.amazon.com.br/*',
'*://*.amazon.com.mx/*',
'*://*.amazon.com.sg/*',
Expand All @@ -28,7 +29,7 @@ const amazonURLs = [
'*://*.amazon.sg/*',
];

const urlPattern = 'https?://w*.?amazon.(ae|ca|cn|co.jp|co.uk|com.au|com.br|com.mx|com.sg|com.tr|com|de|eg|es|fr|ie|in|it|nl|pl|se|sg)/w*';
const urlPattern = 'https?://w*.?amazon.(ae|ca|cn|co.jp|co.uk|com.au|com.be|com.br|com.mx|com.sg|com.tr|com|de|eg|es|fr|ie|in|it|nl|pl|se|sg)/w*';
const urlRegExp = new RegExp(urlPattern);

interface BeforeRequestResponse {
Expand Down
1 change: 1 addition & 0 deletions src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"*://*.amazon.co.jp/*",
"*://*.amazon.co.uk/*",
"*://*.amazon.com.au/*",
"*://*.amazon.com.be/*",
"*://*.amazon.com.br/*",
"*://*.amazon.com.mx/*",
"*://*.amazon.com.sg/*",
Expand Down

0 comments on commit a72a159

Please sign in to comment.