Skip to content

Commit

Permalink
Fix pattern for Edge crx files
Browse files Browse the repository at this point in the history
The extension ID in the CRX URL for Edge is not followed by
`%26uc` but `%26installsource%3Dondemand%26uc`
  • Loading branch information
Rob--W committed Jan 4, 2021
1 parent c389c95 commit b3de676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cws_pattern.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var cws_match_pattern = '*://chrome.google.com/webstore/detail/*';

// Microsoft Edge Addons Store
var mea_pattern = /^https?:\/\/microsoftedge.microsoft.com\/addons\/.+?\/([a-z]{32})(?=[\/#?]|$)/;
var mea_download_pattern = /^https?:\/\/edge\.microsoft\.com\/extensionwebstorebase\/v1\/crx\b.*?%3D([a-z]{32})%26uc/;
var mea_download_pattern = /^https?:\/\/edge\.microsoft\.com\/extensionwebstorebase\/v1\/crx\b.*?%3D([a-z]{32})%26/;
var mea_match_pattern = '*://microsoftedge.microsoft.com/addons/detail/*';

// Opera add-on gallery
Expand Down

0 comments on commit b3de676

Please sign in to comment.