Refactor navbar implementation: replace navbar.js with main.js, update HTML references, and enhance button styles. Add author username to paste retrieval response and implement clipboard notification feature.

### Copilot Generated Commit Message
This commit is contained in:
whoswhip
2025-05-19 02:11:24 -04:00
parent 704d7149fc
commit 1382fb9f07
12 changed files with 189 additions and 23 deletions
+1
View File
@@ -38,6 +38,7 @@ function addInfo(paste) {
document.getElementById("info-throbber").style.display = "none";
document.getElementById("copy-button").addEventListener("click", function () {
navigator.clipboard.writeText(window.location.href);
showNotification("Paste copied to clipboard!", "info", 2000);
});
document.getElementById("download-button").addEventListener("click", function () {
const content = document.getElementById("paste-content").innerText;