Skip to content

Commit

Permalink
Update iOS and social info
Browse files Browse the repository at this point in the history
  • Loading branch information
ssBackupaccount committed Mar 23, 2024
1 parent c9aa3eb commit 3f1b287
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 20 deletions.
2 changes: 1 addition & 1 deletion _locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"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 for Android"
"message": "Scan for iOS/Android:"
},
"rift_scan_ios_message":{
"message": "Scan for iOS"
Expand Down
2 changes: 1 addition & 1 deletion _locales/zh_CN/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"message": "Unblock Youku 现在为您的手机提供 RIFT VPN,随时随地畅享您喜爱的电视节目和音乐。"
},
"rift_scan_message":{
"message": "扫描下载安卓客户端"
"message": "扫描下载苹果安卓客户端"
},
"rift_scan_ios_message":{
"message": "扫描下载苹果客户端:"
Expand Down
2 changes: 1 addition & 1 deletion _locales/zh_TW/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"message": "Unblock Youku 现在为您的手机提供 RIFT VPN,随时随地畅享您喜爱的电视节目和音乐。"
},
"rift_scan_message": {
"message": "掃描下載安卓應用: "
"message": "掃描下載安卓/iOS應用: "
},
"rift_scan_ios_message":{
"message": "掃描下載iOS應用: "
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Unblock Youku",
"version": "4.1.0",
"version": "4.1.2",
"manifest_version": 3,
"minimum_chrome_version": "103.0",
"default_locale": "en",
Expand Down
Binary file removed src/img/rift-vpn-qr-ios.jpg
Binary file not shown.
Binary file modified src/img/rift-vpn-qr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 9 additions & 16 deletions src/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,20 @@
<div id="qr_codes_container" style="text-align: left;">
<!-- Rift VPN QR code for general use -->
<div><strong></strong><span class="label label-success">NEW</span></div>

<!-- Container for QR codes displayed side by side -->
<div style="display: flex; justify-content: space-around; align-items: flex-start; margin-top: 20px;">
<!-- Rift VPN QR code for general use -->
<div id="rift_qr" class="text-center">
<p id="rift_scan_message"></p>
<img src="img/rift-vpn-qr.png" alt="Rift VPN QR code" style="width: auto; height: 140px;">
</div>

<!-- iOS-specific Rift VPN QR code -->
<div id="rift_ios_qr" class="text-center">
<p id="rift_scan_ios_message"></p>
<img src="img/rift-vpn-qr-ios.jpg" alt="Rift VPN iOS QR code" style="width: auto; height: 140px;">
<img src="img/rift-vpn-qr.png" alt="Rift VPN QR code" style="width: auto; height: 180px;">
</div>
</div>
</div>


<div id="intro" class="text-center"style="margin-top:20px;margin-bottom:20px;">
<p id="rift_intro_message"></p>
<a href="https://riftvpn.ai" target="_blank"><button type="button"
<a href="https://go.riftvpn.ai/chrome-learn-more" target="_blank"><button type="button"
class="btn btn-danger" id="learn_rift_button"></button></a>
</div>
<div id="support">
Expand All @@ -53,26 +46,26 @@
<div><strong></strong></div>
<div id="social-networks">
<div class="row">
<div class="col-xs-5 text-right">Weibo</div>
<div class="col-xs-5 text-right">Discord</div>
<div class="col-xs-7 text-left">
<a href="http://weibo.com/ubuku" target="_blank">
<i class="fa fa-weibo"></i> @Unblock_Youku
<a href="https://go.riftvpn.ai/discord" target="_blank">
RIFT云界 - VPN
</a>
</div>
</div>
<div class="row">
<div class="col-xs-5 text-right">Twitter</div>
<div class="col-xs-7 text-left">
<a id="test" href="https://twitter.com/Unblock_Youku" target="_blank">
<i class="fa fa-twitter"></i> @Unblock_Youku
<a id="test" href="https://twitter.com/riftvpn" target="_blank">
<i class="fa fa-twitter"></i> @riftvpn
</a>
</div>
</div>
<div class="row">
<div class="col-xs-5 text-right">Facebook</div>
<div class="col-xs-7 text-left">
<a href="https://fb.com/uku.im" target="_blank">
<i class="fa fa-facebook-square"></i> https://fb.com/uku.im
<a href="https://go.riftvpn.ai/fb-page" target="_blank">
<i class="fa fa-facebook-square"></i> https://go.riftvpn.ai/fb-page
</a>
</div>
</div>
Expand Down
6 changes: 6 additions & 0 deletions src/service_worker.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ chrome.runtime.onInstalled.addListener(function(details) {
url: chrome.i18n.getMessage('donation_url'),
});
}
// show the donation page when the extension is updated
else if (details.reason === 'update') {
chrome.tabs.create({
url: chrome.i18n.getMessage('donation_url'),
});
}

// Initialize the extension
initializeExtension();
Expand Down

0 comments on commit 3f1b287

Please sign in to comment.