简体   繁体   中英

how to create a hyperlink that will only open in chrome and uses a disable flag

I want to create a hyperlink that will open chrome by using flag --disable-hang-monitor . after than it should open website https:\\\\randomwebsite.com

google chrome location

c:\program Files(x86)\Google\Chrome\Application\chrome.exe --disable-hang-monitor

website

https:\\randomwebsite.com

I tried this but how to set flag & always open in chrome?

<a href="https:\\randomwebsite.com">Website</a>

It is impossible to specify that link should be opened in chrome since html tag <a> doesn't support this functionality. For more info please see the documentation: https://www.w3schools.com/tags/tag_a.asp

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