Line 1,118: | Line 1,118: | ||
}); | }); | ||
+ | </script> | ||
+ | <!-- PIECE OF SHIT POGRAMM BY GREEDY NEW WORLD ORDER M$ --> | ||
+ | |||
+ | <script> | ||
+ | // Get IE or Edge browser version | ||
+ | var versionshitie = detectIE(); | ||
+ | //document.getElementById('result').innerHTML = versionshitie; | ||
+ | |||
+ | function detectIE() { | ||
+ | var ua = window.navigator.userAgent; | ||
+ | var msie = ua.indexOf('MSIE '); | ||
+ | if (msie > 0) { | ||
+ | return parseInt(ua.substring(msie + 5, ua.indexOf('.', msie)), 10); | ||
+ | } | ||
+ | |||
+ | var trident = ua.indexOf('Trident/'); | ||
+ | if (trident > 0) { | ||
+ | var rv = ua.indexOf('rv:'); | ||
+ | return parseInt(ua.substring(rv + 3, ua.indexOf('.', rv)), 10); | ||
+ | } | ||
+ | var edge = ua.indexOf('Edge/'); | ||
+ | if (edge > 0) { | ||
+ | return parseInt(ua.substring(edge + 5, ua.indexOf('.', edge)), 10); | ||
+ | } | ||
+ | return false; | ||
+ | } | ||
+ | |||
+ | if (versionshitie != false) { | ||
+ | scnavbar.classList.add("sticky") | ||
+ | } | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 00:37, 2 November 2017