Send old Edge users to the oldbrowser error page

This commit is contained in:
MarkEEaton
2021-09-24 11:18:39 -04:00
committed by GitHub
parent 9ca91140c8
commit 0597cc1ae1
+2 -2
View File
@@ -198,7 +198,7 @@
</ul> </ul>
</li> </li>
<li> <li>
<a class="no-underline" style="cursor: pointer;" onclick="(function() {if (window.document.documentMode) { window.location.replace('https://library.kbcc.cuny.edu/oldbrowser/'); return false; } else {window.open('https://kbcc-cuny.libanswers.com/chat/widget/f7d1629a91e178fd0f799322e803b6e7', 'newwindow', 'width=500, height=400, top=100, left=100'); return false;};})()"> <a class="no-underline" style="cursor: pointer;" onclick="(function() {if (window.document.documentMode || navigator.userAgent.indexOf('Edge/') > -1) { window.location.replace('https://library.kbcc.cuny.edu/oldbrowser/'); return false; } else {window.open('https://kbcc-cuny.libanswers.com/chat/widget/f7d1629a91e178fd0f799322e803b6e7', 'newwindow', 'width=500, height=400, top=100, left=100'); return false;};})()">
Chat with a Librarian Chat with a Librarian
</a> </a>
</li> </li>
@@ -326,7 +326,7 @@
<h2>Research Guides</h2> <h2>Research Guides</h2>
</div> </div>
</a> </a>
<a class="no-underline" style="cursor: pointer;" onclick="(function() {if (window.document.documentMode) { window.location.replace('https://library.kbcc.cuny.edu/oldbrowser/'); return false; } else {window.open('https://kbcc-cuny.libanswers.com/chat/widget/f7d1629a91e178fd0f799322e803b6e7', 'newwindow', 'width=500, height=400, top=100, left=100'); return false;};})()"> <a class="no-underline" style="cursor: pointer;" onclick="(function() {if (window.document.documentMode || navigator.userAgent.indexOf('Edge/') > -1) { window.location.replace('https://library.kbcc.cuny.edu/oldbrowser/'); return false; } else {window.open('https://kbcc-cuny.libanswers.com/chat/widget/f7d1629a91e178fd0f799322e803b6e7', 'newwindow', 'width=500, height=400, top=100, left=100'); return false;};})()">
<div class="nav-divs-by-jumbotron"> <div class="nav-divs-by-jumbotron">
<h2>Chat with a Librarian!</h2> <h2>Chat with a Librarian!</h2>
</div> </div>