Skip to content

Instantly share code, notes, and snippets.

@binsee
Last active May 21, 2021 07:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save binsee/00c6252fe231ea23e52e4db8973c7eec to your computer and use it in GitHub Desktop.
Save binsee/00c6252fe231ea23e52e4db8973c7eec to your computer and use it in GitHub Desktop.
simpread 站点适配
{
"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