Search code examples
asp-classicincludeoperapageload

Opera is loading my page twice


My page is loaded twice by Opera. Version 11.11

I have placed some console logs at a few places to indicate the order that parts of my document are being loaded, see below.

Console Logs:

Head section
Head section
Inside my Script.js file
Inside my Script.js file
Body section
Body section
Inside jQuery(document).ready
Inside jQuery(document).ready

It is a .asp classic page using .shtml and .asp includes, and I am using jQuery for my script.

Does anyone have any ideas as to why Opera could be loading the page twice, when Firefox, Safari, IE, and Chrome are all fine?

If you need more info please ask, I'm not sure how much detail I need to provide in order to get some initial suggestions, I hope the above is enough to get started, thanks.


One thing I notice is the order of the outputted console logs. If the page was actually loading twice wouldn't the order be?

Console Logs:

Head section    
Inside my Script.js file
Body section
Inside jQuery(document).ready
Head section    
Inside my Script.js file
Body section
Inside jQuery(document).ready

Therefore i'm thinking that it's a bug with Opera's console, i.e Dragonfly.

Would anyone tend to agree with that or have any other theories?


Solution

  • This a known issue with Opera Why does console.log prints out twice?