Home > front end >  Bosses for help, ie jump Google browser
Bosses for help, ie jump Google browser

Time:10-02

Because the system have a page with Google browser efficiency is better, asking our bosses, is there a way to let ie automatically jump Google?

CodePudding user response:

You can't decide what users use the browser, if you can, you also do ie?

CodePudding user response:

/*
Create ActiveXObject instance, only can create effective in IE,
*/
Var objShell=new ActiveXObject (" WScript. Shell ");
/*
Command parameters description
CMD. Exe/c dir is executed after the dir command to close the command window,
CMD. Exe dir/k is performed after the dir command does not close the command window,
Start CMD. Exe/c dir dir instructions executed after will open a new window, the window will close,
CMD. Exe start dir/k will open a new window after execution dir command, the window won't shut down,
The dir here is start chrome www.baidu.com//with Google browser open baidu
*/
ObjShell. Run (" CMD. Exe/c start chrome www.baidu.com ", 0, true);

- ie jumped other browsers implement other browser ie bad light code implementation

CodePudding user response:

O bosses can do to help

CodePudding user response:

The
reference 3 floor m0_37846435 response:
/*
Create ActiveXObject instance, only can create effective in IE,
*/
Var objShell=new ActiveXObject (" WScript. Shell ");
/*
Command parameters description
CMD. Exe/c dir is executed after the dir command to close the command window,
CMD. Exe dir/k is performed after the dir command does not close the command window,
Start CMD. Exe/c dir dir instructions executed after will open a new window, the window will close,
CMD. Exe start dir/k will open a new window after execution dir command, the window won't shut down,
The dir here is start chrome www.baidu.com//with Google browser open baidu
*/
ObjShell. Run (" CMD. Exe/c start chrome www.baidu.com ", 0, true);

- ie jumped other browsers implement other browser ie implementation code is bad light

  666666, tried it on, can indeed, cowhide

CodePudding user response:

Hackers level, the control of the user

CodePudding user response:

Is not professional, they haven't heard, a good page using Google browser efficiency of this statement, if you are not compatible, the compatibility is OK, very easy to allow the user to switch the browser, can only do it prompts the user, this page, please use Google to open, OK, I threw up,,,,,,,
  • Related