This commit is contained in:
wukko
2022-12-07 01:21:07 +06:00
parent 098a63638b
commit f13a82e152
25 changed files with 389 additions and 321 deletions

View File

@@ -310,6 +310,7 @@ input[type="checkbox"] {
background-color: var(--accent-button-bg);
max-height: 300px;
margin-bottom: 2rem;
float: left;
}
.changelog-img {
object-fit: cover;
@@ -370,6 +371,9 @@ input[type="checkbox"] {
height: var(--without-padding);
scrollbar-width: none;
}
.bullpadding {
padding-left: 0.58rem;
}
#popup-header {
position: relative;
background: var(--background);

View File

@@ -1,7 +1,7 @@
let ua = navigator.userAgent.toLowerCase();
let isIOS = ua.match("iphone os");
let isMobile = ua.match("android") || ua.match("iphone os");
let version = 18;
let version = 19;
let regex = new RegExp(/https:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()!@:%_\+.~#?&\/\/=]*)/);
let notification = `<div class="notification-dot"></div>`
@@ -442,7 +442,7 @@ window.onload = () => {
notificationCheck();
if (isIOS) sSet("downloadPopup", "true");
let urlQuery = new URLSearchParams(window.location.search).get("u");
if (urlQuery !== null) {
if (urlQuery !== null && regex.test(urlQuery)) {
eid("url-input-area").value = urlQuery;
button();
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 485 KiB