Win7/win8 system debugging IE11 browser JS script method

  

1) Let's first look at some of the js compatibility issues that currently exist in IE11.

2) Secondly, confirm the system information of the notebook

3) Log in to our system (for information security, the picture is handled simply)

4) Default in IE11 In the open mode, clicking any button on the mouse has no effect. Click on the log query and then click Device Management. You can see that the page is not responding. At this point we need to activate the compatibility mode under IE11 to browse this page.

Enter IE11 compatibility mode

1) Press F12 in the IE11 page to open the new developer tool. Find the simulation function on the left side, set the document mode and user string to IE7 mode, so you enter the browser compatibility mode. At this time, go back to the previous page and click the log query button to see that the following response has been received. The js event.

Now find the js script in the page we need to debug

1) Open the page we need to debug, use the Select Element button in the DOM Explorer in the Developer Tools, select Our document location.

2) Find our js script location in the DOM Explorer, because it is opened in the DOM Explorer, so I can only see it can't be operated here. The js we open is also in text mode. Presented.

Through the above step, if we can locate our js code, we can confirm that we can debug the js.

1) Open the debugger function in the developer tools.

2) Click on the folder icon in the upper left corner and find our js code.

So far, our IE11 browser can help us debug the js code.

There is another way to debug js scripts

is a non-IE browser made with IE kernel, such as 360 speed browser.

In compatibility mode, F12 enters the developer tool and you will see the pictures we are familiar with.

Copyright © Windows knowledge All Rights Reserved