简悦 · 站点集市
Readwise Reader
{
    "name": "read.readwise.io",
    "title": "[[{$('title').text().replace( ' | Readwise', '' )}]]",
    "desc": "",
    "include": "[[{(()=>{let html=\"\",type=\"\";const url=location.href;if(url.includes(\"feed/unseen\")||url.includes(\"feed/seen\")){url.includes(\"feed/seen\")&&(type=\"未读\");url.includes(\"feed/unseen\")&&(type=\"已读\");html=`from <a href=\"https://read.readwise.io/feed/${type==\"未读\"?\"unseen\":\"seen\"}\">RSS 分类(${type})</a> @<a href=\"https://read.readwise.io${$(\".document-header-author-content a\").attr(\"href\").replace('\"',\"\")}\">${$(\".document-header-author-text\").text()}</a> via ${$(\".document-header-domain\").text()}`}else if(url.includes(\"category%3Aarticle\")){url.includes(\"triage_status/new\")&&(type=\"收件箱\");url.includes(\"triage_status/archive\")&&(type=\"归档\");url.includes(\"triage_status/later\")&&(type=\"稍后读\");html=`from <a href=\"https://read.readwise.io/filter/category%3Aarticle\">文章(${type})</a> @<a href=\"https://read.readwise.io${$(\".document-header-author-content a\").attr(\"href\").replace('\"',\"\")}\">${$(\".document-header-author-text\").text()}</a> via ${$(\".document-header-domain\").text()}`}else if(url.includes(\"category%3Aemail\")){url.includes(\"triage_status/new\")&&(type=\"收件箱\");url.includes(\"triage_status/archive\")&&(type=\"归档\");url.includes(\"triage_status/later\")&&(type=\"稍后读\");html=`from <a href=\"https://read.readwise.io/filter/category%3Aemail\">邮件(${type})</a> @<a href=\"https://read.readwise.io${$(\".document-header-author-content a\").attr(\"href\").replace('\"',\"\")}\">${$(\".document-header-author-text\").text()}</a>`}else if(url.includes(\"category%3Atweet\")){url.includes(\"triage_status/new\")&&(type=\"收件箱\");url.includes(\"triage_status/archive\")&&(type=\"归档\");url.includes(\"triage_status/later\")&&(type=\"稍后读\");html=`from <a href=\"https://read.readwise.io/filter/category%3Aatweet\">推特(${type})</a> @<a href=\"https://read.readwise.io${$(\".document-header-author-content a\").attr(\"href\").replace('\"',\"\")}\">${$(\".document-header-author-text\").text()}</a> via ${$(\".document-header-domain\").text()}`}else if(url.includes(\"https://read.readwise.io/new/read/\")||url.includes(\"https://read.readwise.io/later/read/\")||url.includes(\"https://read.readwise.io/archive/read/\")){url.includes(\"new/read\")&&(type=\"收件箱\");url.includes(\"archive/read\")&&(type=\"归档\");url.includes(\"later/read\")&&(type=\"稍后读\");let via=\"\";if($(\".document-header-domain\").length>0){via=` via ${$(\".document-header-domain\").text()}`}html=`from <a href=\"${location.href.replace(/read\\/\\S+/i,\"\")}\">Library(${type})</a> @<a href=\"https://read.readwise.io${$(\".document-header-author-content a\").attr(\"href\").replace('\"',\"\")}\">${$(\".document-header-author-text\").text()}</a>`+via}else if(url.includes(\"https://read.readwise.io/read\")){let via=\"\";if($(\".document-header-domain\").length>0){via=` via ${$(\".document-header-domain\").text()}`}html=`from <a href=\"https://read.readwise.io/home\">首页</a> @<a href=\"https://read.readwise.io${$(\".document-header-author-content a\").attr(\"href\").replace('\"',\"\")}\">${$(\".document-header-author-text\").text()}</a>`+via}if(html){html=`<sr-deeplink>${html}</sr-deeplink>`}html+=$(\"#document-text-content\").html();return html})();}]]",
    "exclude": [
        "<sr-bad-empty>"
    ],
    "url": "[[/https:\\/\\/read\\.readwise\\.io\\/\\S+\\/\\S+/]]",
    "avatar": [
        {
            "name": ""
        },
        {
            "url": ""
        }
    ],
    "paging": [
        {
            "prev": ""
        },
        {
            "next": ""
        }
    ],
    "css": "sr-deeplink {\n    display: flex;\n    justify-content: center;\n    margin: 16px auto;\n    padding: 12px 12px 9px 12px;\n    border: 3px solid #F6F6F6;\n}"
}
安装当前站点