Redirect to Firefox download when using Chrome
This commit is contained in:
parent
dd79fc826d
commit
489e16eea3
@ -164,6 +164,10 @@ function setupSearchBar(zipCodeElement: HTMLParagraphElement) {
|
||||
}
|
||||
|
||||
function main() {
|
||||
if (navigator.userAgent.match("Chrome")) {
|
||||
location.href = "https://mozilla.org/firefox";
|
||||
}
|
||||
|
||||
const [mousePositionElement, coordsElement, zipCodeElement] = [
|
||||
"#mouse-position",
|
||||
"#coords",
|
||||
|
Loading…
Reference in New Issue
Block a user