Firefox
Firefox ist jetzt freigeschalten, wird aber nicht empfohlen
This commit is contained in:
@@ -14,8 +14,9 @@ export default function Home(p) {
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
let isEdge = window.navigator.userAgent.indexOf("Edg") > -1
|
let isEdge = window.navigator.userAgent.indexOf("Edg") > -1
|
||||||
let isChrome = window.navigator.userAgent.indexOf("Chrome") > -1
|
let isChrome = window.navigator.userAgent.indexOf("Chrome") > -1
|
||||||
|
let isFireFox = window.navigator.userAgent.indexOf("firefox") > -1
|
||||||
|
|
||||||
if(!(isEdge || isChrome))
|
if(!(isEdge || isChrome || isFireFox))
|
||||||
{
|
{
|
||||||
router.push("/browserNotSupported")
|
router.push("/browserNotSupported")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user