feat: enhance browser error messaging
Improved the clarity and specificity of error messages presented to users on incompatible browsers by directly mentioning "Incompatible Browser" and referencing "your browser" rather than leaving the browser name blank. Simplified the link tag for loading CSS to enhance code readability. These changes aim to reduce user confusion during incompatible browser scenarios and streamline troubleshooting.
This commit is contained in:
parent
666da30c44
commit
7f2ed5b2e8
1 changed files with 7 additions and 10 deletions
17
index.html
17
index.html
|
@ -6,27 +6,24 @@
|
||||||
-->
|
-->
|
||||||
<head>
|
<head>
|
||||||
<title>Browser Error</title>
|
<title>Browser Error</title>
|
||||||
<link
|
<link rel="stylesheet" href="./index.css" />
|
||||||
rel="stylesheet"
|
|
||||||
href="./index.css"
|
|
||||||
/>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="error-box hidden">
|
<div class="error-box hidden">
|
||||||
<h1 class="mb-4">
|
<h1 class="mb-4">
|
||||||
FATAL ERROR: <span class="browser"></span> Detected
|
FATAL ERROR: <span class="browser">Incompatible Browser</span> Detected
|
||||||
</h1>
|
</h1>
|
||||||
<p class="mb-4">
|
<p class="mb-4">
|
||||||
Due to a bug in <span class="browser"></span>, this website is
|
Due to a bug in <span class="browser">your browser</span>, this website
|
||||||
temporarily inaccessible for anyone using the browser.
|
is temporarily inaccessible for anyone using this browser.
|
||||||
</p>
|
</p>
|
||||||
<p class="mb-4">
|
<p class="mb-4">
|
||||||
I apologize for the inaccessibility. As this site is now public I will
|
I apologize for the inaccessibility. As this site is now public I will
|
||||||
be revisiting this bug to try and find a workaround. If I fail, I
|
be revisiting this bug to try and find a workaround. If I fail, I
|
||||||
believe there is a PR currently in review for
|
believe there is a PR currently in review for
|
||||||
<span class="browser"></span> that attempts to fix the regression.
|
<span class="browser">your browser</span> that attempts to fix the
|
||||||
Whether or not that will fix the bug is unknown. Updates will be posted
|
regression. Whether or not that will fix the bug is unknown. Updates
|
||||||
here.
|
will be posted here.
|
||||||
</p>
|
</p>
|
||||||
<p class="mb-4">
|
<p class="mb-4">
|
||||||
In the meantime if you want to access this site you will need to use a
|
In the meantime if you want to access this site you will need to use a
|
||||||
|
|
Loading…
Reference in a new issue