-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbryan_skipprechat.html
More file actions
executable file
·35 lines (31 loc) · 1.58 KB
/
bryan_skipprechat.html
File metadata and controls
executable file
·35 lines (31 loc) · 1.58 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
25
26
27
28
29
30
31
32
33
34
35
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=0">
</head>
<script src="https://service.force.com/lightning/lightning.out.js"></script>
<script src="something"></script>
<body>
This is a page.
<div id="button_goes_here"></div>
</body>
<script>
var initESW = function(gslbBaseUrl) {
embedded_svc.settings.initialInteractionState = 'WAITING';
embedded_svc.settings.avatarImgURL = '../avatar.png';
embedded_svc.settings.prechatBackgroundImgURL = '../Prechat_image.png';
embedded_svc.settings.waitingStateBackgroundImgURL = '../waitingStateImage.png';
embedded_svc.settings.smallCompanyLogoImgURL = '../smallCompanyLogoImg.png';
embedded_svc.init('http://b-chu-ltm.internal.salesforce.com:6109', 'http://b-chu-ltm.internal.salesforce.com:8096/chat', 'http://fitbit-1508677ca09-152612ecdc0.localhost.internal.salesforce.com:8095/content', 'http://fitbit-1475b6fa058-14df87572-152612ecdc0.localhost.force.com:6109/help',
'572xx0000000006', '00Dxx0000001gLD', '573xx0000000006', '204.0', gslbBaseUrl);
}
if (!window.embedded_svc) {
var s = document.createElement('script');
s.setAttribute('src', 'http://fitbit-1508677ca09-152612ecdc0.localhost.internal.salesforce.com:6109/embeddedservice/204.0/esw.js');
s.onload=function(){ initESW(null) };
document.body.appendChild(s);
} else {
initESW('https://service.force.com');
}
</script>
</html>