mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2026-04-23 08:26:47 +00:00
fix cookie, pricing etc
This commit is contained in:
@@ -21,7 +21,6 @@
|
||||
<script type="text/javascript">!function(o,c){var n=c.documentElement,t=" w-mod-";n.className+=t+"js",("ontouchstart"in o||o.DocumentTouch&&c instanceof DocumentTouch)&&(n.className+=t+"touch")}(window,document);</script>
|
||||
<link href="../images/favicon.png" rel="shortcut icon" type="image/x-icon">
|
||||
<link href="../images/webclip.png" rel="apple-touch-icon">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/cookieconsent@3.1.1/build/cookieconsent.min.css">
|
||||
<style>
|
||||
:root {
|
||||
--accent: #024eff;
|
||||
@@ -507,27 +506,5 @@ window.addEventListener("load", function() {
|
||||
|
||||
gtag('config', 'UA-178912857-1');
|
||||
</script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/cookieconsent@3.1.1/build/cookieconsent.min.js"></script>
|
||||
<script>
|
||||
window.addEventListener("load", function(){
|
||||
window.cookieconsent.initialise({
|
||||
"palette": {
|
||||
"popup": {
|
||||
"background": "#edeff5",
|
||||
"text": "#838391"
|
||||
},
|
||||
"button": {
|
||||
"background": "#4b81e8"
|
||||
}
|
||||
},
|
||||
"position": "bottom-right",
|
||||
"content": {
|
||||
"message": "This website uses cookies to ensure you get the best experience on our website.",
|
||||
"dismiss": "Got it!",
|
||||
"link": "Learn more"
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -21,8 +21,7 @@
|
||||
<script type="text/javascript">!function(o,c){var n=c.documentElement,t=" w-mod-";n.className+=t+"js",("ontouchstart"in o||o.DocumentTouch&&c instanceof DocumentTouch)&&(n.className+=t+"touch")}(window,document);</script>
|
||||
<link href="../images/favicon.png" rel="shortcut icon" type="image/x-icon">
|
||||
<link href="../images/webclip.png" rel="apple-touch-icon">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sweetalert2@11.7.27/dist/sweetalert2.min.css">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/cookieconsent@3.1.1/build/cookieconsent.min.css">
|
||||
<link rel="stylesheet" href="../sweetalert2.min.css">
|
||||
<style>
|
||||
:root {
|
||||
--accent: #024eff;
|
||||
@@ -695,61 +694,39 @@ window.addEventListener("load", function() {
|
||||
|
||||
gtag('config', 'UA-178912857-1');
|
||||
</script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11.7.27"></script>
|
||||
<script src="../sweetalert2@11.7.27.js"></script>
|
||||
<script>
|
||||
document.getElementById("buyNowButton1").addEventListener("click", function() {
|
||||
Swal.fire({
|
||||
title: 'Please Confirm',
|
||||
text: 'Do you want to proceed to the purchase page?',
|
||||
title: '请确认',
|
||||
text: '你是否要继续前往购买页面?请注意,你所购买的不是SaaS(软件即服务)订阅,而是一项自助托管解决方案的许可证。你需要将其部署在自己的服务器上。',
|
||||
icon: 'question',
|
||||
showCancelButton: true,
|
||||
confirmButtonText: 'Yes',
|
||||
cancelButtonText: 'No',
|
||||
confirmButtonText: '是',
|
||||
cancelButtonText: '否',
|
||||
}).then((result) => {
|
||||
if (result.isConfirmed) {
|
||||
const redirectUrl = 'https://rustdesk.com/api/lic/stripe/checkout?type=Personal¤cy=cny';
|
||||
window.location.href = redirectUrl;
|
||||
window.open(redirectUrl, '_blank');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
document.getElementById("buyNowButton2").addEventListener("click", function() {
|
||||
Swal.fire({
|
||||
title: 'Please Confirm',
|
||||
text: 'Do you want to proceed to the purchase page?',
|
||||
title: '请确认',
|
||||
text: '你是否要继续前往购买页面?请注意,你所购买的不是SaaS(软件即服务)订阅,而是一项自助托管解决方案的许可证。你需要将其部署在自己的服务器上。',
|
||||
icon: 'question',
|
||||
showCancelButton: true,
|
||||
confirmButtonText: 'Yes',
|
||||
cancelButtonText: 'No',
|
||||
confirmButtonText: '是',
|
||||
cancelButtonText: '否',
|
||||
}).then((result) => {
|
||||
if (result.isConfirmed) {
|
||||
const redirectUrl = 'https://rustdesk.com/api/lic/stripe/checkout?type=Business¤cy=cny';
|
||||
window.location.href = redirectUrl;
|
||||
window.open(redirectUrl, '_blank');
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/cookieconsent@3.1.1/build/cookieconsent.min.js"></script>
|
||||
<script>
|
||||
window.addEventListener("load", function(){
|
||||
window.cookieconsent.initialise({
|
||||
"palette": {
|
||||
"popup": {
|
||||
"background": "#edeff5",
|
||||
"text": "#838391"
|
||||
},
|
||||
"button": {
|
||||
"background": "#4b81e8"
|
||||
}
|
||||
},
|
||||
"position": "bottom-right",
|
||||
"content": {
|
||||
"message": "This website uses cookies to ensure you get the best experience on our website.",
|
||||
"dismiss": "Got it!",
|
||||
"link": "Learn more"
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user