(function () {
try {
/* main variables */
var debug = 0;
var variation_name = "";
/* all Pure helper functions */
function waitForElement(selector, trigger, delayInterval, delayTimeout) {
var interval = setInterval(function () {
if (
document &&
document.querySelector(selector) &&
document.querySelectorAll(selector).length > 0
) {
clearInterval(interval);
trigger();
}
}, delayInterval);
setTimeout(function () {
clearInterval(interval);
}, delayTimeout);
}
/* Variation functions */
function init(){
document.querySelector(" div.zoho-free-quote-popup div.intro > p").innerText = "Fill in the form below to receive your free quote".innerText = "Fill in the form below to receive your free quote"
}
/* Initialize variation */
waitForElement("div.zoho-free-quote-popup div.intro", init, 50, 15000);
} catch (e) {
if (debug) console.log(e, "error in Test" + variation_name);
}
})();
{
"files": [
"./variationB/variation.css",
"./variationB/variation.js"
],
"urls": ["https://intrimmouldings.com.au/"],
"inject": ""
}