首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
V2EX 提问指南
广告
V2EX
›
问与答
cloudflare zaraz 的 Custom HTML,为何去不掉 WordPress 底部的“由 WordPress 强力驱动”
CSGO
·
5 天前
· 55 次点击
我试了很多个 js ,比如:
<script>
function modifyLink() {
// 选中 class 为"powered-by-wordpress"的<p>标签内的<a>标签
var link = document.querySelector('.powered-by-wordpress a');
if (link) {
// 设置新的 href 属性
link.setAttribute('href', '#');
// 更改链接文本
link.textContent = 'Power by Me';
}
}
// 每秒钟执行一次 modifyLink 函数
setInterval(modifyLink, 1000);
</script>
都无法修改它。
目前尚无回复
关于
·
帮助文档
·
博客
·
API
·
FAQ
·
实用小工具
·
2336 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 21ms ·
UTC 12:47
·
PVG 20:47
·
LAX 05:47
·
JFK 08:47
Developed with
CodeLauncher
♥ Do have faith in what you're doing.