Why does javascript prompt "scheduled system shutdown" using window. open? javascriptwindow
When javascript calls window. open to open the website, the IE browser reports an error: the system has been scheduled to shut down, prompting
Baidu has automatically finished searching for it for some reason. You can view this post: Weird JS, which has already planned a system shutdown error.
So I used Google to search for related English content. Someone on serverfault.com also encountered this problem. The satisfactory answer is still reliable: IE8 script error 800704a6?
Copy codeThe Code is as follows:
The only information I 've been able to find on this error is from Josh Poley's MSDN blog. (this article on msdn does not exist)
1190 0x800704A6 A system shutdown has already been scheduled. ERROR_SHUTDOWN_IS_SCHEDULED
However, the message implies that you get this when trying to schedule a shutdown. The only thing I can think of is that an installation/Windows update is waiting for a reboot.
You say that you can't see updates in Add/Remove programs-have you checked the "Show updates" option is checked?
Other posts that mention this error are similar in nature to yours.
It mainly refers to system updates or installation of related software or patches, which must be restarted before they take effect. Therefore, the above-mentioned csdn error has been resolved inexplicably. It should have been caused by restarting the computer.
Javascript: windowopen does not pop up
Javascript: window. open (this. options [this. selectedIndex]. value)
This turns out to be the case.
Location. href = this. options [this. selectedIndex]. value
JavaScript: windowopen ()
Window. open:
Window. open ('page.html ', 'newwindow', 'height = 100, width = 400, top = 0, left = 0, toolbar = no, menubar = no, scrollbars = no, resizable = no, location = n o, status = no ')
Parameter description:
Window. open command to pop up a new window;
'Page.html 'name of the pop-up window;
'Newwindow' indicates the name of the pop-up window (not the file name). It is optional and can be replaced by null;
Height = 100 window height;
Width = 400 window width;
Top = the pixel value between the 0 window and the top of the screen;
Left = 0 the pixel value between the window and the left of the screen;
Toolbar = no indicates whether to display the toolbar. yes indicates display;
Menubar and scrollbars indicate the menu bar and scroll bar.
Resizable = no: whether to change the window size. yes: yes;
Location = no indicates whether the address bar is displayed. yes indicates yes;
Status = no whether to display the information in the status bar (usually the file has been opened), yes is allowed;
The two commas that are connected are the parameters that are omitted.