It seems that Joomla, starting from version 2.X and 3.X,,automatically converts email addresses in articles into hyperlink format。Today, when using JavaScript for the email address on a specific page,it resulted in clicking,causing two Outlook windows to pop up,因此需要關閉內建的轉換功能。
此功能的正式名稱為 Email Cloaking,舊版的 Joomla 可能可以在 Plugin 找到,Joomla 4 已經找不到了,因此要停用此功能時,需要在文章的任一處加入下面語法,該篇文章的 Email Cloaking 功能即會關閉。
{emailcloak=off}
【參考連結】
- Help15:Screen.plugins.edit.15 – Joomla! Documentation
- disable email cloaking plugin on page by page basis – Joomla! Forum – community, help and support








Leave a Reply