Cloudflare is a free CDN service provider used by many foreign trade website users. Today, when optimizing the website for customers, I found that a /cdn-cgi/scripts/5c5d***28/Cloudflare-static/email was loaded in the source code -decode.min.js file search and found this is code referenced by Cloudflare’s email address obfuscation technique (displays an obfuscated email address on your website to prevent bots and spammers from getting it , while no visible changes to the address are made to human visitors.)
As a foreign trade website, this function is actually very tasteless. No matter if your website is confused or not, the mailbox will be leaked. It is better to delete the email-decode.min.js file to reduce a web page request.
How to disable email-decode.min.js If you want your website not to load email-decode.min.js, the method is very simple, just go to the Cloudflare background, find Scrape Shield, and then turn off the switch of email obfuscation.
Xiaobai recently set up a collection station. Then used cloudflare as CDN. It’s a bit slow when connecting for the first time. Found a slow loading of email-decode.min.js. According to the literal understanding, it should be in this aspect of e-mail protection. not so useful. Just disable it.
js address: your domain name/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js Disable method Control panel – Scrape Shield, as shown below: cloudflare disables email obfuscation Of course, you can also separate the secondary The domain name setting is disabled. Select Disable Email Obfuscation in Page Rules. The effect is the same.

Cloudflare是一家很多外贸建站的用户都在使用的免费CDN服务商,

今天在给客户优化网站的时候发现源代码里面加载了一条

/cdn-cgi/scripts/5c5d***28/Cloudflare-static/email-decode.min.js 文件

搜索后发现这个是Cloudflare的电子邮件地址混淆技术引用的代码

(在您的网站上显示经过模糊处理的电子邮件地址,以防止机自动程序和垃圾邮件制造者获取该地址,

而对于人类访问者,则不会对地址进行任何可见更改。)

作为外贸网站,这个功能实际上很鸡肋,不管你网站上混淆不混淆,邮箱都会被泄露出去,

还不如删除这个email-decode.min.js文件减少一次网页请求。

禁用email-decode.min.js的方法

想要网站不加载email-decode.min.js,方法很简单,只需要进入Cloudflare后台,找到Scrape Shield,然后关闭电子邮件混淆的开关就可以了。

小白最近搞了一个采集站。然后使用了cloudflare作为CDN。第一次连接的时候有点慢。发现一个email-decode.min.js加载比较缓慢。按照字面理解应该是电子邮箱保护这方面的。作用不大。直接禁用即可。

js地址:你的域名/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js

禁用方法 控制面板 – Scrape Shield,如下图:

cloudflare禁用电子邮件混淆

当然你也可以单独对二级域名设置禁用。在页面规则中选择禁用电子邮件混淆。效果是一样的。

发表评论

后才能评论