网页复制源代码

· · 个人记录

document.body.contentEditable='true'
document.desingable='on'

F12 控制台输入这 2 行代码网页内容随意复制和修改

查看别人主页的代码:

console.log(_feInstance.currentData.user.introduction)

看 blog 源码:

fetch('/api/blog/detail/' + BlogGlobals.blogID).then(res => res.json()).then(res => console.log(res.data.Content))