add bingWrite

This commit is contained in:
James Feng Cao 2023-04-17 07:28:21 +08:00
parent 5951fe139a
commit c29eb47b8b
8 changed files with 12 additions and 8 deletions

View file

@ -5,13 +5,16 @@ createChat(thisChatType).then((r) => {
/**重写重置聊天到初始状态函数 */
function reSetStartChatMessage(type) {
chat.innerHTML = ``;
isSpeaking = false;
}
/**重写函数 */
function isSpeakingStart(chatWithMagic, sendText) {
isSpeaking = true;
}
//重写
function isSpeakingFinish() {
isSpeaking = false;
}

View file

@ -5,7 +5,6 @@
<meta charset="utf-8">
<base href="https://jamesfengcao.codeberg.page/en/searchurl/bingAI/">
<title id="docTitle">Write</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">
<style>
#input {
@ -13,6 +12,7 @@
width: 100%;
display: block;
}
pre {white-space: pre-wrap;}
</style>
<script>
function getSelectedText(select){
@ -49,7 +49,6 @@
<div class="bing">
<div class="adaptiveCardsFatherDIV">
<div class="textBlock markdown-body">
</div>
</div>
</div>

View file

@ -58,6 +58,7 @@ body>ul{padding-left:0;}
<li><label><input type="checkbox" onchange="location.href='i:2533554432'"/>Use termux</label></li>
<li><label><input type="checkbox" onchange="location.href='i:2567108864'"/>webview debug</label></li>
<li><label><input type="checkbox" onchange="location.href='i:25134217728'"/>fullscreen playing w/o brightness & volumn gestures</label></li>
<li><label><input type="checkbox" onchange="location.href='i:25268435456'"/>Always edit downloaded file name</label></li>
</ul>
<script>
checkBoxes=document.getElementsByTagName("input");