Skip to content

Commit

Permalink
Merge pull request #218 from BizziQuest/153-display-notice-to-users-o…
Browse files Browse the repository at this point in the history
…n-older-browsers

2nd try to alert if not supported
  • Loading branch information
skamansam authored Sep 22, 2023
2 parents 487fb42 + d45592d commit bbf5633
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WMG3PNX"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<script>
<script onerror="alert('Your browser is not supported. Please update your browser to the latest version.');">
try {
const obj={test: 1};
const allowChainingTest = obj?.test;
} catch (e) {
alert('Your browser is not supported. Please update your browser to the latest version.');

}
</script>
<noscript>
Expand Down

0 comments on commit bbf5633

Please sign in to comment.