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
Solutions
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
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.
Similar questions
Hiding or removing file extension displayed in HTML on attachment page
I’m doing up a photography theme in WP at the moment, and I’ve already got great help on this thread (thanks Milo!) for a previous question. In that thread, I asked about displaying the file name of an uploaded file on the attachment.php page for that file. I’m now using the suggested answer, which uses this code to display the name: <?php echo ...
Wordpress REST API - Post Call from a Chrome Extension
I developed a chrome extension and I want to store some datas coming from the chrome extension to my wordpress website using REST API. I have to 2 issues: The first one is that I have an error linked to the fact that there is an interaction between two different domain : "Access to XMLHttpRequest at 'https://groupio.fr/wp-json/groupio/v1/ean/' from...
Make Chrome Extension detect if user is logged in on my Wordpress website
I have a Wordpress website and a Chrome Extension. If the user logs in on the website, I want the Chrome Extension to be aware of that (and vice-versa). The Chrome Extension won't have a login form in it; the user will always log in through the website login form. When you log in on the website, Wordpress by default sets its authentication cookies ...
Also ask