当前位置:网站首页>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边栏推荐
- Luogu: p1155 [noip2008 improvement group] double stack sorting (bipartite graph, simulation)
- Comparison of kotlin collaboration + retro build network request schemes
- [RT thread] construction and use of --hwtimer of NXP rt10xx device driver framework
- 【RT-Thread】nxp rt10xx 设备驱动框架之--Pin搭建和使用
- 基于主机的入侵系统IDS
- [combinatorics] recursive equation (four cases where the non-homogeneous part of a linear non-homogeneous recursive equation with constant coefficients is the general solution of the combination of po
- Brief introduction to the core functions of automatic penetration testing tool
- An example of HP array card troubleshooting
- Enterprise custom form engine solution (XI) -- form rule engine 1
- Internet Hospital his Management Platform source, online Inquiry, appointment Registration Smart Hospital Small program source
猜你喜欢
kubernetes资源对象介绍及常用命令(三)
Kubernetes resource object introduction and common commands (III)
Leetcode 538 converts binary search tree into cumulative tree -- recursive method and iterative method
新库上线 | CnOpenData中国保险机构网点全集数据
Simple use of unity pen XR grab
QT adjust win screen brightness and sound size
Automata and automatic line of non-standard design
互聯網醫院HIS管理平臺源碼,在線問診,預約掛號 智慧醫院小程序源碼
鸿蒙第四次培训
Wechat applet for the first time
随机推荐
网络硬盘NFS的安装与配置
[combinatorics] recursive equation (the non-homogeneous part is an exponential function and the bottom is the characteristic root | example of finding a special solution)
Applet setting multi account debugging
数仓任务里面 跑SQL任务的时候用的数据库账号是在哪里配置的
SVN如何查看修改的文件记录
Great changes! National housing prices fell below the 10000 yuan mark
Where is the monitoring page of RDS database?
Squid service startup script
Free data | new library online | cnopendata complete data of China's insurance intermediary outlets
SQL injection database operation foundation
Vs code plug-in korofileheader
Stm32h7 Hal library SPI DMA transmission has been in busy solution
Hongmeng third training
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.
Open vsftpd port under iptables firewall
Managing multiple selections with MVVM - managing multiple selections with MVVM
Cross border e-commerce: advantages of foreign trade enterprises in overseas social media marketing
【RT-Thread】nxp rt10xx 设备驱动框架之--hwtimer搭建和使用
Tensorboard quick start (pytoch uses tensorboard)
ArrayList analysis 3: delete elements