dedoussis / icloud-hide-my-email-browser-extension

Enjoy iCloud's Hide My Email service in your favourite browser
https://chrome.google.com/webstore/detail/icloud-hide-my-email/omiaekblhgfopjkjnenhahfgcgnbohlk
MIT License
319 stars 15 forks source link

feat: Support for icloud.com.cn #52

Closed dedoussis closed 8 months ago

gutenye commented 9 months ago

tACK, works in China, but needs this

diff --git a/src/manifest.json b/src/manifest.json
index 74aba60..1706c4c 100644
--- a/src/manifest.json
+++ b/src/manifest.json
@@ -32,7 +32,7 @@
     "webRequest",
     "notifications"
   ],
-  "host_permissions": ["https://*.icloud.com/*"],
+  "host_permissions": ["https://*.icloud.com/*", "https://*.icloud.com.cn/*"],
   "icons": {
     "16": "icon-16.png",
     "32": "icon-32.png",
dedoussis commented 8 months ago

@gutenye have addressed both of your comments (thank you!) + did some refactoring. Would you mind testing this again to make sure that my new changes work with CN appleId's?

gutenye commented 8 months ago

Tested, works great!

dedoussis commented 8 months ago

thank you @gutenye!