for ( const button of document.getElementById("search").querySelectorAll("button") ) {
button.addEventListener("click", ( ) => location.href = button.dataset.search.replace("%s", document.getElementById("query").value)) }

Sign in to participate in the conversation
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.