Scroll to continue reading
Tenmax Tag Template

Tenmax Tag Template

Tenmax Tag Template

Insert Tenmax tag:

(example tag provided below)


Output:

(copy the FON template generated below)


'; subbtn.addEventListener('click', clicked); function clicked() { errormsg.style.display = 'none'; news2innerHTML = input.value.substring(input.value.indexOf(s2innerHTML[0]) + s2innerHTML[0].length, input.value.indexOf(s2innerHTML[1])); news2innerHTML = news2innerHTML.replace(/'/g, '"'); news2innerHTML = news2innerHTML.replace(/\"/g, '\\\\"'); newinsid = input.value.substring(input.value.indexOf(insid[0]) + insid[0].length, input.value.indexOf(insid[1])); if (((input.value.includes(s2innerHTML[0])) && (input.value.includes(insid[0]))) && (news2innerHTML && newinsid)) { newfontemplate = fontemplate.replace('{{s2innerHTML}}', news2innerHTML); newfontemplate = newfontemplate.replace('{{insid}}', newinsid); errormsg.style.cssText = 'color:green;display:block'; errormsg.innerText = "tag is correct"; output.value = 's2innerHTML: ' + 'n' + news2innerHTML + 'nn' + 'insid: ' + 'n' + newinsid + 'nn' + 'FON Template: ' + 'n' + newfontemplate; } else { errormsg.style.cssText = 'color:red;display:block'; errormsg.innerText = "Tag is empty or not recognised. Please insert the correct tag"; output.value = ""; } }