您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
polyfill-ish? useless if you have most javascript enabled
// ==UserScript== // @name cloudflare email protection decoder // @namespace https://github.com/jan-ale/ // @match *://*/* // @grant none // @version 1.0 // @author jan-ale // @description polyfill-ish? useless if you have most javascript enabled // @license GPL-3.0-or-later // ==/UserScript== // thanks to https://blog.jse.li/posts/cloudflare-scrape-shield/ ! (() => { const protectedEmails = [...document.getElementsByClassName("__cf_email__")]; for(email of protectedEmails) { let decodedEmail = ""; const encodedEmail = email.getAttribute("data-cfemail"); const key = parseInt(encodedEmail.slice(0,2),16); for(let i=2;i<encodedEmail.length-1;i+=2) { let num = parseInt(encodedEmail.slice(i,i+2),16); num ^= key; decodedEmail += String.fromCharCode(num); } email.parentNode.replaceChild(document.createTextNode(decodedEmail), email); } })()
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址