appscms-tools-theme 2.5.6 → 2.5.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_data/feature/en/allele-frequency.json +244 -244
- data/_data/feature/en/theframe.json +55 -55
- data/_data/home/en/photoeffects.json +23 -23
- data/_data/photo-categories.json +12 -12
- data/_data/photoeffects.json +116 -116
- data/_includes/monumetric/ads.html +57 -57
- data/_includes/monumetric/profitablecpmgate.html +51 -51
- data/_includes/script.html +11 -0
- data/_layouts/calculator.html +83 -83
- data/_layouts/frame.html +197 -197
- data/_layouts/photo-effects-home.html +97 -97
- data/assets/css/calculators.css +40 -40
- data/assets/css/frame.css +717 -717
- data/assets/images/addimg.svg +2 -2
- data/assets/js/ads.js +8 -8
- data/assets/js/append-div.js +10 -10
- data/assets/js/photo-effects.json +32 -32
- metadata +7 -7
@@ -1,24 +1,24 @@
|
|
1
|
-
{
|
2
|
-
"Language": "English",
|
3
|
-
"htmlLangAtt": "en",
|
4
|
-
"H1": "All effects",
|
5
|
-
"H2": "Largest and best collection of photo effects",
|
6
|
-
"color": "#ff6131",
|
7
|
-
"imgwidth": "35px",
|
8
|
-
"imgheight": "35px",
|
9
|
-
"imgalt": "altvalue",
|
10
|
-
"nofileupload": true,
|
11
|
-
"variant": "primary",
|
12
|
-
"TITLE": "Image border tool- Surround your images with a border",
|
13
|
-
"META": "Image border tool helps you to add a simple border frame to your image. You can customize border colour and width. Border sets the focal subject.",
|
14
|
-
"TEXTUAL_CONTENT": [],
|
15
|
-
"FAQ": [
|
16
|
-
{
|
17
|
-
"question": "",
|
18
|
-
"answer": ""
|
19
|
-
}
|
20
|
-
],
|
21
|
-
"cssfilepaths": [
|
22
|
-
"/assets/css/frame.css"
|
23
|
-
]
|
1
|
+
{
|
2
|
+
"Language": "English",
|
3
|
+
"htmlLangAtt": "en",
|
4
|
+
"H1": "All effects",
|
5
|
+
"H2": "Largest and best collection of photo effects",
|
6
|
+
"color": "#ff6131",
|
7
|
+
"imgwidth": "35px",
|
8
|
+
"imgheight": "35px",
|
9
|
+
"imgalt": "altvalue",
|
10
|
+
"nofileupload": true,
|
11
|
+
"variant": "primary",
|
12
|
+
"TITLE": "Image border tool- Surround your images with a border",
|
13
|
+
"META": "Image border tool helps you to add a simple border frame to your image. You can customize border colour and width. Border sets the focal subject.",
|
14
|
+
"TEXTUAL_CONTENT": [],
|
15
|
+
"FAQ": [
|
16
|
+
{
|
17
|
+
"question": "",
|
18
|
+
"answer": ""
|
19
|
+
}
|
20
|
+
],
|
21
|
+
"cssfilepaths": [
|
22
|
+
"/assets/css/frame.css"
|
23
|
+
]
|
24
24
|
}
|
data/_data/photo-categories.json
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"category": "crsis",
|
4
|
-
"link": "valentines_day",
|
5
|
-
"features": [
|
6
|
-
{
|
7
|
-
"name": "aaaaaaa",
|
8
|
-
"link": "/swwwwwwwww",
|
9
|
-
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
10
|
-
}
|
11
|
-
]
|
12
|
-
}
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"category": "crsis",
|
4
|
+
"link": "valentines_day",
|
5
|
+
"features": [
|
6
|
+
{
|
7
|
+
"name": "aaaaaaa",
|
8
|
+
"link": "/swwwwwwwww",
|
9
|
+
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
10
|
+
}
|
11
|
+
]
|
12
|
+
}
|
13
13
|
]
|
data/_data/photoeffects.json
CHANGED
@@ -1,117 +1,117 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"featureName": "Hot Air Balloon",
|
4
|
-
"url": "/",
|
5
|
-
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
6
|
-
},
|
7
|
-
{
|
8
|
-
"featureName": "Hot Air Balloon",
|
9
|
-
"url": "/",
|
10
|
-
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
11
|
-
},
|
12
|
-
{
|
13
|
-
"featureName": "Hot Air Balloon",
|
14
|
-
"url": "/",
|
15
|
-
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
16
|
-
},
|
17
|
-
{
|
18
|
-
"featureName": "Hot Air Balloon",
|
19
|
-
"url": "/",
|
20
|
-
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"featureName": "Hot Air Balloon",
|
24
|
-
"url": "/",
|
25
|
-
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
26
|
-
},
|
27
|
-
{
|
28
|
-
"featureName": "Hot Air Balloon",
|
29
|
-
"url": "/",
|
30
|
-
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
31
|
-
},
|
32
|
-
{
|
33
|
-
"featureName": "Hot Air Balloon",
|
34
|
-
"url": "/",
|
35
|
-
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
36
|
-
},
|
37
|
-
{
|
38
|
-
"featureName": "Hot Air Balloon",
|
39
|
-
"url": "/",
|
40
|
-
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
41
|
-
},
|
42
|
-
{
|
43
|
-
"featureName": "Hot Air Balloon",
|
44
|
-
"url": "/",
|
45
|
-
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
46
|
-
},
|
47
|
-
{
|
48
|
-
"featureName": "Hot Air Balloon",
|
49
|
-
"url": "/",
|
50
|
-
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
51
|
-
},
|
52
|
-
{
|
53
|
-
"featureName": "Hot Air Balloon",
|
54
|
-
"url": "/",
|
55
|
-
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
56
|
-
},
|
57
|
-
{
|
58
|
-
"featureName": "Hot Air Balloon",
|
59
|
-
"url": "/",
|
60
|
-
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
61
|
-
},
|
62
|
-
{
|
63
|
-
"featureName": "Hot Air Balloon",
|
64
|
-
"url": "/",
|
65
|
-
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
66
|
-
},
|
67
|
-
{
|
68
|
-
"featureName": "Hot Air Balloon",
|
69
|
-
"url": "/",
|
70
|
-
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
71
|
-
},
|
72
|
-
{
|
73
|
-
"featureName": "Hot Air Balloon",
|
74
|
-
"url": "/",
|
75
|
-
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
76
|
-
},
|
77
|
-
{
|
78
|
-
"featureName": "Hot Air Balloon",
|
79
|
-
"url": "/",
|
80
|
-
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
81
|
-
},
|
82
|
-
{
|
83
|
-
"featureName": "Hot Air Balloon",
|
84
|
-
"url": "/",
|
85
|
-
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
86
|
-
},
|
87
|
-
{
|
88
|
-
"featureName": "Hot Air Balloon",
|
89
|
-
"url": "/",
|
90
|
-
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
91
|
-
},
|
92
|
-
{
|
93
|
-
"featureName": "Hot Air Balloon",
|
94
|
-
"url": "/",
|
95
|
-
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
96
|
-
},
|
97
|
-
{
|
98
|
-
"featureName": "Hot Air Balloon",
|
99
|
-
"url": "/",
|
100
|
-
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
101
|
-
},
|
102
|
-
{
|
103
|
-
"featureName": "Hot Air Balloon",
|
104
|
-
"url": "/",
|
105
|
-
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
106
|
-
},
|
107
|
-
{
|
108
|
-
"featureName": "Hot Air Balloon",
|
109
|
-
"url": "/",
|
110
|
-
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
111
|
-
},
|
112
|
-
{
|
113
|
-
"featureName": "Hot Air Balloon",
|
114
|
-
"url": "/",
|
115
|
-
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
116
|
-
}
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"featureName": "Hot Air Balloon",
|
4
|
+
"url": "/",
|
5
|
+
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
6
|
+
},
|
7
|
+
{
|
8
|
+
"featureName": "Hot Air Balloon",
|
9
|
+
"url": "/",
|
10
|
+
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"featureName": "Hot Air Balloon",
|
14
|
+
"url": "/",
|
15
|
+
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"featureName": "Hot Air Balloon",
|
19
|
+
"url": "/",
|
20
|
+
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"featureName": "Hot Air Balloon",
|
24
|
+
"url": "/",
|
25
|
+
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"featureName": "Hot Air Balloon",
|
29
|
+
"url": "/",
|
30
|
+
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"featureName": "Hot Air Balloon",
|
34
|
+
"url": "/",
|
35
|
+
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"featureName": "Hot Air Balloon",
|
39
|
+
"url": "/",
|
40
|
+
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"featureName": "Hot Air Balloon",
|
44
|
+
"url": "/",
|
45
|
+
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"featureName": "Hot Air Balloon",
|
49
|
+
"url": "/",
|
50
|
+
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"featureName": "Hot Air Balloon",
|
54
|
+
"url": "/",
|
55
|
+
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"featureName": "Hot Air Balloon",
|
59
|
+
"url": "/",
|
60
|
+
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"featureName": "Hot Air Balloon",
|
64
|
+
"url": "/",
|
65
|
+
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"featureName": "Hot Air Balloon",
|
69
|
+
"url": "/",
|
70
|
+
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"featureName": "Hot Air Balloon",
|
74
|
+
"url": "/",
|
75
|
+
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"featureName": "Hot Air Balloon",
|
79
|
+
"url": "/",
|
80
|
+
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"featureName": "Hot Air Balloon",
|
84
|
+
"url": "/",
|
85
|
+
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"featureName": "Hot Air Balloon",
|
89
|
+
"url": "/",
|
90
|
+
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
91
|
+
},
|
92
|
+
{
|
93
|
+
"featureName": "Hot Air Balloon",
|
94
|
+
"url": "/",
|
95
|
+
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
96
|
+
},
|
97
|
+
{
|
98
|
+
"featureName": "Hot Air Balloon",
|
99
|
+
"url": "/",
|
100
|
+
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
101
|
+
},
|
102
|
+
{
|
103
|
+
"featureName": "Hot Air Balloon",
|
104
|
+
"url": "/",
|
105
|
+
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
106
|
+
},
|
107
|
+
{
|
108
|
+
"featureName": "Hot Air Balloon",
|
109
|
+
"url": "/",
|
110
|
+
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
111
|
+
},
|
112
|
+
{
|
113
|
+
"featureName": "Hot Air Balloon",
|
114
|
+
"url": "/",
|
115
|
+
"image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
|
116
|
+
}
|
117
117
|
]
|
@@ -1,58 +1,58 @@
|
|
1
|
-
{% if page.url != '/' %}
|
2
|
-
{% if jekyll.environment == 'production' and site.adsId %}
|
3
|
-
<script>
|
4
|
-
const autoLoadDuration = 5; //In Seconds
|
5
|
-
const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
|
6
|
-
|
7
|
-
const autoLoadTimeout = setTimeout(runScripts, autoLoadDuration * 1000);
|
8
|
-
|
9
|
-
eventList.forEach(function (event) {
|
10
|
-
window.addEventListener(event, triggerScripts, { passive: true })
|
11
|
-
});
|
12
|
-
|
13
|
-
function triggerScripts() {
|
14
|
-
runScripts();
|
15
|
-
clearTimeout(autoLoadTimeout);
|
16
|
-
eventList.forEach(function (event) {
|
17
|
-
window.removeEventListener(event, triggerScripts, { passive: true });
|
18
|
-
});
|
19
|
-
}
|
20
|
-
|
21
|
-
function runScripts() {
|
22
|
-
document.querySelectorAll("script[delay]").forEach(function (scriptTag) {
|
23
|
-
scriptTag.setAttribute("src", scriptTag.getAttribute("delay"));
|
24
|
-
});
|
25
|
-
}
|
26
|
-
</script>
|
27
|
-
<script type="text/javascript" delay="/assets/js/ads.js" crossorigin="anonymous"></script>
|
28
|
-
{% endif %}
|
29
|
-
|
30
|
-
{% if jekyll.environment == 'development' and site.adsId %}
|
31
|
-
<script>
|
32
|
-
const autoLoadDuration = 5; //In Seconds
|
33
|
-
const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
|
34
|
-
|
35
|
-
const autoLoadTimeout = setTimeout(runScripts, autoLoadDuration * 1000);
|
36
|
-
|
37
|
-
eventList.forEach(function (event) {
|
38
|
-
window.addEventListener(event, triggerScripts, { passive: true })
|
39
|
-
});
|
40
|
-
|
41
|
-
function triggerScripts() {
|
42
|
-
runScripts();
|
43
|
-
clearTimeout(autoLoadTimeout);
|
44
|
-
eventList.forEach(function (event) {
|
45
|
-
window.removeEventListener(event, triggerScripts, { passive: true });
|
46
|
-
});
|
47
|
-
}
|
48
|
-
|
49
|
-
function runScripts() {
|
50
|
-
document.querySelectorAll("script[delay]").forEach(function (scriptTag) {
|
51
|
-
scriptTag.setAttribute("src", scriptTag.getAttribute("delay"));
|
52
|
-
});
|
53
|
-
}
|
54
|
-
</script>
|
55
|
-
<script type="text/javascript" delay="/assets/js/ads.js" crossorigin="anonymous"></script>
|
56
|
-
|
57
|
-
{% endif %}
|
1
|
+
{% if page.url != '/' %}
|
2
|
+
{% if jekyll.environment == 'production' and site.adsId %}
|
3
|
+
<script>
|
4
|
+
const autoLoadDuration = 5; //In Seconds
|
5
|
+
const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
|
6
|
+
|
7
|
+
const autoLoadTimeout = setTimeout(runScripts, autoLoadDuration * 1000);
|
8
|
+
|
9
|
+
eventList.forEach(function (event) {
|
10
|
+
window.addEventListener(event, triggerScripts, { passive: true })
|
11
|
+
});
|
12
|
+
|
13
|
+
function triggerScripts() {
|
14
|
+
runScripts();
|
15
|
+
clearTimeout(autoLoadTimeout);
|
16
|
+
eventList.forEach(function (event) {
|
17
|
+
window.removeEventListener(event, triggerScripts, { passive: true });
|
18
|
+
});
|
19
|
+
}
|
20
|
+
|
21
|
+
function runScripts() {
|
22
|
+
document.querySelectorAll("script[delay]").forEach(function (scriptTag) {
|
23
|
+
scriptTag.setAttribute("src", scriptTag.getAttribute("delay"));
|
24
|
+
});
|
25
|
+
}
|
26
|
+
</script>
|
27
|
+
<script type="text/javascript" delay="/assets/js/ads.js" crossorigin="anonymous"></script>
|
28
|
+
{% endif %}
|
29
|
+
|
30
|
+
{% if jekyll.environment == 'development' and site.adsId %}
|
31
|
+
<script>
|
32
|
+
const autoLoadDuration = 5; //In Seconds
|
33
|
+
const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
|
34
|
+
|
35
|
+
const autoLoadTimeout = setTimeout(runScripts, autoLoadDuration * 1000);
|
36
|
+
|
37
|
+
eventList.forEach(function (event) {
|
38
|
+
window.addEventListener(event, triggerScripts, { passive: true })
|
39
|
+
});
|
40
|
+
|
41
|
+
function triggerScripts() {
|
42
|
+
runScripts();
|
43
|
+
clearTimeout(autoLoadTimeout);
|
44
|
+
eventList.forEach(function (event) {
|
45
|
+
window.removeEventListener(event, triggerScripts, { passive: true });
|
46
|
+
});
|
47
|
+
}
|
48
|
+
|
49
|
+
function runScripts() {
|
50
|
+
document.querySelectorAll("script[delay]").forEach(function (scriptTag) {
|
51
|
+
scriptTag.setAttribute("src", scriptTag.getAttribute("delay"));
|
52
|
+
});
|
53
|
+
}
|
54
|
+
</script>
|
55
|
+
<script type="text/javascript" delay="/assets/js/ads.js" crossorigin="anonymous"></script>
|
56
|
+
|
57
|
+
{% endif %}
|
58
58
|
{% endif %}
|
@@ -1,52 +1,52 @@
|
|
1
|
-
{% if page.url != '/' %}
|
2
|
-
{% if jekyll.environment == 'production' and site.profitablecpmgateId %}
|
3
|
-
<script>
|
4
|
-
const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
|
5
|
-
eventList.forEach(function (event) {
|
6
|
-
window.addEventListener(event, triggerScripts, { passive: true })
|
7
|
-
});
|
8
|
-
|
9
|
-
function triggerScripts() {
|
10
|
-
runScripts();
|
11
|
-
eventList.forEach(function (event) {
|
12
|
-
window.removeEventListener(event, triggerScripts, { passive: true });
|
13
|
-
});
|
14
|
-
}
|
15
|
-
|
16
|
-
function runScripts() {
|
17
|
-
document.querySelectorAll("script[delay]").forEach(function (scriptTag) {
|
18
|
-
scriptTag.setAttribute("src", scriptTag.getAttribute("delay"));
|
19
|
-
});
|
20
|
-
}
|
21
|
-
</script>
|
22
|
-
<script type="text/javascript" delay="/assets/js/append-div.js" crossorigin="anonymous"></script>
|
23
|
-
<script async="async" type="text/javascript" data-cfasync="false"
|
24
|
-
delay="//pl17448257.profitablecpmgate.com/{{site.profitablecpmgateId}}/invoke.js" crossorigin="anonymous"></script>
|
25
|
-
{% endif %}
|
26
|
-
|
27
|
-
{% if jekyll.environment == 'development' and site.profitablecpmgateId %}
|
28
|
-
<script>
|
29
|
-
const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
|
30
|
-
eventList.forEach(function (event) {
|
31
|
-
window.addEventListener(event, triggerScripts, { passive: true })
|
32
|
-
});
|
33
|
-
|
34
|
-
function triggerScripts() {
|
35
|
-
runScripts();
|
36
|
-
eventList.forEach(function (event) {
|
37
|
-
window.removeEventListener(event, triggerScripts, { passive: true });
|
38
|
-
});
|
39
|
-
}
|
40
|
-
|
41
|
-
function runScripts() {
|
42
|
-
document.querySelectorAll("script[delay]").forEach(function (scriptTag) {
|
43
|
-
scriptTag.setAttribute("src", scriptTag.getAttribute("delay"));
|
44
|
-
});
|
45
|
-
}
|
46
|
-
</script>
|
47
|
-
<script type="text/javascript" delay="/assets/js/append-div.js" crossorigin="anonymous"></script>
|
48
|
-
<script async="async" type="text/javascript" data-cfasync="false"
|
49
|
-
delay="//pl17448257.profitablecpmgate.com/{{site.profitablecpmgateId}}/invoke.js" crossorigin="anonymous"></script>
|
50
|
-
|
51
|
-
{% endif %}
|
1
|
+
{% if page.url != '/' %}
|
2
|
+
{% if jekyll.environment == 'production' and site.profitablecpmgateId %}
|
3
|
+
<script>
|
4
|
+
const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
|
5
|
+
eventList.forEach(function (event) {
|
6
|
+
window.addEventListener(event, triggerScripts, { passive: true })
|
7
|
+
});
|
8
|
+
|
9
|
+
function triggerScripts() {
|
10
|
+
runScripts();
|
11
|
+
eventList.forEach(function (event) {
|
12
|
+
window.removeEventListener(event, triggerScripts, { passive: true });
|
13
|
+
});
|
14
|
+
}
|
15
|
+
|
16
|
+
function runScripts() {
|
17
|
+
document.querySelectorAll("script[delay]").forEach(function (scriptTag) {
|
18
|
+
scriptTag.setAttribute("src", scriptTag.getAttribute("delay"));
|
19
|
+
});
|
20
|
+
}
|
21
|
+
</script>
|
22
|
+
<script type="text/javascript" delay="/assets/js/append-div.js" crossorigin="anonymous"></script>
|
23
|
+
<script async="async" type="text/javascript" data-cfasync="false"
|
24
|
+
delay="//pl17448257.profitablecpmgate.com/{{site.profitablecpmgateId}}/invoke.js" crossorigin="anonymous"></script>
|
25
|
+
{% endif %}
|
26
|
+
|
27
|
+
{% if jekyll.environment == 'development' and site.profitablecpmgateId %}
|
28
|
+
<script>
|
29
|
+
const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
|
30
|
+
eventList.forEach(function (event) {
|
31
|
+
window.addEventListener(event, triggerScripts, { passive: true })
|
32
|
+
});
|
33
|
+
|
34
|
+
function triggerScripts() {
|
35
|
+
runScripts();
|
36
|
+
eventList.forEach(function (event) {
|
37
|
+
window.removeEventListener(event, triggerScripts, { passive: true });
|
38
|
+
});
|
39
|
+
}
|
40
|
+
|
41
|
+
function runScripts() {
|
42
|
+
document.querySelectorAll("script[delay]").forEach(function (scriptTag) {
|
43
|
+
scriptTag.setAttribute("src", scriptTag.getAttribute("delay"));
|
44
|
+
});
|
45
|
+
}
|
46
|
+
</script>
|
47
|
+
<script type="text/javascript" delay="/assets/js/append-div.js" crossorigin="anonymous"></script>
|
48
|
+
<script async="async" type="text/javascript" data-cfasync="false"
|
49
|
+
delay="//pl17448257.profitablecpmgate.com/{{site.profitablecpmgateId}}/invoke.js" crossorigin="anonymous"></script>
|
50
|
+
|
51
|
+
{% endif %}
|
52
52
|
{% endif %}
|
data/_includes/script.html
CHANGED
@@ -1,3 +1,14 @@
|
|
1
|
+
<script>
|
2
|
+
var _rollbarConfig = {
|
3
|
+
accessToken: "{{site.rollbarToken}}",
|
4
|
+
captureUncaught: true,
|
5
|
+
captureUnhandledRejections: true,
|
6
|
+
payload: {
|
7
|
+
environment: "production"
|
8
|
+
}
|
9
|
+
};
|
10
|
+
!function (r) { var e = {}; function o(n) { if (e[n]) return e[n].exports; var t = e[n] = { i: n, l: !1, exports: {} }; return r[n].call(t.exports, t, t.exports, o), t.l = !0, t.exports } o.m = r, o.c = e, o.d = function (r, e, n) { o.o(r, e) || Object.defineProperty(r, e, { enumerable: !0, get: n }) }, o.r = function (r) { "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(r, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(r, "__esModule", { value: !0 }) }, o.t = function (r, e) { if (1 & e && (r = o(r)), 8 & e) return r; if (4 & e && "object" == typeof r && r && r.__esModule) return r; var n = Object.create(null); if (o.r(n), Object.defineProperty(n, "default", { enumerable: !0, value: r }), 2 & e && "string" != typeof r) for (var t in r) o.d(n, t, function (e) { return r[e] }.bind(null, t)); return n }, o.n = function (r) { var e = r && r.__esModule ? function () { return r.default } : function () { return r }; return o.d(e, "a", e), e }, o.o = function (r, e) { return Object.prototype.hasOwnProperty.call(r, e) }, o.p = "", o(o.s = 0) }([function (r, e, o) { "use strict"; var n = o(1), t = o(5); _rollbarConfig = _rollbarConfig || {}, _rollbarConfig.rollbarJsUrl = _rollbarConfig.rollbarJsUrl || "https://cdn.rollbar.com/rollbarjs/refs/tags/v2.25.2/rollbar.min.js", _rollbarConfig.async = void 0 === _rollbarConfig.async || _rollbarConfig.async; var a = n.setupShim(window, _rollbarConfig), l = t(_rollbarConfig); window.rollbar = n.Rollbar, a.loadFull(window, document, !_rollbarConfig.async, _rollbarConfig, l) }, function (r, e, o) { "use strict"; var n = o(2), t = o(3); function a(r) { return function () { try { return r.apply(this, arguments) } catch (r) { try { console.error("[Rollbar]: Internal error", r) } catch (r) { } } } } var l = 0; function i(r, e) { this.options = r, this._rollbarOldOnError = null; var o = l++; this.shimId = function () { return o }, "undefined" != typeof window && window._rollbarShims && (window._rollbarShims[o] = { handler: e, messages: [] }) } var s = o(4), d = function (r, e) { return new i(r, e) }, c = function (r) { return new s(d, r) }; function u(r) { return a((function () { var e = this, o = Array.prototype.slice.call(arguments, 0), n = { shim: e, method: r, args: o, ts: new Date }; window._rollbarShims[this.shimId()].messages.push(n) })) } i.prototype.loadFull = function (r, e, o, n, t) { var l = !1, i = e.createElement("script"), s = e.getElementsByTagName("script")[0], d = s.parentNode; i.crossOrigin = "", i.src = n.rollbarJsUrl, o || (i.async = !0), i.onload = i.onreadystatechange = a((function () { if (!(l || this.readyState && "loaded" !== this.readyState && "complete" !== this.readyState)) { i.onload = i.onreadystatechange = null; try { d.removeChild(i) } catch (r) { } l = !0, function () { var e; if (void 0 === r._rollbarDidLoad) { e = new Error("rollbar.js did not load"); for (var o, n, a, l, i = 0; o = r._rollbarShims[i++];)for (o = o.messages || []; n = o.shift();)for (a = n.args || [], i = 0; i < a.length; ++i)if ("function" == typeof (l = a[i])) { l(e); break } } "function" == typeof t && t(e) }() } })), d.insertBefore(i, s) }, i.prototype.wrap = function (r, e, o) { try { var n; if (n = "function" == typeof e ? e : function () { return e || {} }, "function" != typeof r) return r; if (r._isWrap) return r; if (!r._rollbar_wrapped && (r._rollbar_wrapped = function () { o && "function" == typeof o && o.apply(this, arguments); try { return r.apply(this, arguments) } catch (o) { var e = o; throw e && ("string" == typeof e && (e = new String(e)), e._rollbarContext = n() || {}, e._rollbarContext._wrappedSource = r.toString(), window._rollbarWrappedError = e), e } }, r._rollbar_wrapped._isWrap = !0, r.hasOwnProperty)) for (var t in r) r.hasOwnProperty(t) && (r._rollbar_wrapped[t] = r[t]); return r._rollbar_wrapped } catch (e) { return r } }; for (var p = "log,debug,info,warn,warning,error,critical,global,configure,handleUncaughtException,handleAnonymousErrors,handleUnhandledRejection,captureEvent,captureDomContentLoaded,captureLoad".split(","), f = 0; f < p.length; ++f)i.prototype[p[f]] = u(p[f]); r.exports = { setupShim: function (r, e) { if (r) { var o = e.globalAlias || "Rollbar"; if ("object" == typeof r[o]) return r[o]; r._rollbarShims = {}, r._rollbarWrappedError = null; var l = new c(e); return a((function () { e.captureUncaught && (l._rollbarOldOnError = r.onerror, n.captureUncaughtExceptions(r, l, !0), e.wrapGlobalEventHandlers && t(r, l, !0)), e.captureUnhandledRejections && n.captureUnhandledRejections(r, l, !0); var a = e.autoInstrument; return !1 !== e.enabled && (void 0 === a || !0 === a || function (r) { return !("object" != typeof r || void 0 !== r.page && !r.page) }(a)) && r.addEventListener && (r.addEventListener("load", l.captureLoad.bind(l)), r.addEventListener("DOMContentLoaded", l.captureDomContentLoaded.bind(l))), r[o] = l, l }))() } }, Rollbar: c } }, function (r, e, o) { "use strict"; function n(r, e, o, n) { r._rollbarWrappedError && (n[4] || (n[4] = r._rollbarWrappedError), n[5] || (n[5] = r._rollbarWrappedError._rollbarContext), r._rollbarWrappedError = null); var t = e.handleUncaughtException.apply(e, n); o && o.apply(r, n), "anonymous" === t && (e.anonymousErrorsPending += 1) } r.exports = { captureUncaughtExceptions: function (r, e, o) { if (r) { var t; if ("function" == typeof e._rollbarOldOnError) t = e._rollbarOldOnError; else if (r.onerror) { for (t = r.onerror; t._rollbarOldOnError;)t = t._rollbarOldOnError; e._rollbarOldOnError = t } e.handleAnonymousErrors(); var a = function () { var o = Array.prototype.slice.call(arguments, 0); n(r, e, t, o) }; o && (a._rollbarOldOnError = t), r.onerror = a } }, captureUnhandledRejections: function (r, e, o) { if (r) { "function" == typeof r._rollbarURH && r._rollbarURH.belongsToShim && r.removeEventListener("unhandledrejection", r._rollbarURH); var n = function (r) { var o, n, t; try { o = r.reason } catch (r) { o = void 0 } try { n = r.promise } catch (r) { n = "[unhandledrejection] error getting `promise` from event" } try { t = r.detail, !o && t && (o = t.reason, n = t.promise) } catch (r) { } o || (o = "[unhandledrejection] error getting `reason` from event"), e && e.handleUnhandledRejection && e.handleUnhandledRejection(o, n) }; n.belongsToShim = o, r._rollbarURH = n, r.addEventListener("unhandledrejection", n) } } } }, function (r, e, o) { "use strict"; function n(r, e, o) { if (e.hasOwnProperty && e.hasOwnProperty("addEventListener")) { for (var n = e.addEventListener; n._rollbarOldAdd && n.belongsToShim;)n = n._rollbarOldAdd; var t = function (e, o, t) { n.call(this, e, r.wrap(o), t) }; t._rollbarOldAdd = n, t.belongsToShim = o, e.addEventListener = t; for (var a = e.removeEventListener; a._rollbarOldRemove && a.belongsToShim;)a = a._rollbarOldRemove; var l = function (r, e, o) { a.call(this, r, e && e._rollbar_wrapped || e, o) }; l._rollbarOldRemove = a, l.belongsToShim = o, e.removeEventListener = l } } r.exports = function (r, e, o) { if (r) { var t, a, l = "EventTarget,Window,Node,ApplicationCache,AudioTrackList,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(","); for (t = 0; t < l.length; ++t)r[a = l[t]] && r[a].prototype && n(e, r[a].prototype, o) } } }, function (r, e, o) { "use strict"; function n(r, e) { this.impl = r(e, this), this.options = e, function (r) { for (var e = function (r) { return function () { var e = Array.prototype.slice.call(arguments, 0); if (this.impl[r]) return this.impl[r].apply(this.impl, e) } }, o = "log,debug,info,warn,warning,error,critical,global,configure,handleUncaughtException,handleAnonymousErrors,handleUnhandledRejection,_createItem,wrap,loadFull,shimId,captureEvent,captureDomContentLoaded,captureLoad".split(","), n = 0; n < o.length; n++)r[o[n]] = e(o[n]) }(n.prototype) } n.prototype._swapAndProcessMessages = function (r, e) { var o, n, t; for (this.impl = r(this.options); o = e.shift();)n = o.method, t = o.args, this[n] && "function" == typeof this[n] && ("captureDomContentLoaded" === n || "captureLoad" === n ? this[n].apply(this, [t[0], o.ts]) : this[n].apply(this, t)); return this }, r.exports = n }, function (r, e, o) { "use strict"; r.exports = function (r) { return function (e) { if (!e && !window._rollbarInitialized) { for (var o, n, t = (r = r || {}).globalAlias || "Rollbar", a = window.rollbar, l = function (r) { return new a(r) }, i = 0; o = window._rollbarShims[i++];)n || (n = o.handler), o.handler._swapAndProcessMessages(l, o.messages); window[t] = n, window._rollbarInitialized = !0 } } } }]);
|
11
|
+
</script>
|
1
12
|
{%- include adblocker.html -%}
|
2
13
|
{% assign scriptData = site.data.[page.folderName][lang][file] %}
|
3
14
|
{%- assign dataAtt = "data-folderName='$folderName' data-lang='$lang' data-fileName='$fileName' data-tool='$tool'" -%}
|