1//Dynamiczna zmiana wysokoÅci iframe'ów formularzy. 2window.addEventListener('message', e => { 3 document.querySelectorAll('iframe.oi-form').forEach(form => { 4 if (e.data.form == form.dataset.formid) { 5 form.width = e.data.params.width; 6 form.height = e.data.params.height; 7 } 8 }); 9}); 10 11 12window.addEventListener("DOMContentLoaded", () => { 13 document.querySelector('iframe.oi-form').addEventListener("load", function (event) { 14 document.querySelector('.iframe-loading').remove(); 15 }); 16 17 const formId = document.querySelector('[name=quform_form_id]').value; 18 19 /** REWRITE URL QUERY TO FIELD **/ 20 document.querySelector(`[name=quform_${formId}_25`).value = window.location.search; 21 22 window.history.replaceState({}, document.title, location.origin + location.pathname + location.hash); 23 24 /** FIX FOR ISOK BUG **/ 25 var email_ref = document.querySelector(`[name=quform_${formId}_12`); 26 var email = document.querySelector(`[name=quform_${formId}_21`); 27 28 email_ref.value = email_ref.value.replace(' ', '+'); 29 email.value = email.value.replace(' ', '+'); 30});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.