This commit is contained in:
2025-02-02 05:16:59 +05:30
parent 84e4d236a1
commit ecebef5a4a
13 changed files with 123 additions and 56 deletions

View File

@@ -46,7 +46,8 @@ shortenBtn.onclick = () => {
if (xhr.readyState == 4 && xhr.status == 200) {
let data = xhr.response;
if (data.length <= 5) {
let domain = "xeorl.buzz/";
//This is your domain name
const domain = "xeorl.buzz/";
let shortenURL = domain + data;
// Remove the default message if it exists
@@ -101,7 +102,6 @@ document.addEventListener('click', function(e) {
}
});
// Handle delete button clicks
/*
document.addEventListener('click', function(e) {