csdn 复制代码

console 输出,或者通过浏览器标签

javascript:document.querySelectorAll(".prism").forEach((b)=>{b.onclick = function(e){mdcp.copyCode(e)}});
document.querySelectorAll("style").forEach((s)=>{if((s.innerText||"").indexOf('#content_views pre')>-1){s.parentElement.removeChild(s)}});

原文地址:https://www.cnblogs.com/xfweb/p/15707720.html