forked from ESW1234/esw1234.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathesw_blitz_206.html
More file actions
24 lines (20 loc) · 1.6 KB
/
esw_blitz_206.html
File metadata and controls
24 lines (20 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<html>
<body>
kanan-wsm-main-204
<a href="http://esw1234.github.io/kanan_204_main.html">Page 1 </a>
<div id="button_goes_here"> </div>
<script type='text/javascript' src='https://service.force.com/lightning/lightning.out.js'></script>
<script type='text/javascript' src='https://service.force.com/embeddedservice/1.0/esw.min.js'></script>
<script type='text/javascript'>
var initESW = function(gslbBaseUrl) {
embedded_svc.settings.avatarImgURL = '';
embedded_svc.settings.prechatBackgroundImgURL = '';
embedded_svc.settings.waitingStateBackgroundImgURL = '';
embedded_svc.settings.smallCompanyLogoImgURL = '';
embedded_svc.settings.displayHelpButton = true; //Or false
//embedded_svc.settings.onlineText = '...'; (defaults to Chat with an Expert, localized)
//embedded_svc.settings.offlineText = '...'; (defaults to Agent Offline, localized)
//embedded_svc.settings.onlineLoadingText = '...'; (defaults to Loading, localized)
embedded_svc.init('https://na1-blitz02.soma.salesforce.com', 'https://d.la-blitz02.soma.salesforce.com/chat', 'https://c.la-blitz02.soma.salesforce.com/content', 'https://snapins-1582bb64c2f.blitz02.soma.force.com', '572D00000004D18', '00DD00000008Vqk', '573D00000004DE5', '1.0', gslbBaseUrl, '39.0', 'Kanan_Test', 'EmbeddedServiceLiveAgent_Parent04ID0000000005QMAQ_1586b337703'); }; if (!window.embedded_svc) { var s = document.createElement('script'); s.setAttribute('src', 'https://na1-blitz02.soma.salesforce.com/embeddedservice/1.0/esw.min.js'); s.onload = function() { initESW(null); }; document.body.appendChild(s);} else { initESW('https://na1-blitz02.soma.salesforce.com'); }</script>
</body>
</html>