*query to make a "all results" search, but maybe in your use-case querying the
/sites/indexedContentendpoint would make more sense? See our api docs on this https://docs.sitesearch360.com/api
var e=document.createElement("script");e.async=!0,e.src="https://cdn.sitesearch360.com/v13/sitesearch360-v13.min.js",document.getElementsByTagName("body").appendChild(e);part of the code directly in the navb.js instead of adding it as a part of the script tag inner text?
Sorry, forgot to change one thing, please try the following: https://pastebin.com/TAcZsa1K
And let me look into the rest of your questions tomorrow morning, need a fresh pair of eyes.