搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Facebook Container

more options

Firefox displays an icon for Facebook Container on my website's newsletter's form's email entry box. The more info states: "Allow Facebook to track you here?

This site can share your email address with Facebook, which allows Facebook to track you. Use a service like Firefox Relay to hide your real email address."

How do I get rid of this icon/service for Firefox Relay? It stops some people from signing up for my newsletter.

I do not display social media icons and do not offer social media sharing options except for a Pin It button for Pinterest on my website: https://www.scrapish.com/.
Firefox displays an icon for Facebook Container on my website's newsletter's form's email entry box. The more info states: "Allow Facebook to track you here? This site can share your email address with Facebook, which allows Facebook to track you. Use a service like Firefox Relay to hide your real email address." '''How do I get rid of this icon/service for Firefox Relay?''' It stops some people from signing up for my newsletter. I do not display social media icons and do not offer social media sharing options except for a Pin It button for Pinterest on my website: https://www.scrapish.com/.
附加的畫面擷圖

所有回覆 (2)

more options

Hi, that message comes from the fact that you have Facebook Container installed. It seems to trigger on any <input type="email"> even if there is no obvious connection to Facebook.

It looks like this was added recently and there is a complaint about it on the Issues list already:

https://github.com/mozilla/contain-facebook/issues/783

I think for now the only workaround might be to switch back to using <input type="text"> with a pattern to emulate the built-in validation of email inputs (from MDN):

<input type="text" pattern="^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61} [a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$">

That is not fail-safe validation, but since you also have server-side validation, it might be sufficient.

more options

FOR everything glory to God amen

由 wakjiraadula6158 於 修改