-
Notifications
You must be signed in to change notification settings - Fork 0
/
script.js
58 lines (48 loc) · 1.46 KB
/
script.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
var appName = 'Ezcode - Finance';
var storeUrl = '';
var date = '2023-07-21';
var linkBuy = 'https://rb.gy/9j75q';
var linkFacebook = 'https://www.facebook.com/invoker.lab';
var linkTele = 'https://t.me/brightkieu';
var linkDesign = '';
var linkBannerLeftSide = '';
var linkBannerRightSide = '';
var linkBannerFooter = '';
function onIndexLoad() {
document.title = appName;
document.getElementById('storeUrl').href = storeUrl;
}
function onLinkBuyLoad() {
document.getElementById('link-buy').href = linkBuy;
}
function onLinkFacebook() {
document.getElementById('link-facebook').href = linkFacebook;
}
function onLinkTele() {
document.getElementById('link-tele').href = linkTele;
}
function onLinkDesign() {
document.getElementById('link-design').href = linkDesign;
}
function onBannerSide() {
document.getElementById('link-banner-side').href = linkBannerLeftSide;
}
function onBannerSideRight() {
document.getElementById('link-banner-side-right').href = linkBannerRightSide;
}
function onBannerFooter() {
document.getElementById('link-banner-footer').href = linkBannerFooter;
}
function onPolicyLoad() {
document.title = appName + ' ' + 'Privacy Policy';
getData();
}
function onTermLoad() {
document.getElementById('appName2').innerHTML = appName;
document.title = appName + ' ' + 'Terms and Conditions';
getData();
}
function getData() {
document.getElementById('appName').innerHTML = appName;
document.getElementById('date').innerHTML = date;
}