通过单击锚点标签在firefox中打开网页 [英] To open a web page in firefox by clicking an anchor tag
问题描述
我在这里向您提问.这是例外,但我认为有人会对此做出回答.
问题:用户单击锚标签后,我需要在firefox中打开一个页面.
Question: Once user clicks an anchor tag i need to open a page in firefox.
示例:
//Currently anchor tag is displaying in any of following browsers(IE,Opera,Safari,Chrome)
<a href="sample.html">Sample link to open in firefox</a>
一旦用户单击链接,我需要在firefox中打开sample.html.没有不可能的事.但我不知道该怎么做.
Once user clicks the link i need to open sample.html in firefox. Impossible is nothing. but i dont know how to do this.
是否可以在javascript,jquery,php中执行此操作.
Whether thre is option to do this in javascript, jquery, php.
预先感谢
推荐答案
您不能从给定的网页中指定应在哪个软件中打开链接.
You cannot, from a given web-page, specify in which software a link should be opened.
充其量,如果您的锚点指向特定类型的文件(例如.doc),则系统将知道它必须使用浏览器(例如MS)以外的其他软件.字-或询问用户他要使用哪种软件).但是,对于HTML页面,将使用浏览器.
At best, if your anchor points to a specific kind of file (like a .doc), the system will know that it must use some other software than the browser (like MS Word -- or ask the user which software he wants to use). But, for an HTML page, the browser will be used.
您的网站对此无能为力.
And your website has no control over this.
这篇关于通过单击锚点标签在firefox中打开网页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!