PageSourceSearch

https://www.421.se/wp-content/plugins/samuraj-plugin-main/social-sharing/copy-to-clipboard.js

js 421.se collected 2026-10-08 05:11:34 UTC 560 bytes, 18 lines download raw bytes

1document.addEventListener("DOMContentLoaded", function () {
2	var copyButton = document.getElementById("copyToClipboardButton");
3	if (copyButton) {
4		copyButton.addEventListener("click", function (event) {
5			// Copy to clipboard logic
6			navigator.clipboard.writeText(window.location.href);
7
8			// Trigger animation
9			var notificationDiv = this.querySelector(".notification");
10			notificationDiv.classList.add("animate-slide");
11
12			// Reset for next click
13			setTimeout(() => {
14				notificationDiv.classList.remove("animate-slide");
15			}, 1000);
16		});
17	}
18});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.