uweb/en/searchurl/bingAI/bing.html
2023-04-07 14:43:41 +08:00

89 lines
3.7 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<base href="https://jamesfengcao.codeberg.page/en/searchurl/bingAI/">
<title id="docTitle">NewBingGoGo</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/5.2.0/github-markdown.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.4/katex.min.css">
<link rel="stylesheet" type="text/css" href="./css/bing.css">
</head>
<body>
<div id="background" class="b"></div>
<div id="tail">
<div id="tail-in">
<input id="restartNewChat" class="onShow" type="button" value="new chat">
<input id="restart" type="button" value="🧹">
<div id="input-div">
<textarea id="input" type="text" enterkeyhint="send" maxlength="2000" autocapitalize="off" autocomplete="off" aria-autocomplete="both" spellcheck="false" aria-label="ask Bing" autocorrect="off" placeholder="type question here..."></textarea>
<input id="send" type="button" value="✓">
</div>
</div>
<div id="SearchSuggestions">
</div>
</div>
<div id="body">
<div id="popup">
<h5 style="text-align: center; margin:0;">输入魔法链接</h5>
<input type="text" id="url-input" style="width: 97%;display: inline-block;"
onkeydown="if (event.keyCode == 13) {let v=this.value;localStorage.setItem('GoGoUrl',v);}">
<h5 style="text-align: center; margin:0;">聊天方式</h5>
<select id="tallSelect" style="width: 100%;" onchange="localStorage.setItem('ChatHubWithMagic',this.selectedIndex);">
<option>复用聊天(最快)(用魔法创建聊天后在失效前都使用这个聊天)</option>
<option>正常聊天(推荐)(用魔法创建聊天后正常聊天)</option>
<option>魔法聊天(较慢)(用魔法创建聊天后继续使用魔法聊天)</option>
</select>
</div>
<div style="text-align: center;">
<h3>chat with bing</h3>
</div>
<div id="chatTypeDiv" style="opacity: 1;">
<div class="chatTypeChose" id="chatTypeChoseCreate">
<p>More</p>
<h3>Creative</h3>
</div>
<div class="chatTypeChose Chose" id="chatTypeChoseBalance">
<p>More</p>
<h3>Balanced</h3>
</div>
<div class="chatTypeChose" id="chatTypeChoseAccurate">
<p>More</p>
<h3>Precise</h3>
</div>
</div>
<div id="chat">
<div class="bing">
<div class="adaptiveCardsFatherDIV">
<div class="textBlock markdown-body">
I am ready to chat
</div>
<div class="throttling">
0 / 0
</div>
</div>
</div>
</div>
<div id="body-bottom"></div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/marked/4.3.0/marked.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.4/katex.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.4/contrib/auto-render.min.js"></script>
<script>
async function getMagicUrl() {
let v = localStorage.GoGoUrl;
if(v) return v;
return "https://mybing2.xn--xyza.top/";
}
</script>
<script type="text/javascript" src="./js/GetSet.js"></script>
<script type="text/javascript" src="./js/bingChatHub.js"></script>
<script type="text/javascript" src="./js/parserReturn.js"></script>
<script type="text/javascript" src="./js/bing.js"></script>
</body>
</html>