PageSourceSearch

https://app-generator.dev/static/dist/js/clear-search.js

js app-generator.dev collected 2026-09-25 21:12:14 UTC 476 bytes, 11 lines download raw bytes

1const clearSearch = () => {
2    const urlParams = new URLSearchParams(window.location.search);
3    urlParams.delete("search");
4    const newUrl = window.location.pathname + (urlParams.toString() ? "?" + urlParams.toString() : "");
5    window.history.replaceState({}, document.title, newUrl);
6    window.location.reload();
7};   
8
9const clearSearchButton = document.getElementById("clear-search");
10clearSearchButton && clearSearchButton.addEventListener("click", clearSearch);
11

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.