当前位置:网站首页>Website with JS doesn't work in IE9 until the Developer Tools is activated
Website with JS doesn't work in IE9 until the Developer Tools is activated
2022-07-03 17:32:00 【javail】
problem :
I'm developing a complex website that heavily leverages jQuery and a number of scripts. I am developing a complex website , It makes full use of jQuery And many scripts .On load of the site, none of my scripting is working (though I can confirm that other scripts are functioning fine). When loading the website , None of my scripts work ( Although I can confirm that other scripts are working properly ).I wouldn't be posting such a lame question here on SE except for one thing: Except for one thing , I won't be here SE Publish such a lame question on :
The instant I hit F12 to turn on developer tools so I can debug my issue, everything instantly works perfectly! I click F12 Open developer tools , So that I can debug my problem , Everything is perfect immediately !
Worse, if I shut down the browser, start it up, turn on Dev Tools first and visit the site, everything works as expected. What's worse is , If I close my browser , To start it , Start by opening Dev Tools And visit the site , Everything works as expected .
So I can't even debug the darned problem because Dev Tools fixes it! So I can't even debug this problem because Dev Tools Fixed it !What could Dev Tools be doing that makes things work?Dev Tools What can be done to make things work ?Does it change the UA (I do some jQuery.browser detection)? Has it changed UA( I did some jQuery.browser testing )?Does it do something to doctype? It's right doctype Is it useful? ?
EDIT edit
All my console logging is wrapped in the following wrapper utility function: All my console logging is contained in the following wrapper utility functions :
function log(msg){ if (console){ console.log(msg); } }Any thoughts or suggestions I could try would be welcome. Any idea or suggestion I can try will be welcomed .I'll post here if I find a solution. If I find a solution , I will post it here .
Solution :
Reference resources : https://stackoom.com/en/question/Xxy8边栏推荐
- Brief introduction to the core functions of automatic penetration testing tool
- Golang单元测试、Mock测试以及基准测试
- Rsync remote synchronization
- Test your trained model
- Hongmeng third training
- Leetcode 108 converts an ordered array into a binary search tree -- recursive method
- 【JokerのZYNQ7020】DDS_ Compiler。
- [combinatorics] recursive equation (summary of the solution process of recursive equation | homogeneous | double root | non-homogeneous | characteristic root is 1 | exponential form | the bottom is th
- 企业级自定义表单引擎解决方案(十一)--表单规则引擎1
- 基于主机的入侵系统IDS
猜你喜欢
![[error reporting] omp: error 15: initializing libiomp5md dll, but found libiomp5md. dll already initialized.](/img/a0/4fc0e0741aad2885873e60f2af3387.jpg)
[error reporting] omp: error 15: initializing libiomp5md dll, but found libiomp5md. dll already initialized.

New library online | cnopendata complete data of Chinese insurance institution outlets

Kubernetes resource object introduction and common commands (III)

新库上线 | CnOpenData中国保险机构网点全集数据

Vs2013 has blocked the installer, and ie10 needs to be installed
![How to read the source code [debug and observe the source code]](/img/40/a2fca67bcde3c468a739c6990325f4.jpg)
How to read the source code [debug and observe the source code]

1164 Good in C

QT学习日记9——对话框

问题随记 —— 在 edge 上看视频会绿屏
![[RT thread] NXP rt10xx device driver framework -- Audio construction and use](/img/85/32a83eaa4b7f5b30d4d7c4f4c32791.png)
[RT thread] NXP rt10xx device driver framework -- Audio construction and use
随机推荐
Hongmeng third training
【RT-Thread】nxp rt10xx 设备驱动框架之--Audio搭建和使用
LeetCode13.罗马数字转整数(三种解法)
Leetcode 669 pruning binary search tree -- recursive method and iterative method
2021 ICPC regional competition (Shanghai) g.edge groups (tree DP)
RDS数据库的监测页面在哪看?
Answer to the homework assessment of advanced English reading (II) of the course examination of Fuzhou Normal University in February 2022
[RT thread] NXP rt10xx device driver framework -- pin construction and use
基于主机的入侵系统IDS
[combinatorics] recursive equation (special solution example 1 Hannover tower complete solution process | special solution example 2 special solution processing when the characteristic root is 1)
简单配置PostFix服务器
September, 19, "cam principle and application" online assignment [Full Score answer]
PR second time
[combinatorics] recursive equation (definition of general solution | structure theorem of general solution of recursive equation without multiple roots)
Write a program to process a list container of string type. Find a special value in the container 9.27: and delete it if found. Rewrite the above procedure with deque container.
AcWing 3438. Number system conversion
How to read the source code [debug and observe the source code]
Hongmeng fourth training
[mathematical logic] equivalent calculus and reasoning calculus of predicate logic (individual word | predicate | quantifier | predicate logic formula | two basic formulas | proposition symbolization
Managing multiple selections with MVVM - managing multiple selections with MVVM