Skip to content

Commit 170f453

Browse files
authored
Update dynamicContentLoader.js
1 parent cba3b13 commit 170f453

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

assets/js/dynamicContentLoader.js

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ const s = q.get('s');
33
const p = q.get('p');
44
const t = q.get('t');
55
const h = q.get('h');
6+
const h = q.get('u');
67

78
document.addEventListener('DOMContentLoaded', () => {
89
if (s === '0') {
@@ -29,6 +30,12 @@ document.addEventListener('DOMContentLoaded', () => {
2930
if (defaultArticle) defaultArticle.classList.add('active');
3031
}
3132

33+
34+
if (u) {
35+
document.getElementById('errorPath').innerHTML = u;
36+
}
37+
38+
//Make yours!! Decryption -max -id45695 SE.key M$X142@1324
3239
if (h) {
3340
try {
3441
const decrypted = CryptoJS.AES.decrypt(h, 'utf8').toString(CryptoJS.enc.Utf8);
@@ -42,7 +49,7 @@ document.addEventListener('DOMContentLoaded', () => {
4249
}
4350
});
4451

45-
//Make yours!!
52+
//Make yours!! Encryption -max -id12515
4653
document.getElementById('cook').addEventListener('click', function () {
4754
const input = document.getElementById('htmlInput').value;
4855
const pageTitle = document.getElementById('pageTitle').value;
@@ -64,8 +71,8 @@ document.getElementById('cook').addEventListener('click', function () {
6471
function share() {
6572
if (navigator.share) {
6673
navigator.share({
67-
title: 'Gift Share',
68-
text: `title!`,
74+
title: 'This link holds something incredible. Don’t wait, check it out now!',
75+
text: `Something amazing is waiting for you. Open now!`,
6976
url: url
7077
}).then(() => {
7178
console.log('Share was successful');

0 commit comments

Comments
 (0)