Test script:
The code is as follows |
Copy Code |
<button onclick=test () >test </button> <SCRIPT> function Test () { ShowModalDialog ("Javascript:alert (navigator.useragent);"); } </SCRIPT> |
Today finally found the real reason is that the contents of the registration table has been modified, as to what software has been modified please check the registration table of the items you can. The specific registry location is two places:
The code is as follows |
Copy Code |
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\user Agent And HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\user Agent |
Found mine on my machine.
The code is as follows |
Copy Code |
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\user Agent\Post Platform |
The key value for a string is changed to: EMBEDDEDWB 14.52 FROM:HTTP://WWW.111CN.NET/EMBEDDEDWB 14.52 is because the key name is too long, so the error is caused by JavaScript fetching, Check whether the key names under these two locations have such a situation, after the modification, restart the machine, you can solve the problem
JS itself out of a problem
JSTree0.9.8 version-IE "Not enough storage space to complete this operation" after multiple refreshes
The root of Evil:
The Add_sheet method in _lib.js
The code is as follows |
Copy Code |
if (document.createstylesheet) {document.createstylesheet (URL);} Cause: You can create up to StyleSheet objects with the createStyleSheet method. See here |
More than this limit on the report of this error, shit, completely farfetched ....
Solutions
Directly comment out the above method and use the standard method to create the style.