Sha256: 6cbcc5427413909b5ae52ec52f48bc142ad1f8193bb94e93af283b2c7d5e3b4d
Contents?: true
Size: 409 Bytes
Versions: 2
Compression:
Stored size: 409 Bytes
Contents
<script> const f = document.getElementById('form'); const q = document.getElementById('query'); const google = 'http://localhost:8090/yacysearch.html?query='; const site = ''; function submitted(event) { event.preventDefault(); const url = google + site + '+' + q.value; const win = window.open(url, '_blank'); win.focus(); } f.addEventListener('submit', submitted); </script>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
OwnSearch-0.2.0 | _includes/javascript.html |
OwnSearch-0.1.0 | _includes/javascript.html |