I written docs in here and want to open it to my service users.
Because:
- Most of my users are using QQ or WeChat (IM software) on Android, IOS or PC.
- Clicking URLs displayed in these apps will open its internal browser, instead of system built-in browser.
- These apps ban some URLs, clicking them won't open the page but open a page said
This website is unsafe, to open it, copy its URL and open it in other browser. - I'm using docs service,
feishu, provided by one of the competitors of QQ and WeChat, and they banhttps://login.feishu.cn. - My docs can be seen by everyone, but it will be redirected to
https://login.feishu.cnfirstly, then redirect back to the content. So, my docs will be banned. - Recently QQ updated, added a button under the line
This website is unsafe ...calledcopy link, but this button will only copy the error page link like${unsafe_page}?url=${original_url}, not the original page link. My users will find that they opened page in other browser still said my website is unsafe.
I want to make my pages open directly in the QQ internal browser instead of copying URL, quitting QQ, open another browser, paste URL and open it. I tried:
- Use
frameandiframeto render content by following codes:
<!doctype html>
<html lang="zh_CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2">
<title></title>
</head>
<frameset rows="100%">
<frame src="https://qqoyoe581hs.feishu.cn/wiki/Tvr2w0rZNiokUckmX5pcEVhBnac"></frame>
</frameset>
<noframes>
<body align="center">
<p>some notice... </p>
</body>
</noframes>
</html>
But the response code of getting https://qqoyoe581hs.feishu.cn/wiki/Tvr2w0rZNiokUckmX5pcEVhBnac will be 400.
Use
proxy_pass: pages can be open in other browsers, but it will be banned in QQ or WeChat internal browser because of redirecting tologin.feishu.cn.Use
iframe: pages can be loaded but becausefeishu.comcannot process cookies, so it will be redirected tologin.feishu.cn.
:(
Is there any way to implement it?