Strange issue in Chrome - loading javascript TWICE file

I am having a weird issue in Google Chrome. I am including the js file through the src script tag. I place a warning ('test') in the file, and when I load the page in Chrome, it warns twice. In every other browser, it warns once. Is there any known reason for this?

Here is the code that loads JS:

<script type="text/javascript" src="/js/main.js"></script>

This seems to be happening in Safari too. Doesn't happen in IE and firefox.

+5
source share
3 answers

I had this recently and eventually it turned out that this is a chrome extension, in particular an extension for the cache killer

+12
source
0

Chrome. , , . , Chrome, , . . , , onload <body onload="somefunction()">. , iframe Cache Killer. Safari, . , -, Chrome.

, , , Chrome. https://code.google.com/p/chromium/issues/detail?id=64810

, .

.

0
source

All Articles