Last active
May 21, 2021 07:41
-
-
Save binsee/00c6252fe231ea23e52e4db8973c7eec to your computer and use it in GitHub Desktop.
simpread 站点适配
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"sites": [ | |
{ | |
"name": "infoq.cn", | |
"url": "http*://*.infoq.cn/**/*", | |
"title": "<title>", | |
"desc": "[[{$('meta[name=Description]').attr('content')||$('meta[name=description]').attr('content')}]]", | |
"include": "[[[(function(){var wrap = $('.article-preview,.article-typo');if(!wrap.length) {wrap = $('<p>异步加载型页面,本次未能获取到内容元素。<br>请将 infoq.cn 加入排除列表后,刷新页面后手动进入阅读模式尝试</p><br><p>'+''.padEnd(100,'#')+'</p>');$('head').append(wrap);}return wrap;}())]]]", | |
"exclude": [""] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment