bing.html 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <base href="https://jamesfengcao.codeberg.page/en/searchurl/bingAI/">
  6. <title id="docTitle">NewBingGoGo</title>
  7. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/5.2.0/github-markdown.min.css">
  8. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.4/katex.min.css">
  9. <link rel="stylesheet" type="text/css" href="./css/bing.css">
  10. </head>
  11. <body>
  12. <div id="background" class="b"></div>
  13. <div id="tail">
  14. <div id="tail-in">
  15. <input id="restartNewChat" class="onShow" type="button" value="new chat">
  16. <input id="restart" type="button" value="🧹">
  17. <div id="input-div">
  18. <textarea id="input" type="text" enterkeyhint="send" autocapitalize="off" autocomplete="off" aria-autocomplete="both" spellcheck="false" aria-label="ask Bing" autocorrect="off" placeholder="type question here..."></textarea>
  19. <input id="send" type="button" value="✓">
  20. </div>
  21. </div>
  22. <div id="SearchSuggestions">
  23. </div>
  24. </div>
  25. <div id="body">
  26. <div id="popup">
  27. <h5 style="text-align: center; margin:0;">输入魔法链接</h5>
  28. <input type="text" id="url-input" style="width: 97%;display: inline-block;"
  29. onkeydown="if (event.keyCode == 13) {let v=this.value;localStorage.setItem('GoGoUrl',v);}">
  30. <h5 style="text-align: center; margin:0;">聊天方式</h5>
  31. <select id="tallSelect" style="width: 100%;" onchange="localStorage.setItem('ChatHubWithMagic',this.selectedIndex);">
  32. <option>复用聊天(最快)(用魔法创建聊天后在失效前都使用这个聊天)</option>
  33. <option>正常聊天(推荐)(用魔法创建聊天后正常聊天)</option>
  34. <option>魔法聊天(较慢)(用魔法创建聊天后继续使用魔法聊天)</option>
  35. </select>
  36. </div>
  37. <div style="text-align: center;">
  38. <h3>chat with bing</h3>
  39. </div>
  40. <div id="chatTypeDiv" style="opacity: 1;">
  41. <div class="chatTypeChose" id="chatTypeChoseCreate">
  42. <p>More</p>
  43. <h3>Creative</h3>
  44. </div>
  45. <div class="chatTypeChose Chose" id="chatTypeChoseBalance">
  46. <p>More</p>
  47. <h3>Balanced</h3>
  48. </div>
  49. <div class="chatTypeChose" id="chatTypeChoseAccurate">
  50. <p>More</p>
  51. <h3>Precise</h3>
  52. </div>
  53. </div>
  54. <div id="chat">
  55. <div class="bing">
  56. <div class="adaptiveCardsFatherDIV">
  57. <div class="textBlock markdown-body">
  58. I am ready to chat
  59. </div>
  60. <div class="throttling">
  61. 0 / 0
  62. </div>
  63. </div>
  64. </div>
  65. </div>
  66. <div id="body-bottom"></div>
  67. </div>
  68. <script src="https://cdnjs.cloudflare.com/ajax/libs/marked/4.3.0/marked.min.js"></script>
  69. <script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.4/katex.min.js"></script>
  70. <script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.4/contrib/auto-render.min.js"></script>
  71. <script>
  72. async function getMagicUrl() {
  73. let v = localStorage.GoGoUrl;
  74. if(v && v.startsWith("http")) return v;
  75. return "https://mybing.xn--xyza.top/";
  76. }
  77. function getStartProposes(){return ["","",""];}
  78. function getStartMessage(){return "";}
  79. </script>
  80. <script type="text/javascript" src="./js/GetSet.js"></script>
  81. <script type="text/javascript" src="./js/optionsSets.js"></script>
  82. <script type="text/javascript" src="./js/bingChatHub.js"></script>
  83. <script type="text/javascript" src="./js/parserReturn.js"></script>
  84. <script type="text/javascript" src="./js/bing.js"></script>
  85. </body>
  86. </html>