Answer the question
In order to leave comments, you need to log in
Chrome 50 got weird with the popular head.js - how to fix it?
Greetings
Many of you may be familiar with the head.js script . Worked great in almost all browsers until the moment when the chrome browser was not updated to version 50. The situation is such that when you connect the style sheet through this script, something happens - styles in appearance are late when applied to html, the page, its elements at each update twitch.
Questions:
- can something be done about this, corrected for correct operation?
- why is this happening?
- who is to blame: the script, errors in the chrome browser version 50 or me?
For example, it is used (you can download the archive with files ):
1) the script itself, you can take it on the official website
2) html code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>head js</title>
<script src="head.min.js"></script>
<script>
if (head.browser.ie && head.browser.version <= 8) {
//alert('that is');
head.load(
"style-ie.css"
);
} else {
//alert('that is');
head.load(
"style.css"
);
};
</script>
</head>
<body>
<ul>
<li>123123</li>
<li>123123</li>
<li>123123</li>
<li>123123</li>
<li>123123</li>
<li>123123</li>
<li>123123</li>
<li>123123</li>
<li>123123</li>
<li>123123</li>
<li>123123</li>
<li>123123</li>
<li>123123</li>
<li>123123</li>
<li>123123</li>
</ul>
</body>
</html>
body{background: #f2f2f2;margin: 0;padding: 0;}
li{list-style-type: none;}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question