www.moresense.tech Open in urlscan Pro
136.144.215.162  Public Scan

Submitted URL: https://moresense.tech/wp-content/plugins/iubenda-cookie-law-solution/assets/js/frontend.js?ver=3.11.0
Effective URL: https://www.moresense.tech/wp-content/plugins/iubenda-cookie-law-solution/assets/js/frontend.js?ver=3.11.0
Submission: On November 29 via api from US — Scanned from CH

Form analysis 0 forms found in the DOM

Text Content

(a=>{a(document).ready(function(){(new function(){var i=this,e=iubFormParams;this.init=function(){0<a(e).length&&a.each(e,function(s,e){0<a(e).length&&a.each(e,function(o,t){switch(s){case"woocommerce":0<(e=a(".woocommerce-checkout")).length&&(formArgs={submitElement:null,form:{selector:document.querySelectorAll("form.woocommerce-checkout")[0],map:t.form.map}},a(e).on("checkout_place_order",function(e){i.submitForm(t,formArgs),_iub.cons.sendData()}));break;case"wp_comment_form":0<(e=a("#commentform")).length&&(c=document.getElementById(e.attr("id")).querySelectorAll("input[type=submit]")[0],formArgs={submitElement:null,form:{selector:document.getElementById(e.attr("id")),map:t.form.map}},a(c).on("click touchstart",function(e){i.submitForm(t,formArgs),_iub.cons.sendData()}));break;case"wpcf7":0<(e=a('div[id^="wpcf7-f'+o+'-"]')).length&&(n=document.getElementById(e.attr("id")).getElementsByClassName("wpcf7-form")[0],a(document).on("wpcf7mailsent",n,function(e){formArgs={submitElement:null,form:{selector:n,map:t.form.map}},n.parentElement.id!=e.target.parentElement.id&&n.parentElement.id!=e.target.id||(i.submitForm(t,formArgs),_iub.cons.sendData(),_iub.cons.sendFromLocalStorage())}));break;case"wpforms":var e,n,m;0<(e=a('div[id^="wpforms-'+o+'"]')).length&&(n=document.getElementById("wpforms-form-"+o),m=a("#wpforms-form-"+o).hasClass("wpforms-ajax-form"),a(document).on("wpformsAjaxSubmitSuccess",n,function(e){formArgs={submitElement:m?null:document.getElementById("wpforms-submit-"+o),form:{selector:n,map:t.form.map}},n.id==e.target.id&&(i.submitForm(t,formArgs),_iub.cons.sendData(),_iub.cons.sendFromLocalStorage())}));break;case"elementor_forms":var r,c=o;0<=o.indexOf("-")&&(r=o.split("-")[0],c=o.split("-")[1]),a('input[name="post_id"][value="'+r+'"]').length&&a(document).on("submit_success",'form.elementor-form:has(input[name="form_id"][value="'+c+'"])',function(e){e={form:{selector:e.target,map:t.form.map}};i.submitForm(t,e),_iub.cons.sendData(),_iub.cons.sendFromLocalStorage()})}})})},this.submitForm=function(e,o){void 0!==e.consent&&0<e.consent.legal_notices.length&&(o.consent={},o.consent.legal_notices=e.consent.legal_notices),console.log(o),_iub.cons_instructions.push(["load",o])}}).init()}),a("#_mc4wp_subscribe_woocommerce").length&&a(window).load(function(){var o=a("#_mc4wp_subscribe_woocommerce");o.on("change",function(e){e.currentTarget.checked?a("input:hidden[name=_mc4wp_subscribe_woocommerce]").remove():o.before('<input type="hidden" name="_mc4wp_subscribe_woocommerce" value="0">')})})})(jQuery);