4 lines
151 B
JavaScript
4 lines
151 B
JavaScript
const originSpans = document.querySelectorAll(".origin");
|
|
for (const originSpan of originSpans) {
|
|
originSpan.textContent = window.location.origin;
|
|
}
|