Greasy Fork is available in English.

CSDN免登录复制代码

CSDN不用登录复制代码

// ==UserScript==
// @name         CSDN免登录复制代码
// @namespace    https://blog.csdn.net/*/article/details/*
// @version      1.1
// @description  CSDN不用登录复制代码
// @author       SmallFish
// @match        https://blog.csdn.net/*/article/details/*
// @icon         https://g.csdnimg.cn/static/logo/favicon32.ico
// ==/UserScript==

(function() {
    'use strict';
    let codes = document.querySelectorAll('code')

codes.forEach((c) => {
    c.contentEditable = "true"
})
    

    // Your code here...
})();