MCPcopy Create free account
hub / github.com/mitmproxy/mitmproxy / getSearchTerm

Function getSearchTerm

docs/src/assets/search.js:25–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23}
24
25function getSearchTerm() {
26 return (new URL(window.location)).searchParams.get("search");
27}
28
29/* the control flow here is: search input -> update location -> onInput */
30const searchBox = document.querySelector("#search");

Callers 2

onInputFunction · 0.85
search.jsFile · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…