javascript - Would delayed display of an email address be useful against email scrapers? -


assuming need public web page displays email information user of site. in addition obfuscation, javascript helpful?

settimeout(function(){     document.getelementbyid(id).innerhtml = "<span>" + username + "@" + hostname +  "</span>"; },50) 

it entirely depends on spambot. could stop spambots, wouldn't stop scraper designed work around defense.

that's how arms races work.

it pretty straightforward build bot works around defense have in mind. use headless browser (such phantomjs) fetch page, evaluate javascript on page, wait arbitrary amount of time (say, 10 seconds), , then scrape dom email addresses.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -