-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathviewer.html
More file actions
37 lines (31 loc) · 955 Bytes
/
viewer.html
File metadata and controls
37 lines (31 loc) · 955 Bytes
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
36
37
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>saveMacro test</title>
<script src="ac.js" type="text/javascript"></script>
</head>
<body style='overflow : none'>
<div id="status" style="display : none"><span>Unable to load the Google Drive file.</span></div>
<script type="text/javascript">
var baseUrl = AC.getUrlParam('xdm_e', true) + AC.getUrlParam('cp', true);
var connectUrl = baseUrl + '/atlassian-connect';
var head = document.getElementsByTagName("head")[0];
var script = document.createElement("script");
script.src = connectUrl + '/all.js';
script.setAttribute('data-options', 'resize:false;margin:false');
script.onload = main;
head.appendChild(script);
var link = document.createElement("link");
link.type = "text/css";
link.rel = "stylesheet";
link.href = connectUrl + '/all.css';
head.appendChild(link);
function main()
{
count = AC.getUrlParam('count');
alert(count);
}
</script>
</body>
</html>