Board logo

標題: [操作疑難] [JS] mht file 連結打開, load 到天謊地老既問題 [打印本頁]

作者: faiwaic    時間: 2019-12-20 16:33     標題: [JS] mht file 連結打開, load 到天謊地老既問題

試過用 <a href="file://xxxx.com/..../abc.mht" target="_blank" rel="noopener noreferrer">aa</a>

自己開 node 係得, 但上 server 唔 work.

用 JS window.open 都係唔得.

最後用 JS click 返 最頂條 link 先得...
請問有冇更好既方法 instead of 咁煩既方法?
作者: KinChungE    時間: 2019-12-22 21:11

本帖最後由 KinChungE 於 2019-12-22 21:13 編輯

放上server load file:// ?
呢樣野insecure, browser會block
https只可以去翻https
http只可以去http / https

你已經寫左xxxx.com, 係咪應該改翻http/https?
作者: faiwaic    時間: 2019-12-22 21:59

回覆 2# KinChungE


    聽日試下先。 Thanks.





歡迎光臨 電腦領域 HKEPC Hardware (https://www.hkepc.com/forum/) Powered by Discuz! 7.2