简悦 · 站点集市
即刻-动态页面
{
    "name": "post.okjike.com",
    "title": "[[{(()=>{const arr=$('.break-words:first').html().split('<br>');return arr&&arr.length>0?arr[0]:$('meta[property=\"article:author\"]').attr('content')+'的即刻'})()}]]",
    "desc": "",
    "include": "[[{(()=>{let html='';html=`<sr-jike-p><p></p>${$('.break-words:first').html()}</sr-jike-p>`;$('.MessagePictureGrid__RadiusContainer-sc-pal5rf-0:first').children().map((idx,item)=>{const $target=$(item);if($target.is('img')){const src=$target.attr('src');html+=`<img src=\"${ src.replace( /\\?\\S+$/i, '' ) }\"/>`}else if($target.children().length>0){$target.children().map((_,img)=>{const $img=$(img),src=$img.css('background-image');html+=`<img src=\"${ src.replace( /(^url\\(\")|(\"\\)$)/i, '' ).replace( /\\?\\S+$/i, '' ) }\"/>`})}});if($('.sc-bdnxRM.lgjwnm').length>0){const $target=$('.sc-bdnxRM.lgjwnm'),href=$target.attr('href'),text=$target.text();html+=`<sr-jike-repost-block><a href=\"${ href }\"target=\"_blank\">${text}</a></sr-jike-repost-block>`}if($('a.sc-bdnxRM.cYiXfS').length>0){const $a=$('a.sc-bdnxRM.cYiXfS'),text=$a.text(),href=$a.attr('href');html+=`<sr-jike-div>来自<a href=\"${ href }\"target=\"_blank\">${text}</a></sr-jike-div>`}return html})()}]]",
    "url": "https://web.okjike.com/original*/*",
    "avatar": [
        {
            "name": ""
        },
        {
            "url": ""
        }
    ],
    "paging": [
        {
            "prev": ""
        },
        {
            "next": ""
        }
    ],
    "exclude": [
        "<sr-bad-empty>"
    ],
    "css": "sr-jike-repost-block {\n    display: block;\n    margin-bottom: 12px!important;\n    padding: 12px!important;\n    color: rgb(64, 64, 64);\n    background-color: rgb(242, 245, 248);\n    text-align: center;\n    border-radius: 4px;\n    cursor: pointer;\n    transition: all 0.2s ease 0s;\n}\nsr-jike-repost-block a {\n    -webkit-box-pack: end;\n    justify-content: flex-end;\n    margin: 0px;\n    padding-top: 8px;\n    padding-bottom: 8px;\n    min-width: 0px;\n    font-size: 12px!important;\n    box-sizing: border-box;\n}"
}
安装当前站点