jsonhero-web
jsonhero-web copied to clipboard
feat: use random user agent header when fetching JSON url's
The safeFetch request is sometimes rejected because of the current value of the User-Agent header.
This PR updates it to a newer browser version and also adds a function getRandomUserAgent, which returns random item from a list list with the 100 most often used user agent strings (at the current moment).