CINXE.COM
Privacy policy
<!DOCTYPE html> <html lang="en"> <head><link rel="stylesheet" href="https://www.greenergy.com/userfiles/modules/microweber/default.css" id="mw-system-default-css" type="text/css" /> <link rel="shortcut icon" href="https://www.greenergy.com/userfiles/media/greenergy/favicon_1.png" /> <meta name="generator" content="Microweber" /> <script src="https://www.greenergy.com/apijs_combined?mwv=2.0.14" id="mw-js-core-scripts"></script> <script src="https://www.greenergy.com/userfiles/cache/livewire/2.0.14/livewire/livewire.js" data-turbo-eval="false" data-turbolinks-eval="false" ></script><script data-turbo-eval="false" data-turbolinks-eval="false" >window.livewire = new Livewire();window.Livewire = window.livewire;window.livewire_app_url = 'https://www.greenergy.com';window.livewire_token = 'q7IvsVYy3haVhFNMsdGd3GT2EVmAlQQLgVTiX4eh';window.deferLoadingAlpine = function (callback) {window.addEventListener('livewire:load', function () {callback();});};let started = false;window.addEventListener('alpine:initializing', function () {if (! started) {window.livewire.start();started = true;}});document.addEventListener("DOMContentLoaded", function () {if (! started) {window.livewire.start();started = true;}});</script> <style >[wire\:loading], [wire\:loading\.delay], [wire\:loading\.inline-block], [wire\:loading\.inline], [wire\:loading\.block], [wire\:loading\.flex], [wire\:loading\.table], [wire\:loading\.grid], [wire\:loading\.inline-flex] {display: none;}[wire\:loading\.delay\.shortest], [wire\:loading\.delay\.shorter], [wire\:loading\.delay\.short], [wire\:loading\.delay\.long], [wire\:loading\.delay\.longer], [wire\:loading\.delay\.longest] {display:none;}[wire\:offline] {display: none;}[wire\:dirty]:not(textarea):not(input):not(select) {display: none;}input:-webkit-autofill, select:-webkit-autofill, textarea:-webkit-autofill {animation-duration: 50000s;animation-name: livewireautofill;}@keyframes livewireautofill { from {} }</style> <link rel="preload" as="style" href="https://www.greenergy.com/userfiles/css/greenergy/live_edit.css?version=1723112063" crossorigin="anonymous" referrerpolicy="no-referrer" type="text/css" /> <script id="template-animations-data">mw.__pageAnimations = []</script> <meta name="google-site-verification" content="vXvd8EHYnzas8pfBU89MeDf5OXR0e5D-SPJFBfTFvVg"> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>Privacy policy</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="keywords" content="Greenergy, oil, biodiesel, fuel supply, petrol, diesel, gasoline, ultra low sulphur diesel, ulsg, thames, oilport, navigator, flexigrid, haulage, ESSO, forecourts, fuel terminals, B20, HVO, high biodiesel blends, B100, biofuels, biodiesel production, biodiesel manufacturer, renewables, waste-derived biodiesel, UCO, used cooking oil, waste-based biodiesel, renewable fuel, next gen renewables, bio blends"> <meta name="description" content="Driving transport decarbonisation. Producing and distributing renewable fuels from waste."> <script type="text/javascript"> mw.require("https://www.greenergy.com/userfiles/modules/microweber/css/ui.css"); mw.lib.require("bootstrap3"); $(document).ready(function () { document.querySelectorAll("a[contenteditable]").forEach(function(el){ el.removeAttribute("contenteditable"); }); document.querySelectorAll("li[contenteditable]").forEach(function(el){ el.removeAttribute("contenteditable"); }); document.querySelectorAll("#faq-accordion div[contenteditable]").forEach(function(el){ el.removeAttribute("contenteditable"); }); $("form.mw-search-autocomplete").submit(function (e) { if($(".mw-ui-field",this).val() == ""){ e.preventDefault(); } }); }); </script> <link rel="preconnect" href="https://cdn.fonts.net"> <link href="https://cdn.fonts.net/kit/8d7047b6-d8db-41f5-a1b1-21e31d51d1b3/8d7047b6-d8db-41f5-a1b1-21e31d51d1b3.css" rel="stylesheet"> <!--<link rel="stylesheet" type="text/css" href="https://cloud.typography.com/7481354/710706/css/fonts.css" />--> <link rel="stylesheet" href="https://www.greenergy.com/userfiles/templates/greenergy/css/timeline.css" type="text/css" media="all"> <link rel="stylesheet" href="https://www.greenergy.com/userfiles/templates/greenergy/css/style.css" type="text/css" media="all"> <link rel="stylesheet" href="https://www.greenergy.com/userfiles/templates/greenergy/css/custom.css" type="text/css" media="all"> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-ZHPQ40JJPG"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-ZHPQ40JJPG'); </script> </head> <body class="privacy-policy"> <header> <div class="container"> <div class="row"> <div class="col-md-2 col-xs-12"> <div class="hidden-lg hidden-md navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#header-menu"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> </div> <a class="logo" href="https://www.greenergy.com/"><img width="200" src="https://www.greenergy.com/userfiles/templates/greenergy/images/logo.png" style="height: auto;"></a> <div class="search-button mobilesearch hidden-lg hidden-sm hidden-md"> <form class="mw-search-autocomplete" action="search" method="post"> <div class="mw-search-autocomplete-field-holder"><input class="mw-ui-field" type="text" name="search" placeholder="Search"></div> </form> <span class="search-btn"></span> </div> <div class="tabletsearch hidden-lg hidden-xs hidden-md"> <form class="search-button mw-search-autocomplete" action="search" method="post"> <div class="mw-search-autocomplete-field-holder"><input class="mw-ui-field" type="text" name="search" placeholder="Search"></div> </form> </div> </div> <div class="col-md-10 col-xs-12"> <div class="hidden-sm hidden-xs navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#header-menu"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> </div> <div class="hidden-sm hidden-xs"> <form class="search-button mw-search-autocomplete" action="search" method="post"> <div class="mw-search-autocomplete-field-holder"><input class="mw-ui-field" type="text" name="search" placeholder="Search"></div> </form> </div> <div class="mainmenu" style="clear:both;"> <div class="collapse navbar-collapse" id="header-menu"><div class=' module module-menu ' data-mw-title="Menu" name="header_menu" id="main-navigation" data-type="menu" parent-module="menu" parent-module-id="main-navigation" > <script>mw.moduleCSS("https://www.greenergy.com/userfiles/modules/menu/style.css", true);</script> <div class="module-navigation module-navigation-default"> <ul role="menu" id="" class="nav menu_1 first-child child-0 menu-item-id-6 menu-item-parent-1" ><li role="menuitem" class="menu_element depth-0" data-item-id="6" ><a itemprop="url" data-item-id="6" class="menu_element_link first-child child-0 menu-item-id-6 menu-item-parent-1 depth-0 " href="https://www.greenergy.com/">Home</a></li><li role="menuitem" class="menu_element have-submenu depth-0" data-item-id="23" ><a itemprop="url" data-item-id="23" class="menu_element_link first-child child-0 menu-item-id-23 menu-item-parent-1 depth-0 have-submenu-link " href="javascript:void(0)">About us</a><ul role="menu" class="nav menu_23 first-child child-0 menu-item-id-191 menu-item-parent-23" ><li role="menuitem" class="menu_element depth-1" data-item-id="191" ><a itemprop="url" data-item-id="191" class="menu_element_link first-child child-0 menu-item-id-191 menu-item-parent-23 depth-1 " href="business-overview">Business overview</a></li><li role="menuitem" class="menu_element depth-1" data-item-id="27" ><a itemprop="url" data-item-id="27" class="menu_element_link first-child child-0 menu-item-id-27 menu-item-parent-23 depth-1 " href="https://www.greenergy.com/mission-values">Mission and values</a></li><li role="menuitem" class="menu_element depth-1" data-item-id="97" ><a itemprop="url" data-item-id="97" class="menu_element_link first-child child-0 menu-item-id-97 menu-item-parent-23 depth-1 " href="https://www.greenergy.com/directors">Directors</a></li><li role="menuitem" class="menu_element depth-1" data-item-id="158" ><a itemprop="url" data-item-id="158" class="menu_element_link first-child child-0 menu-item-id-158 menu-item-parent-23 depth-1 " href="reports">Reports</a></li><li role="menuitem" class="menu_element depth-1" data-item-id="165" ><a itemprop="url" data-item-id="165" class="menu_element_link first-child child-0 menu-item-id-165 menu-item-parent-23 depth-1 " href="our-history">Our history</a></li></ul></li><li role="menuitem" class="menu_element have-submenu depth-0" data-item-id="49" ><a itemprop="url" data-item-id="49" class="menu_element_link child-1 menu-item-id-49 menu-item-parent-1 depth-0 have-submenu-link " href="javascript:void(0)">Renewables</a><ul role="menu" class="nav menu_49 first-child child-0 menu-item-id-152 menu-item-parent-49" ><li role="menuitem" class="menu_element depth-1" data-item-id="152" ><a itemprop="url" data-item-id="152" class="menu_element_link first-child child-0 menu-item-id-152 menu-item-parent-49 depth-1 " href="biofuels">Biofuels</a></li><li role="menuitem" class="menu_element depth-1" data-item-id="181" ><a itemprop="url" data-item-id="181" class="menu_element_link first-child child-0 menu-item-id-181 menu-item-parent-49 depth-1 " href="biofuels-sustainability">Biofuels sustainability</a></li></ul></li><li role="menuitem" class="menu_element have-submenu depth-0" data-item-id="30" ><a itemprop="url" data-item-id="30" class="menu_element_link child-2 menu-item-id-30 menu-item-parent-1 depth-0 have-submenu-link " href="javascript:void(0)">Fuel supply</a><ul role="menu" class="nav menu_30 first-child child-0 menu-item-id-166 menu-item-parent-30" ><li role="menuitem" class="menu_element have-submenu depth-1" data-item-id="166" ><a itemprop="url" data-item-id="166" class="menu_element_link first-child child-0 menu-item-id-166 menu-item-parent-30 depth-1 have-submenu-link " href="uk">UK</a><ul role="menu" class="nav menu_166 first-child child-0 menu-item-id-194 menu-item-parent-166" ><li role="menuitem" class="menu_element depth-2" data-item-id="194" ><a itemprop="url" data-item-id="194" class="menu_element_link first-child child-0 menu-item-id-194 menu-item-parent-166 depth-2 " href="highbio">High bio blends</a></li><li role="menuitem" class="menu_element depth-2" data-item-id="167" ><a itemprop="url" data-item-id="167" class="menu_element_link first-child child-0 menu-item-id-167 menu-item-parent-166 depth-2 " href="infrastructure">Infrastructure</a></li><li role="menuitem" class="menu_element depth-2" data-item-id="168" ><a itemprop="url" data-item-id="168" class="menu_element_link first-child child-0 menu-item-id-168 menu-item-parent-166 depth-2 " href="haulage">Haulage</a></li><li role="menuitem" class="menu_element depth-2" data-item-id="169" ><a itemprop="url" data-item-id="169" class="menu_element_link first-child child-0 menu-item-id-169 menu-item-parent-166 depth-2 " href="independent-retailers">Independent retailers</a></li><li role="menuitem" class="menu_element depth-2" data-item-id="170" ><a itemprop="url" data-item-id="170" class="menu_element_link first-child child-0 menu-item-id-170 menu-item-parent-166 depth-2 " href="service-quality-uk-kpis">Service quality KPIs</a></li><li role="menuitem" class="menu_element depth-2" data-item-id="171" ><a itemprop="url" data-item-id="171" class="menu_element_link first-child child-0 menu-item-id-171 menu-item-parent-166 depth-2 " href="technical-product-information">Technical product information</a></li></ul></li><li role="menuitem" class="menu_element have-submenu depth-1" data-item-id="174" ><a itemprop="url" data-item-id="174" class="menu_element_link child-1 menu-item-id-174 menu-item-parent-30 depth-1 have-submenu-link " href="canada">Canada</a><ul role="menu" class="nav menu_174 first-child child-0 menu-item-id-175 menu-item-parent-174" ><li role="menuitem" class="menu_element depth-2" data-item-id="175" ><a itemprop="url" data-item-id="175" class="menu_element_link first-child child-0 menu-item-id-175 menu-item-parent-174 depth-2 " href="supply-infrastructure">Supply infrastructure</a></li><li role="menuitem" class="menu_element depth-2" data-item-id="176" ><a itemprop="url" data-item-id="176" class="menu_element_link first-child child-0 menu-item-id-176 menu-item-parent-174 depth-2 " href="independent-retailers-canada">Independent retailers</a></li><li role="menuitem" class="menu_element depth-2" data-item-id="177" ><a itemprop="url" data-item-id="177" class="menu_element_link first-child child-0 menu-item-id-177 menu-item-parent-174 depth-2 " href="commercial">Commercial</a></li><li role="menuitem" class="menu_element depth-2" data-item-id="178" ><a itemprop="url" data-item-id="178" class="menu_element_link first-child child-0 menu-item-id-178 menu-item-parent-174 depth-2 " href="biodiesel-canada">Biodiesel</a></li><li role="menuitem" class="menu_element depth-2" data-item-id="179" ><a itemprop="url" data-item-id="179" class="menu_element_link first-child child-0 menu-item-id-179 menu-item-parent-174 depth-2 " href="service-quality-canada-kpis">Service quality KPIs</a></li><li role="menuitem" class="menu_element depth-2" data-item-id="180" ><a itemprop="url" data-item-id="180" class="menu_element_link first-child child-0 menu-item-id-180 menu-item-parent-174 depth-2 " href="technical-product-information-canada">Technical product information</a></li></ul></li><li role="menuitem" class="menu_element depth-1" data-item-id="173" ><a itemprop="url" data-item-id="173" class="menu_element_link child-2 menu-item-id-173 menu-item-parent-30 depth-1 " href="ireland">Ireland</a></li><li role="menuitem" class="menu_element depth-1" data-item-id="192" ><a itemprop="url" data-item-id="192" class="menu_element_link child-2 menu-item-id-192 menu-item-parent-30 depth-1 " href="product-quality">Product quality</a></li></ul></li><li role="menuitem" class="menu_element depth-0" data-item-id="91" ><a itemprop="url" data-item-id="91" class="menu_element_link child-3 menu-item-id-91 menu-item-parent-1 depth-0 " href="https://www.greenergy.com/safety">Safety</a></li><li role="menuitem" class="menu_element depth-0" data-item-id="102" ><a itemprop="url" data-item-id="102" class="menu_element_link child-3 menu-item-id-102 menu-item-parent-1 depth-0 " href="environment">Environment</a></li><li role="menuitem" class="menu_element have-submenu depth-0" data-item-id="80" ><a itemprop="url" data-item-id="80" class="menu_element_link child-3 menu-item-id-80 menu-item-parent-1 depth-0 have-submenu-link " href="javascript:void(0)">News</a><ul role="menu" class="nav menu_80 first-child child-0 menu-item-id-190 menu-item-parent-80" ><li role="menuitem" class="menu_element depth-1" data-item-id="190" ><a itemprop="url" data-item-id="190" class="menu_element_link first-child child-0 menu-item-id-190 menu-item-parent-80 depth-1 " href="/press-releases">Press releases</a></li><li role="menuitem" class="menu_element depth-1" data-item-id="78" ><a itemprop="url" data-item-id="78" class="menu_element_link first-child child-0 menu-item-id-78 menu-item-parent-80 depth-1 " href="https://www.greenergy.com/video-collection">Video collection</a></li><li role="menuitem" class="menu_element depth-1" data-item-id="79" ><a itemprop="url" data-item-id="79" class="menu_element_link first-child child-0 menu-item-id-79 menu-item-parent-80 depth-1 " href="https://www.greenergy.com/media-F-A-Q">Media FAQs</a></li></ul></li><li role="menuitem" class="menu_element depth-0" data-item-id="65" ><a itemprop="url" data-item-id="65" class="menu_element_link child-4 menu-item-id-65 menu-item-parent-1 depth-0 " href="https://www.greenergy.com/contact">Contact</a></li><li role="menuitem" class="menu_element depth-0" data-item-id="67" ><a itemprop="url" data-item-id="67" class="menu_element_link child-4 menu-item-id-67 menu-item-parent-1 depth-0 " href="https://www.greenergy.com/careers">Careers</a></li></ul></div> </div></div> </div> </div> </div> </div> </header> <div class="main edit" rel="content" field="liteness_content"> <div class='module module module-layouts ' data-mw-title="Layouts" id="module-layouts-145" template="slider" data-type="layouts" parent-module="layouts" parent-module-id="module-layouts-145" ><script>mw.moduleCSS("https://www.greenergy.com/userfiles/modules/layouts/styles.css"); </script> <div class="nodrop safe-mode p-b-35 edit" field="layout-slider-module-layouts-145" rel="module"> <div class=' module module-pictures ' id='module-layouts-145-pictures' data-mw-title="Picture Gallery" content-id="145" template="carousel" parent-module-id="module-layouts-145" parent-module="layouts" data-type="pictures" > <div class="mw-module-images test" > <div id="carousel_module-layouts-145-pictures" class="home-carousel carousel slide carousel-count-1" data-ride="carousel"> <ol class="carousel-indicators hide"> <li data-target="#carousel_module-layouts-145-pictures" data-slide-to="0" class="active"></li> </ol> <!-- Carousel items --> <div class="carousel-inner"> <div class="active item" > <img src="https://www.greenergy.com/userfiles/cache/thumbnails/1900/tn-policies-1680x425-2-4045379968.jpg"/> <div class="container container-absolute"> <div class="carousel-caption"> <div class="carousel-wrap"> <h2 class="blue-clr">Privacy Policy</h2> <p class="blue-clr" ></p> </div> </div> </div> </div> </div> <!-- Carousel nav <a class="carousel-control left" href="#" data-slide="prev"><span class="glyphicon glyphicon-chevron-left"></span></a> <a class="carousel-control right" href="#" data-slide="next"><span class="glyphicon glyphicon-chevron-right"></span></a>--> </div> </div> </div> </div></div> <div class='module module module-layouts ' data-mw-title="Layouts" id="module-layouts-145--1" template="clean" data-type="layouts" parent-module="layouts" parent-module-id="module-layouts-145--1" ><script>mw.moduleCSS("https://www.greenergy.com/userfiles/modules/layouts/styles.css"); </script> <div class="nodrop clean-container edit" field="layout-clean-module-layouts-145--1" rel="module"> <div class="container"> <div class="allow-drop element" id="element_1570701816894"> <div class="row p-tb-35 element" id="element_1665152932107"> <div class="col-sm-12 element" id="element_1658214684652"> <div class="mw-col-container element"> <div class="element" id="element_1570701816885"> <div class='module module module-embed ' data-mw-title="Embed Code" data-type="embed" id="embed-20191010100416" parent-module-id="module-layouts-145--1" parent-module="layouts" ><div class='mwembed'><div class="row"> <div class="col-sm-12 p-tb-35"> <h4>Policies</h4> </div> </div> <div class="row"> <div class="col-sm-4"> <div class="padded zircon-bg" > <p class="fs-20"><a href="/userfiles/media/greenergy/policies/greenergy_privacy-and-cookies-policy.pdf" class="green-clr" target="blank">Privacy and cookie policy<br> (PDF 103 KB)</a></p><br> </div> </div> <div class="col-sm-4"> <div class="padded zircon-bg"> <p class="fs-20"><a href="/userfiles/media/greenergy/policies/greenergy_privacy_statement_2020_1.pdf" class="green-clr" target="blank">Greenergy Privacy Statement 2020<br> (PDF 223 KB)</a></p><br> </div> </div> <div class="col-sm-4"> <div class="padded zircon-bg"> <p class="fs-20"><a href="/userfiles/media/greenergy/policies/privacy_statement_for_customers_and_suppliers_2020_1.pdf" class="green-clr" target="blank">Privacy Statement for Customers and Suppliers 2020<br> (PDF 196 KB)</a></p> </div> </div></div></div> </div> </div> </div> </div> </div> </div> </div></div> </div> <footer> <div class="container"> <div class="row"> <div class="col-sm-6"> <a href="https://www.greenergy.com/"><img width="200" src="https://www.greenergy.com/userfiles/templates/greenergy/images/logo-white.png" style="height: auto;"></a> </div> <div class="col-sm-6 text-right"> <div class="social-icons"> <a href="https://www.youtube.com/channel/UCys1NDH6TL38Eabw_X_hulQ" target="_blank"><i class="fa fa-youtube-play" aria-hidden="true"></i></a> <a href="https://www.linkedin.com/company/greenergy_2" target="_blank"><i class="fa fa-linkedin-square" aria-hidden="true"></i></a> </div> </div> </div> <div class="row"> <div class="col-sm-12"> <div class="edit footer-menu" field="footer-menu" rel="global"> <div class=' module module-menu ' data-mw-title="Menu" id="module-menu-154" name="footer_menu" data-type="menu" parent-module="menu" parent-module-id="module-menu-154" > <script>mw.moduleCSS("https://www.greenergy.com/userfiles/modules/menu/style.css", true);</script> <div class="module-navigation module-navigation-default"> <ul role="menu" id="" class="nav menu_2 menu-root menu-item-id-18 menu-item-parent-2" ><li role="menuitem" class="menu_element depth-0" data-item-id="18" ><a itemprop="url" data-item-id="18" class="menu_element_link menu-root menu-item-id-18 menu-item-parent-2 depth-0 " href="https://www.greenergy.com/">Home</a></li><li role="menuitem" class="menu_element depth-0" data-item-id="66" ><a itemprop="url" data-item-id="66" class="menu_element_link first-child child-0 menu-item-id-66 menu-item-parent-2 depth-0 " href="https://www.greenergy.com/contact">Contact</a></li><li role="menuitem" class="menu_element depth-0" data-item-id="68" ><a itemprop="url" data-item-id="68" class="menu_element_link first-child child-0 menu-item-id-68 menu-item-parent-2 depth-0 " href="https://www.greenergy.com/careers">Careers</a></li><li role="menuitem" class="menu_element depth-0" data-item-id="195" ><a itemprop="url" data-item-id="195" class="menu_element_link first-child child-0 menu-item-id-195 menu-item-parent-2 depth-0 " href="https://www.greenergy.com/modern-slavery-statement">Modern slavery statement</a></li><li role="menuitem" class="menu_element active depth-0" data-item-id="111" ><a itemprop="url" data-item-id="111" class="menu_element_link active first-child child-0 menu-item-id-111 menu-item-parent-2 depth-0 " href="https://www.greenergy.com/privacy-policy">Privacy policy</a></li><li role="menuitem" class="menu_element depth-0" data-item-id="109" ><a itemprop="url" data-item-id="109" class="menu_element_link first-child child-0 menu-item-id-109 menu-item-parent-2 depth-0 " href="https://www.greenergy.com/policies">Policies</a></li></ul></div> </div> </div> </div> <div class="col-sm-12 text-left"> <p class="element">Registered address: Greenergy International Ltd, 198 High Holborn, London WC1V 7BD<!--Reg No. 2809935--><br> Registration number: 2809935 England & Wales <!--<a href="https://www.cyb.co.uk/" target="_blank" class="copyrigts">Website by Cyber</a> --></p> </div> </div> </div> </footer> <!-- cd-timeline --> <script src="https://www.greenergy.com/userfiles/templates/greenergy/js/main.js"></script> <div wire:id="Rxi9XLmAuHKcbzQ1ZMCz" wire:initial-data="{"fingerprint":{"id":"Rxi9XLmAuHKcbzQ1ZMCz","name":"livewire-ui-modal","locale":"en_US","path":"privacy-policy","method":"GET","v":"acj"},"effects":{"listeners":["openModal","destroyComponent"]},"serverMemo":{"children":[],"errors":[],"htmlHash":"41a5a0a6","data":{"activeComponent":null,"components":[]},"dataMeta":[],"checksum":"20862c7bb09c896512f21a89366ecbd90527c59102b35196674b05f6b20f42c1"}}"> <script> Livewire.on('closeMwTopDialogIframe', () => { let dialog = mw.top().dialog.get('#mw-livewire-component-iframe'); if (dialog) { dialog.remove(); } }); Livewire.on('openMwTopDialogIframe', (componentName, jsonParams) => { let params = []; if (jsonParams) { jsonParams.componentName = componentName; params = new URLSearchParams(jsonParams).toString(); } let mwNativeModal = mw.top().dialogIframe({ url: "https://www.greenergy.com/admin-livewire-components/render-component?" + params, width: 900, height: 900, id: 'mw-livewire-component-iframe', skin: 'square_clean', center: false, resize: true, overlayClose: true, draggable: true }); mwNativeModal.dialogHeader.style.display = 'none'; }); // simple modal Livewire.on('closeModal', (force = false, skipPreviousModals = 0, destroySkipped = false) => { let openedModals = document.querySelectorAll('.js-modal-livewire'); for (let i = 0; i < openedModals.length; i++) { let openedModalId = openedModals[i].getAttribute('wire:key'); let modal = document.getElementById("js-modal-livewire-id-" + openedModalId); if(modal) { modal.style.display = "none"; Livewire.emit('destroyComponent', openedModalId); } } }); Livewire.on('activeModalComponentChanged', (data) => { let modal = document.getElementById("js-modal-livewire-id-" + data.id); modal.style.display = "block"; if (data.modalSettings) { modal.querySelector('.js-modal-livewire-content').style.width = data.modalSettings.width; } }); </script> <style> .js-modal-livewire { display: none; position: fixed; z-index: 1100; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgb(0,0,0); background-color: rgba(0,0,0,0.4); } .js-modal-livewire-content { margin: auto; background-color: #fff; width: 100%; overflow: auto; } @media only screen and (min-width: 600px) { .js-modal-livewire { padding-top: 100px; } .js-modal-livewire-content { max-width: 480px; max-height: calc(100vh - 100px); } } @media only screen and (min-width: 768px) { .js-modal-livewire { padding-top: 8%; } .js-modal-livewire-content { max-height: calc(100vh - 100px); overflow: auto; } } </style> <div> </div> </div> <!-- Livewire Component wire-end:Rxi9XLmAuHKcbzQ1ZMCz --> <link rel="stylesheet" href="https://www.greenergy.com/userfiles/css/greenergy/live_edit.css?version=1723112063" id="mw-template-settings" crossorigin="anonymous" referrerpolicy="no-referrer" type="text/css" /> <link rel="stylesheet" href="https://www.greenergy.com/api_nosession/template/print_custom_css" id="mw-custom-user-css" type="text/css" crossorigin="anonymous" referrerpolicy="no-referrer" /> <script type="application/ld+json">{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","url":"https:\/\/www.greenergy.com\/privacy-policy","name":"Privacy policy","headline":"Privacy policy","author":"info","image":"https:\/\/www.greenergy.com\/userfiles\/media\/greenergy\/policies-1680x425_2.jpg","brand":{"@type":"Organization","name":"www.greenergy.com"}}]}</script> <script async>$(document).ready(function () { setTimeout(function () { $.ajax({ url: mw.settings.api_url+'pingstats', type: "POST", dataType: "json" }); }, 3337); });</script></body></html>