uweb/en/searchurl/bingAI/bing.html

92 lines
3.7 KiB
HTML
Raw Normal View History

2023-04-01 13:07:20 +00:00
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<base href="https://gitee.com/jamesfengcao/uweb/raw/master/en/searchurl/bingAI/">
<title id="docTitle">NewBingGoGo</title>
2023-04-01 15:34:44 +00:00
<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">
2023-04-01 13:07:20 +00:00
<link rel="stylesheet" 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="restart">
<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="submit">
</div>
</div>
<div id="SearchSuggestions">
</div>
</div>
<div id="body">
2023-04-01 15:34:44 +00:00
<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>
2023-04-01 13:07:20 +00:00
<div id="body-top"></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>
2023-04-02 01:52:12 +00:00
<script>
async function getMagicUrl() {
let v = localStorage.GoGoUrl;
if(v) return v;
return "https://mybing2.xn--xyza.top/";
}
</script>
2023-04-01 13:07:20 +00:00
<script src="./js/GetSet.js"></script>
<script src="./js/ChatMessages.js"></script>
<script src="./js/bingChatHub.js"></script>
<script src="./js/parserReturn.js"></script>
<script src="./js/bing.js"></script>
</body>
</html>