Site assistant widget: plain divs instead of header/section (a site stylesheet that styles every header pushed the panel title down on Downline Banners), chat.js cache tag bumped; the shared chatbot test runs without a config.js or data volume (Stack POL)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@
|
||||
<div id="status" class="note" hidden></div>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=7"></script>
|
||||
<script src="/assets/chat.js?v=1" defer></script>
|
||||
<script src="/assets/chat.js?v=2" defer></script>
|
||||
<script src="/assets/admin.js?v=6"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -5,20 +5,20 @@
|
||||
(function () {
|
||||
if (window.__siteChat || /^\/admin/.test(location.pathname)) return;
|
||||
window.__siteChat = 1;
|
||||
var css = document.createElement('link'); css.rel = 'stylesheet'; css.href = '/assets/chat.css?v=20261115c'; document.head.appendChild(css);
|
||||
var css = document.createElement('link'); css.rel = 'stylesheet'; css.href = '/assets/chat.css?v=20261115d'; document.head.appendChild(css);
|
||||
var NAME = 'this site', TOPICS = [];
|
||||
var root = document.createElement('div'); root.id = 'scChat';
|
||||
root.innerHTML = '<button id="scBtn" type="button" aria-label="Ask a question" aria-expanded="false">'
|
||||
+ '<svg viewBox="0 0 24 24" width="26" height="26" aria-hidden="true"><path fill="currentColor" d="M4 4h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H9l-5 4v-4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2zm3 6.5a1.5 1.5 0 1 0 0 .01zm5 0a1.5 1.5 0 1 0 0 .01zm5 0a1.5 1.5 0 1 0 0 .01z"/></svg></button>'
|
||||
+ '<section id="scPanel" role="dialog" aria-label="Questions" hidden>'
|
||||
+ '<header class="sc-head"><div><b class="sc-title" id="scTitle">Ask a question</b><span class="sc-sub">Straight answers about this site and the network</span></div>'
|
||||
+ '<button id="scClose" type="button" aria-label="Close">×</button></header>'
|
||||
+ '<div id="scPanel" role="dialog" aria-label="Questions" hidden>'
|
||||
+ '<div class="sc-head"><div><b class="sc-title" id="scTitle">Ask a question</b><span class="sc-sub">Straight answers about this site and the network</span></div>'
|
||||
+ '<button id="scClose" type="button" aria-label="Close">×</button></div>'
|
||||
+ '<div class="sc-msgs" id="scMsgs" aria-live="polite"></div>'
|
||||
+ '<div class="sc-topics" id="scTopics"></div>'
|
||||
+ '<form class="sc-input" id="scForm"><input id="scIn" autocomplete="off" maxlength="600" placeholder="Type your question" aria-label="Your question">'
|
||||
+ '<button type="submit" id="scSend">Send</button></form>'
|
||||
+ '<a class="sc-human" id="scHuman" href="https://instantadpay.com/support" target="_blank" rel="noopener">Need a person? Open network support</a>'
|
||||
+ '</section>';
|
||||
+ '</div>';
|
||||
document.body.appendChild(root);
|
||||
var $ = function (id) { return document.getElementById(id); };
|
||||
var msgs = $('scMsgs'), input = $('scIn'), panel = $('scPanel'), btn = $('scBtn');
|
||||
|
||||
+1
-1
@@ -68,7 +68,7 @@
|
||||
<div id="status" class="note" hidden></div>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=7"></script>
|
||||
<script src="/assets/chat.js?v=1" defer></script>
|
||||
<script src="/assets/chat.js?v=2" defer></script>
|
||||
<script src="/assets/wallet.js?v=6"></script>
|
||||
<script src="/assets/buy.js?v=6"></script>
|
||||
<script src="/assets/boost.js?v=6"></script>
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
<div id="status" class="note" hidden></div>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=7"></script>
|
||||
<script src="/assets/chat.js?v=1" defer></script>
|
||||
<script src="/assets/chat.js?v=2" defer></script>
|
||||
<script src="/assets/contract.js?v=6"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
<div class="card"><h2>Who to ask</h2><p>TrustClickz, 615 Green Valley Drive, Moody, AL 35004. <a href="https://instantadpay.com/support" target="_blank" rel="noopener">Network support</a>.</p></div>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=7"></script>
|
||||
<script src="/assets/chat.js?v=1" defer></script>
|
||||
<script src="/assets/chat.js?v=2" defer></script>
|
||||
<script src="/assets/static.js?v=6"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-1
@@ -130,7 +130,7 @@
|
||||
<div id="status" class="note" hidden></div>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=7"></script>
|
||||
<script src="/assets/chat.js?v=1" defer></script>
|
||||
<script src="/assets/chat.js?v=2" defer></script>
|
||||
<script src="/assets/how.js?v=6"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-1
@@ -96,7 +96,7 @@
|
||||
<div id="status" class="note" hidden></div>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=7"></script>
|
||||
<script src="/assets/chat.js?v=1" defer></script>
|
||||
<script src="/assets/chat.js?v=2" defer></script>
|
||||
<script src="/assets/front.js?v=6"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@
|
||||
<div id="status" class="note" hidden></div>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=7"></script>
|
||||
<script src="/assets/chat.js?v=1" defer></script>
|
||||
<script src="/assets/chat.js?v=2" defer></script>
|
||||
<script src="/assets/ledger.js?v=6"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-1
@@ -43,7 +43,7 @@
|
||||
<div id="status" class="note" hidden></div>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=7"></script>
|
||||
<script src="/assets/chat.js?v=1" defer></script>
|
||||
<script src="/assets/chat.js?v=2" defer></script>
|
||||
<script src="/assets/member.js?v=6"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-1
@@ -85,7 +85,7 @@
|
||||
<div id="status" class="note" hidden></div>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=7"></script>
|
||||
<script src="/assets/chat.js?v=1" defer></script>
|
||||
<script src="/assets/chat.js?v=2" defer></script>
|
||||
<script src="/assets/wallet.js?v=6"></script>
|
||||
<script src="/assets/my.js?v=6"></script>
|
||||
</body>
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@
|
||||
<div class="card"><h2>Contact</h2><p>Questions, problems or a request about your data: <a href="https://instantadpay.com/support" target="_blank" rel="noopener">network support</a>, or write to TrustClickz, 615 Green Valley Drive, Moody, AL 35004.</p></div>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=7"></script>
|
||||
<script src="/assets/chat.js?v=1" defer></script>
|
||||
<script src="/assets/chat.js?v=2" defer></script>
|
||||
<script src="/assets/static.js?v=6"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@
|
||||
<div id="kit" style="display:flex;flex-direction:column;gap:16px"><p class="muted">Loading the kit...</p></div>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=7"></script>
|
||||
<script src="/assets/chat.js?v=1" defer></script>
|
||||
<script src="/assets/chat.js?v=2" defer></script>
|
||||
<script src="/assets/kitpage.js?v=6"></script>
|
||||
<script src="/assets/promote.js?v=6"></script>
|
||||
</body>
|
||||
|
||||
+1
-1
@@ -43,7 +43,7 @@
|
||||
<div class="card"><h2>Contact</h2><p>Questions, problems or a request about your data: <a href="https://instantadpay.com/support" target="_blank" rel="noopener">network support</a>, or write to TrustClickz, 615 Green Valley Drive, Moody, AL 35004.</p></div>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=7"></script>
|
||||
<script src="/assets/chat.js?v=1" defer></script>
|
||||
<script src="/assets/chat.js?v=2" defer></script>
|
||||
<script src="/assets/static.js?v=6"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user