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

@ -78,7 +78,7 @@
</ul>
</div>
<p>Last Modified: 15 April 2023<br>
<p>Last Modified: 17 April 2023<br>
enhance redirection cookie support<br>
<pre></pre>
</p>

View file

@ -66,7 +66,7 @@
</div>
<p>Last Modified: 16 April 2023<br>
add bingWrite<br>
refine bingWrite<br>
<pre></pre>
</p>

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");

View file

@ -58,7 +58,7 @@
/>
</url><url>
<loc>/en/</loc>
<lastmod>2023-04-16T16:25:15+08:00</lastmod>
<lastmod>2023-04-17T07:27:43+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -113,7 +113,7 @@
/>
</url><url>
<loc>/en/topposts/</loc>
<lastmod>2023-04-15T14:17:21+08:00</lastmod>
<lastmod>2023-04-17T07:27:43+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -210,7 +210,7 @@
/>
</url><url>
<loc>/en/changelog/</loc>
<lastmod>2023-04-15T14:17:21+08:00</lastmod>
<lastmod>2023-04-17T07:27:43+08:00</lastmod>
</url><url>
<loc>/en/sitemap/</loc>
<lastmod>2023-02-01T09:52:11+08:00</lastmod>

View file

@ -4,7 +4,7 @@
<sitemap>
<loc>en/sitemap.xml</loc>
<lastmod>2023-04-16T16:25:15+08:00</lastmod>
<lastmod>2023-04-17T07:27:43+08:00</lastmod>
</sitemap>

View file

@ -58,6 +58,7 @@ body>ul{padding-left:0;}
<li><label><input type="checkbox" onchange="location.href='i:2533554432'"/>使用termux</label></li>
<li><label><input type="checkbox" onchange="location.href='i:2567108864'"/>webview调试</label></li>
<li><label><input type="checkbox" onchange="location.href='i:25134217728'"/>全屏播放无亮度声音触摸调节</label></li>
<li><label><input type="checkbox" onchange="location.href='i:25268435456'"/>编辑下载文件名</label></li>
</ul>
<script>
checkBoxes=document.getElementsByTagName("input");