diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 4e7e82c..18e11ac 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -52,5 +52,17 @@ }, "support_button": { "message": " Donate to us " + }, + "learn_rift_button":{ + "message": "Learn More" + }, + "rift_intro_message":{ + "message": "Unblock Youku is now offering RIFT VPN for your phone, enjoy your favorite TV shows and music anytime, anywhere." + }, + "rift_scan_message":{ + "message": "Scan the QR code to download Android app: " + }, + "rift_qr_title":{ + "message": "Want to use it on your phone? " } } diff --git a/_locales/zh_CN/messages.json b/_locales/zh_CN/messages.json index b544ca5..eaffa3e 100644 --- a/_locales/zh_CN/messages.json +++ b/_locales/zh_CN/messages.json @@ -52,5 +52,17 @@ }, "support_button": { "message": " 向我们捐款 " + }, + "learn_rift_button":{ + "message": "了解更多" + }, + "rift_intro_message":{ + "message": "Unblock Youku 现在为您的手机提供 RIFT VPN,随时随地畅享您喜爱的电视节目和音乐。" + }, + "rift_scan_message":{ + "message": "扫描二维码下载安卓应用:" + }, + "rift_qr_title":{ + "message": "想在手机上使用 Unblock Youku?" } } diff --git a/_locales/zh_TW/messages.json b/_locales/zh_TW/messages.json index 6df8163..f1b5e95 100644 --- a/_locales/zh_TW/messages.json +++ b/_locales/zh_TW/messages.json @@ -52,5 +52,17 @@ }, "support_button": { "message": " 向我們捐款 " + }, + "learn_rift_button": { + "message": "了解更多" + }, + "rift_intro_message": { + "message": "Unblock Youku 现在为您的手机提供 RIFT VPN,随时随地畅享您喜爱的电视节目和音乐。" + }, + "rift_scan_message": { + "message": "扫描二维码下载安卓应用:" + }, + "rift_qr_title": { + "message": "想在手机上使用 Unblock Youku?" } } diff --git a/configs/servers.mjs b/configs/servers.mjs index 6d52031..00c3684 100644 --- a/configs/servers.mjs +++ b/configs/servers.mjs @@ -1,8 +1,8 @@ // _PROXY_PROTOCOL can be HTTP, HTTPS, or SOCKS5 -export const DEFAULT_PROXY_PROTOCOL = 'HTTPS'; -export const DEFAULT_PROXY_ADDRESS = 'secure.uku.im:8443'; -export const BACKUP_PROXY_PROTOCOL = 'HTTPS'; -export const BACKUP_PROXY_ADDRESS = 'secure.uku.im:993'; +export const DEFAULT_PROXY_PROTOCOL = 'HTTP'; +export const DEFAULT_PROXY_ADDRESS = 'secure.unblockpro.app:8080'; +export const BACKUP_PROXY_PROTOCOL = 'HTTP'; +export const BACKUP_PROXY_ADDRESS = 'secure.unblockpro.app:8080'; // For debugging // export const DEFAULT_PROXY_PROTOCOL = 'SOCKS5'; diff --git a/configs/servers.test.mjs b/configs/servers.test.mjs index 44aade7..f420ff3 100644 --- a/configs/servers.test.mjs +++ b/configs/servers.test.mjs @@ -9,7 +9,7 @@ test('The proxy addresses must not be localhost', () => { expect(BACKUP_PROXY_ADDRESS).not.toMatch(/127\.0\.0\.1/i); }); -test('Production must use HTTPS proxy', () => { - expect(DEFAULT_PROXY_PROTOCOL).toBe('HTTPS'); - expect(BACKUP_PROXY_PROTOCOL).toBe('HTTPS'); +test('Production must use HTTP proxy', () => { + expect(DEFAULT_PROXY_PROTOCOL).toBe('HTTP'); + expect(BACKUP_PROXY_PROTOCOL).toBe('HTTP'); }); diff --git a/manifest.json b/manifest.json index b4c2c63..d547552 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name": "Unblock Youku", - "version": "4.0.0", + "version": "4.1.0", "manifest_version": 3, "minimum_chrome_version": "103.0", "default_locale": "en", diff --git a/src/img/rift-vpn-qr.png b/src/img/rift-vpn-qr.png new file mode 100644 index 0000000..83d3b37 Binary files /dev/null and b/src/img/rift-vpn-qr.png differ diff --git a/src/popup.html b/src/popup.html index 3292f6d..c185f44 100644 --- a/src/popup.html +++ b/src/popup.html @@ -15,8 +15,21 @@
+
+
NEW
+
+

+ Rift VPN QR code +
+
+ +
+

+ +
-
NEW
+