Skip to content

Commit

Permalink
2nd try to alert if not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
skamansam committed Sep 22, 2023
1 parent eaed129 commit d45592d
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 d45592d

Please sign in to comment.