Skip to content

Instantly share code, notes, and snippets.

@Eomerx

Eomerx/old-browsers.js

Last active Oct 2, 2015
Embed
What would you like to do?
Internet Explorer -9 old browser script
var ieScriptTag = [
'<div id="old-browser-window">',
' <div class="old-browser-parent">',
' <div class="old-browser-overlay">',
' </div>',
' <div class="old-browser-holder">',
' <div class="old-browser-top">',
' <h1>Üzgünüz.</h1>',
' <h2>Kullanmakta olduğunuz tarayıcı oldukça eski.</h2>',
' <h3>Bu siteyi tüm özellikleriyle gösterebilmek adına, sizi daha modern tarayıcılar kullanmaya davet ediyoruz.</h3>',
' </div>',
' <div class="old-browser-bottom">',
' <a href="http://www.google.com/chrome/" target="_blank">',
' <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAADkUExURQAAAFqvWvnQKNdJOVqvWlqvWthIOaGcR/nRKOmOMdhHOVqvWthIOdhIOdlIOdVOPfnPKFqvWlqvWvnRKPrSKPnRKPnRKJZ+SvnRKFqvWvnRKNhIOUeTxv7//9lDOD+PxFOvWf3RI+Ht9t9kNvzdJjaJwfrYRc3i8HGs1P/2zmGizoi52+7OJuLx37fV6d5jVZvE4OeJgPvk4r1eQGmjVnK1U2u4a9Y/L9PJNIy6SvzkdX+SUJzPnLfDP3G7cbzfvKhwRqa/Qv3qnOeZj/G8to/KkafM5IzCh9xaS+N5bnm+eXG+dMGC2ewAAAAZdFJOUwCvJHxAFSUJxxHXi0+/pPlIbdrrqXWM/mJYP92jAAAEfUlEQVRo3r2aa3uaQBCFiajgFeOtWQEhtESr8ZYLtompaZOYpP3//6cDYtW4MLuw9nxJ/OL7nDmzs7uIJLFJUQr5sixXK4GqslwuFwqKJE7+91cr+oGKVTkvBqSAgaIeKa1azhdSIgqxhC0nBQKqpDOpIucTIyo6s4qJMAoPYo3hzoa1UHtFK/PZwOOmtgCPmXxFTyh2M+WinlhFmY0ha3oKaVWGGVCopmL4ZvI4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3zgGE8W+RY3EM1go9kNaBp4+njrO8Du5nir1JttLJnHDEjs8NFqsP8hHtzKWulrjeH0hsmSxe26jzfcuRrbEP7SaNYlXWVrNYtpXPUvyuk/u9AATnbraykjJlPvoJip19SwpYo3ZbQH64aHRrqVBBI2Wy5bqmz33nEpI++pVyAHQyWH7qs2zjNi31RQlV2u1200V1Gy3W2BAYQX8BfTeRCBU5U9qAAAAAElFTkSuQmCC" alt="" width="100" height="100">',
' <h4>Google Chrome</h4>',
' </a>',
' <a href="http://www.mozilla.org/firefox/" target="_blank">',
' <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGUAAABkCAMAAACo/g5YAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAACHUExURQAAAOVeDuhdDOhdDOdeDehdDOhdC4R5ZuJfEuddDSSOouZeDiqNnSeOoOhdDCSOoSSOoXd6Y+hdDCWOoR6Qpu5bB/dZARWSrUGHjDGMmcFGFaBuQoh1VclkJNhfF7dpMmR+cXN6ZVSCffjquSBzgRoPCuu5iOBvLNSJWqLErnm3sIIrCj1iYsWZqWcAAAASdFJOUwC2ZUT1LIALFtozmmygVcvuxOyUxR4AAAWdSURBVGjevZprl6MoEIbjXTu3HgSFAIL2bM/s7P7/37elphMTETBJb33pPichT96qoqrAbDZ+lmVvu/3++F6e7Xjc73ZvWbZ5mfWEY2my9z2QXsN427+XFjs+DwIVVsQF9I0yXsJ525f+9iDHW8eVsz4+C1lltf3bNws5Z/YqOW++QnA9GMZ4tZxs5yuEtkJJLoTuGKDG6Lgwh3yErEgtSjshCWoaKYVmA+jdjgmLfC0EXIZLpiUBQ43kuuw5tuAkBUpWQ0ZjAp1NCgqc3TJli1BogzCbIt18cWJOLZioQCjIjBBwCm15v3rpCzCm4y8MaVqGd8tSUJzvTQyqFSFqUQsVXCku0cUqThdSAKICX+OHIbq0lVWFRImXKK1qSEXQxEjTmTHh8LKaC9GygvxpMbakWQdKbjGkPZoSLR1f1fi8cLASQ/ZUv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swxK98eiBSk+yQxl2ewuXIp4CXJNMF8xJIbOhQ1X2pbLlXThDtbeNCHFpuGBf6lA1eKCIl++uLSVlkboPpf7h0f9dXAnmsqSmaH5nt+n3jdKtFp3nW65JJXtlihYuuj3bCwVauKqsiLmoT8nwJrSTIjzkiBcfjbyOtsuPdoLXgiZ59clnYuXQeLE+gDuRXawPUxc25x9N/3Ss4vnIK6nya/ApO5H1lHxP0CeToE49Xv4nj+zb5a2vAGzfTg4ty3Y9Qz+Qa8FyapfRCSPyInTfO2vO8LVcoJos96SdJWcIsw3D1m09dZTpMnmUcuStPhuxui3KHA5LgifZAy7Jzksey4GRL55jWV5Em5nmoogjV6GuPwgLs+jQ5iOFh6ifMXP7f4Dq0dEWmBwt+8AAAAASUVORK5CYII=" alt="" width="101" height="100">',
' <h4>Mozilla Firefox</h4>',
' </a>',
' <a href="http://support.apple.com/kb/dl1531" target="_blank">',
' <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFwAAABkCAMAAAA8GKeqAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAClUExURQAAAOvs7Ojp6ezt7uzt7u7v7+7v7+ju7+nq6unq6unq6+7v7+7v7+Xm5+7v79XW2NXW2OTl5gCy2e/v7wCw2f////Xx8P308gGu1/A/NfT09R+73Q+22zTB4HnU6NPt8mXO5QC34I/Z6aHe61PJ40bG4q7k8Lzj68Xp8fo6LtXW2OL3+/X8/jmWshmnyZBud2SClM1QTeVEPbFcX/GopfSEftO6vCtNJSkAAAASdFJOUwB0XYk16sb9DiFJ2bSepcvlvFdixM4AAAd7SURBVGjetVppl5s6DB0SEiDrHGKwM+xrSEhmbd///2nPBmwM2IS0qT7NmaEXcXUly1JfXu6aoewvl9ftSn95vs0w8n7/ernsjX+BPVd13ZjtL/tn+27sLwr7afZk8NXlVWffsNWfDb7/d+DG62XVJ+h5plxeZ1gmurr9B3LR51iE2y2W+h6LBtuTad9ikV8u2nKzJLbZ7JSZ+qR3GMpGw3b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m09aL6mBTaUNItlwnbGS7BeFggbaevPzTFdHez25M8Cdt/sju29g+slXcqY8uRDfaROjl49tWDL+bsBRdbNSXPzNV2SzGked/Cl2vz5XdWrYdVv5++68bK2W77LxhvdwqK+Np/3dBNwx11phqTMX9H0J+FVk0uM2bAAAAAElFTkSuQmCC" alt="" width="92" height="100">',
' <h4>Safari</h4>',
' </a>',
' <a href="http://www.opera.com/download" target="_blank">',
' <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAF8AAABkBAMAAAAS3/GoAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAbUExURQAAANhIOdhIOdhIOdhIOdhIOdhIOdhIOdhIOUEJC/UAAAAIdFJOUwB8FTPGU6LpUY4cBAAAAsRJREFUWMPtWEtTE0EQnuy4eE20CDkuEoLHhULhKA+RY7QQPWI0mCvGVOUas8nOzzasIfR7s+XBi33cma+n++ue7tl2jku0+76xkI8Hbh2JdpuXYSk/N1+U7t9pBijZ86RE/WUgcmcZFr0eBybzD8b+IEmmIuT9C0RX3r89VgBhnkr740FQ5a0E2IJGfGk0vkHEM8EgxP7ig782jYqAQfkfWqIrgDijgENh0Q90pjyIcLY6vgO0jPQDho92AjU5OgKuBODfkebFBliYwNhA6mDetsDCD4W7cCMrCsjWY/noQ+1kxBNwe6C4QM7uiV+nTqVvpastquF05KnwMZAUgF4/8OTRxU/1FHgwt4YuFykr0iJyYULvYeBOfIbfZhYg1Fn4CavUwSJtPNJxZtzE5fnILRoGwnnhdZtbqQLyhIaGAxAlRVhbwQg0BdxQrzgAhfqepmgcpPxSAFPKasYAmJMZZZUDOriO44LBc4+uZ849oRqcka4hJG6vKuBlNUCXBHoNAI7kpAxQLwXEFNAqA+De+uY/4B8BAgH8ZWrMywGVs7XyfXha9cbhO50lNiAvLzOsasSVAAvao2CXyg6tfKjXk2cUr62/yEOjtHqfsgbAGsontrxXpQOlzCu7KRZhis22iwFFMuMWNDT79JDroE8HzHqPPU7ZDfJjTvqG1YJiITW9lRs1wV7sV9dooqfCC5tG7lhSVpO0CIFe+YceUTOd1ZkYTUyTl63tqO/Qbfk2Ipt6ms8jxbWplkl1JTyw0ni1ZCma2irfbZE9aBEpQNDtXPyPGxrFYZTwP0VWfxCzX/m/6MhZ9SfvHzi3c21WRJLkF7e378zaQLKA/eOL040rdX9eF4cIXh0K9JUxBR+bLIcn6rhFHlTcpfqsZV9ATFJrmsOtOklLxkVbmJ9+UjqQ2v/+uP1kvSHWq+b5wpfsYlPa/htkQkVZs+C/lgAAAABJRU5ErkJggg==" alt="" width="95" height="100">',
' <h4>Opera</h4>',
' </a>',
' <a href="http://www.microsoft.com/download/internet-explorer.aspx" target="_blank">',
' <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGYAAABkBAMAAACGOVhaAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAhUExURQAAAFPL8mHP8yG871PL8jzE8UTH8TTC8Cu/7x677hm67qCVAWEAAAAJdFJOUwAgPexemn2x0FDaINgAAAQ1SURBVFjDlVg7U9tAEJaEbSiNGQik4pVhoMIJE5Ar4ziZxBXPSXBlJrxCBSGBjCtiCDPQJcbAXWnjx+lXRo87ae90kqWtGInPu/vt7nd7UpRolilubxWUOJbZv0IIPf1IR0ZohzpBluHlyWgI9f2tgajhRiSQtukiLLuPAEncEurCwAQThPN9IXM5+vvG8l5h+sMZCXWkFbcvLj6zPFpbNmXqMakHcpc50g0zDxZXb5eFmsOVAB9fKLnUAFvj5DI8b2ZL4OdIUwYZu0OC4WsvibtnCWQUI58Zb13QQtsPSelIYtgNb6DrT7+KpGas038Y9GO+ETkGEdoASR/mRRAEIZpHSsxHuw2EIPzbwXQETAmFWMuubFLgOkHCMPi1zYFQ008I9XU0sBjDjenon/lPL0+iZ2M7MruhxPW1ZnfAw7tw6qrcoI5Yj3vTeoijrqK+4WbO7pq1kdCMKhrXBimTAVzTPDeGqRiGAGqmmmJoXWXGRTxtFTKzhzmey97IpRBavaKy5iE3aZm84bu8EFpWGWdeTt0XHzlPPehmwNTwtErHGtfAmzLhmOMKik+UJH3dhYQmoD5AeVN11KF0m8Zr2DhwhE9gOqbYpehLYURU6Oiv93wIPZiaQn9rTRgr6AiM6THKK5osT0cIQXBeQlVz/Eboq6xPWaqwfdyQc2at7gJCo+0rkpAw3TCikf+0SIHg3CgGK97IdSVnKhgQV0PGQKIy4S9LOiFtsU1tUYIpyTvhWFJp1xZAVSf9oiOhTVHmZWR7dEoPTDjxJ5IsN6b9BsWoJqtAH1uSOe9j95KO6mcPEaVahokRGmrED41h4oTGMINxMI8RTx6/H1WPg3F4S5L4mIk4ENo7Ze7Z7nC4pSXp5KOs0DzTQQtn4BAGzXaYSlp2GeVCIFSnGWW9J9JFLdSGBEw9wi3HajYckziLgh7ICftJSG17ZpXPPqmykLuOPxTDszxtUFyB0+C740Bm7WwH7T84IrIhjdJm8tHhCa/ztza1Kv5eySkjd7F4HVyMCh0EiyluvDlHmn8P0Z2k+co+eiB1h4icWkeiBRY6qMGaQf3KvciybmtLursx5VzsNvnhyjMem872wo8RWTk/2D8Ter6jsH9dDNBSw/coy9SdNlg5gubkmU7RaY4gwM+uGNDmV3P9IOxIP/Z6cqafI7Zylr0tQesj264ilcBmMR/uqAfFjdVcC80Iuzv3BNxgxsMcteFWgielG24AaU5VgNCMBWNq3NoIFTqQb7jaq7w4qTsBV7mKIG/wmjojhdR3xRUQjPIcacl4OBXkmt1wLXuFW+u+Txuo9V2y2JMNdqlqmUGoR9ynCvy4KtV447wwbV7ebIjlTvc+UZEbyTeqhNUxhj2WyyxVbf+Xjq2nKz9XpQfDKG0zcg1PnuHZYrE4FXiajF2Zha3/WY31HU8tHuxFR/wHUjhV2tkjo1wAAAAASUVORK5CYII=" alt="" width="102" height="100">',
' <h4>Internet Explorer</h4>',
' </a>',
' </div>',
' </div>',
' </div>',
'</div>',
'<style type="text/css">',
' h1, h2, h3, h4, h5, p {',
' text-align: center;',
' font-family: sans-serif;',
' font-weight: 300;',
' }',
' h4 {',
' margin-top: 5px;',
' }',
' #old-browser-window {',
' display: block;',
' z-index: 9999900;',
' position: fixed;',
' top: 0;',
' left: 0;',
' width: 100%;',
' height: 100%;',
' }',
' .old-browser-parent {',
' display: block;',
' position: relative;',
' width: 100%;',
' height: 100%;',
' }',
' .old-browser-overlay {',
' display: block;',
' z-index: -1;',
' position: absolute;',
' top: 0;',
' left: 0;',
' width: 100%;',
' height: 100%;',
' opacity: 0.9;',
' background-color: #000;',
' -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";',
' }',
' .old-browser-top {',
' z-index: 9999902;',
' }',
' .old-browser-bottom {',
' z-index: 9999903;',
' }',
' .old-browser-holder {',
' position: absolute;',
' top: 50%;',
' left: 50%;',
' width: 650px;',
' height: 400px;',
' margin-top: -200px;',
' margin-left: -325px;',
' padding: 10px;',
' background-color: #FFF;',
' }',
' .old-browser-bottom a {',
' display: block;',
' float: left;',
' margin: 10px 6px;',
' text-align: center;',
' text-decoration: none;',
' outline: 0;',
' color: #000;',
' }',
' .old-browser-bottom a:hover h4 {',
' text-decoration: underline;',
' }',
' .old-browser-bottom a img {',
' margin: 0 auto;',
' border: 0;',
' } ',
'</style>'
].join();
document.addEventListener("DOMContentLoaded", function() {
document.getElementsByTagName('body')[0].innerHTML = ieScriptTag;
}, false);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.