Blog Park article copyright notice (generated automatically by JS)

Time:2020-4-28

Blog Park article copyright notice (generated automatically by JS)

1、 Code

I am more direct, directly on the code, put the following HTML on the right, the home page, the footer can be

#MySignature {
        display: block;
        background-color: #c6ced4;
        border-radius: 7px;
        box-shadow: 1px 1px 1px #6B6B6B;
        padding: 10px;
        line-height: 1.5;
        text-shadow: 1px 1px 1px #FFF;
        font-size: 16px;
    }
    #MySignature a {
        margin: 0;
        padding: 0;
        display: contents;
    }


    var MySignature = document.querySelector('#MySignature')
    //Will automatically find your URL, if you customize the location to match it
    var postTitleUrl = document.querySelector('.postTitle a').getAttribute('href').replace(/\s*/g, "")
    //Find your name automatically. If you customize it, you can find it yourself
    var authorNanme = document.querySelector('#profile_block a').textContent.replace(/\s*/g, "")
    //Your introduction
    Var info = 'your introduction'
    Signature - non commercial use - deduction prohibited 4.0 International < / a > permission, reprint please indicate the author and source < / P > < div > '