简体   繁体   中英

html code to open a file:// link in chrome browser that uses the chrome extension “open in IE” by default

Assuming everybody uses chrome browser;

So I am creating a wordpress blog for some friends. We use a shared network, and I want to create a link on that blog that when pressed opens up a folder in internet explorer.

The current html code is

I am using a chrome extension called "open in IE" , but to use it requires a right click then choosing an option within the menu. This process is too long and I want to simplify it.

Is there any html code I can write that make it open that file:// link using the "open in IE" extension by default? The goal is to be able to left click the link in chrome and have a window explorer open with the files in it.

Cheers

Unfortunately, targetting a specific browser to open on a clicked link is not possible.

Unless you modified some of their internal registry or used an activex plugin, it is just not a supported feature at this time.

You will most likely need to hard code some javascript.

I believe it is possible to reference installed extensions from your code using chrome.extensions.

Reference here, http://developer.chrome.com/extensions/extension.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM