Home Web Front-end JS Tutorial javascript disable IE toolbar, navigation bar, etc. implementation code_javascript skills

javascript disable IE toolbar, navigation bar, etc. implementation code_javascript skills

May 16, 2016 pm 05:38 PM
Disable

When you encounter a problem, just record it by the way,

Copy the code The code is as follows:

function OnOpenWin() {
if (window.name != "OAopenWindow") {
win = window.open("login.aspx", "OAopenWindow", "toolbar=no, menubar=no, scrollbars= no, resizable=yes,location=no,status=no,width=" (screen.width - 5) ",height=" (screen.height - 38) ",top=0,left=0");
if (win != null) {
window.opener = null; window.open('', '_self', ''); window.close();
}
// else{
// document.all('div_msg').style.display='block';
// }
}
else {
window.moveTo(-3, -3) ;
setTimeout("self.focus()", 500);
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to disable and remove HP Wolf Security on Windows 11 How to disable and remove HP Wolf Security on Windows 11 Dec 14, 2023 pm 06:49 PM

How to disable and remove HP Wolf Security on Windows 11

How to remove news and trending content from Windows 11 Search How to remove news and trending content from Windows 11 Search Oct 16, 2023 pm 08:13 PM

How to remove news and trending content from Windows 11 Search

How to enable or disable taskbar thumbnail previews on Windows 11 How to enable or disable taskbar thumbnail previews on Windows 11 Sep 15, 2023 pm 03:57 PM

How to enable or disable taskbar thumbnail previews on Windows 11

How to enable or disable memory compression on Windows 11 How to enable or disable memory compression on Windows 11 Sep 19, 2023 pm 11:33 PM

How to enable or disable memory compression on Windows 11

Microsoft Wi-Fi Direct Virtual Adapter: What does it do? Microsoft Wi-Fi Direct Virtual Adapter: What does it do? Jun 29, 2023 pm 12:33 PM

Microsoft Wi-Fi Direct Virtual Adapter: What does it do?

Windows 11 User Guide: How to disable ad pop-ups Windows 11 User Guide: How to disable ad pop-ups Sep 22, 2023 pm 07:21 PM

Windows 11 User Guide: How to disable ad pop-ups

Edge browser js script disabling method Edge browser js script disabling method Jan 07, 2024 am 11:17 AM

Edge browser js script disabling method

How to disable your laptop keyboard on Win11 and only use an external keyboard How to disable your laptop keyboard on Win11 and only use an external keyboard Jan 29, 2024 pm 08:48 PM

How to disable your laptop keyboard on Win11 and only use an external keyboard

See all articles