內容簡介
這是一款簡單的外掛程式,可以保護電子郵件不受到垃圾郵件機器人的侵害。使用簡單的 [hide_email [email protected]] 短碼即可隱藏 [email protected],並創建一個可點擊的電子郵件鏈接。
這個外掛程式沒有複雜的加密,這不是它的目的。它只是從 HTML 輸出中刪除可讀取的電子郵件,用使用十六進位轉換的電子郵件地址在類中替換一個 span 元素,然後在飛行中使用 javascript 替換該 span 元素以創建可點擊的鏈接。如果查看者的瀏覽器沒有啟用 javascript,他們將看到一條簡短的消息,解釋為什麼他們不能看到電子郵件。
外掛標籤
開發者團隊
原文外掛簡介
A simple plugin to hide emails from spambots. Simply use the shortcode [hide_email [email protected]] to hide [email protected] from harvesters but create a clickable email link.
There is no complex encryption, that isn’t the purpose of this plugin. It simply removes readable emails from the html outpout, replaces them with a span element that uses the hex converted email address in a class and then replaces that span element with javascript on the fly to create a clickable link. If the viewers browser is not javascript enabled they will see a short message explaining why they can’t see the email.
