-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflutterflowpaper.html
More file actions
29 lines (29 loc) · 1.31 KB
/
flutterflowpaper.html
File metadata and controls
29 lines (29 loc) · 1.31 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
<body>
<div class=“flutterflowpaper-widget-container">
<div class="flutterflowpaper-widget-container__widget"></div>
<div class="flutterflowpaper-widget-copyright" id="view"></div>
</div>
<script type="text/javascript">
function getParameterByName(name, url = window.location.href) {
name = name.replace(/[\[\]]/g, '\\$&');
var regex = new RegExp('[?&]' + name + '(=([^&#]*)|&|#|$)'),
results = regex.exec(url);
if (!results) return null;
if (!results[2]) return '';
return decodeURIComponent(results[2].replace(/\+/g, ' '));
}
const container = document.getElementById("view")
const symbol = getParameterByName('pair')
document.addEventListener('DOMContentLoaded', function () {
var iframe = document.createElement('iframe')
iframe.setAttribute(
'src',
`https://8b02088b-trial.flowpaper.com/OWxChromebookTimeforanswersTreatmentDomMeehan/`,
);
iframe.setAttribute('frameborder', 0)
iframe.setAttribute('style', 'box-sizing: border-box; height: 100%; width: 100%;')
container.appendChild(iframe)
});
</script>
</div>
</body>