![]() ![]() Generate the HTML / JavaScript code-block which will be the codeblock replacing all the blocksÄocument.getElementById("kshemsp'.$cnt.'").removeChild(document.getElementById("kshemsp'.$cnt.'")) obfusEma("'.$nameOnly.'", "'.$eLinkNew.'", "'.$nameOnly. $completeMangledAdd = str_replace(".",".",$atMangledAdd) $atMangledAdd = any periods with the HTML Number counterpart This looks like "name.here .nz" and is used for non-javascript rendering Split the email address off at the to reveal the name / domain name portion $purEmailArr = split("mailto:",trim($emailMatch,"\"")) Now split off the "mailto:" section of the result, and trim off the quote marks too. Each eMail address now in this format: " " For every href set extracted, extract the eMail address ![]() $eLinkNew = str_replace($specialChars,$replaceChars,$eLink_phaseII) Setup which characters should be converted across into HTML hash codes. Extract and count total number of tags present in the HTML Lace this with self-loading JS code that replaces itself with an obfuscated mailto: version at run-time, so in a JS environment, the mailto: works as expected. Place the obfuscated eMail address into a unique DIV as 'name .nz' for non-JS users. Loop through, strip out name
0 Comments
Leave a Reply. |