JesseOntraport Posted January 26, 2021 ID:1434656 Share Posted January 26, 2021 Hello! At Ontraport we allow our customers to build and publish landing pages and forms via our editors. Forms from our system can be imbedded within published pages in a couple of different ways, via script tag or iframe. When the browser guard extension is installed it blocks this content. See this page for an example https://all3formtypes.respond.ontraport.net/ Here is what it looks like when the forms are not blocked The extension is blocking the first 2 forms on the page. Here is the console output. For forms published via iframes we use postMessage to send the form width and height to the parent window so the form content is not cut off. Here is that code <div opt-id="3" class="opt-element opt-custom-html"><iframe style="display:block;position:relative;width:undefined;transition:opacity .25s ease-in-out, width 1s ease-in-out;margin:0;height:200px;opacity:0;" frameborder="0" scrolling="no" id="p2c206673f53" src="https://forms.ontraport.com/v2.4/include/formEditor/genlightbootstrap.php?uid=p2c206673f53&formType=embed&formGUID=OPF_bde3ace1-8356-5b19-352a-23730f1677f0&referer=https%3A%2F%2Fall3formtypes.respond.ontraport.net%2F&formceptionID=formception-033168ab-0408-0367-e338-723b9b481917&__opv=v1&lpid=611.0" class="OPF__embedded-form"></iframe> <script type="text/javascript" async="true" src="https://app.ontraport.com/js/ontraport/opt_assets/drivers/opf.js" data-opf-uid="p2c206673f53" data-opf-params="borderColor=#000000&borderSize=0px&embed=true&formHeight=595&formWidth=100%&popPosition=mc&instance=1545944488" data-_opf-register-guid="OPF_bde3ace1-8356-5b19-352a-23730f1677f0"></script></div> Forms published via script tag look like this <script type="text/javascript" src="https://forms.ontraport.com/v2.4/include/formEditor/genbootstrap.php?method=script&uid=p2c206673f68&version=1"></script> What if anything can we do in order to be in compliance with the browser guard extension? Link to post
Solution gonzo Posted January 26, 2021 Solution ID:1434700 Share Posted January 26, 2021 The site has been whitelisted. Please allow 15-30 minutes for changes to take effect. I will also be sending you a private message momentarily. Link to post
Recommended Posts