The issue related to cdn-cgi/scripts/email-decode.min.js
or cb/cloudflare-static/email-decode.min.js
typically occurs due to Cloudflare’s email obfuscation feature. This feature is designed to protect email addresses on your website from being scraped by bots.
How to Fix This Issue
1. Disable Email Address Obfuscation in Cloudflare
Since Cloudflare automatically encodes email addresses to prevent spam, disabling this feature should resolve the issue.
Steps to disable email obfuscation in Cloudflare:
- Log in to your Cloudflare dashboard.
- Select your website from the list.
- Navigate to Scrape Shield in the left sidebar.
- Locate the option Email Address Obfuscation.
- Turn it off.
2. Check Your Website Code
- If you manually added an email obfuscation script, remove it.
- Inspect your website source code (
Ctrl + U
in the browser) and search fordata-cfemail
. If present, it means Cloudflare is encoding emails, and disabling obfuscation (as in Step 1) should fix it.
3. Purge Cloudflare Cache
After disabling email obfuscation, clear Cloudflare’s cache:
- Go to your Cloudflare dashboard.
- Select Caching from the menu.
- Click Purge Everything.
4. Check for Conflicting Plugins (If Using WordPress)
If you’re using WordPress:
- Some security plugins may interfere with Cloudflare’s script.
- Temporarily disable security plugins and check if the issue persists.
5. Inspect Console Errors
- Open your website.
- Right-click and select Inspect.
- Go to the Console tab and check for errors related to
email-decode.min.js
. - If you see a 404 error, Cloudflare’s script might be blocked or missing.
6. Contact Cloudflare Support
If the problem persists, reach out to Cloudflare Support for further assistance.