安装方法
- 确保书签栏已显示。
- 将上方的 在 LIVIA 中打开 按钮拖拽到书签栏。
- 访问 AlphaFold DB 条目页面或 FlyPredictome 详情页面。
- 点击新添加的书签 — 页面将跳转到对应的 LIVIA 分析页面。
如果拖拽无效
- 右键点击书签栏 → 添加页面(或 新建书签)。
- 名称:任意(例如
LIVIA)。
- 网址:粘贴下方的代码。
javascript:(function(){var u=location.href,p=location.origin+location.pathname,t=null,m;if(m=u.match(/alphafold\.ebi\.ac\.uk\/entry\/(AF-\d+)/))t='https://flyark.github.io/LIVIA/dimer.html?id='+m[1];else if(m=u.match(/alphafold\.ebi\.ac\.uk\/entry\/(?:AF-)?([A-Z][0-9][A-Z0-9]{3}[0-9](?:[A-Z][A-Z0-9]{2}[0-9])?)/i))t='https://flyark.github.io/LIVIA/monomer.html?id='+m[1].toUpperCase();else if(/flyrnai\.org\/tools\/fly_predictome\/web\/famdb_details_ortho\//.test(u))t='https://flyark.github.io/LIVIA/ortholog_predictome.html?url='+encodeURIComponent(p);else if(/flyrnai\.org\/tools\/fly_predictome\/web\/famdb_details\//.test(u))t='https://flyark.github.io/LIVIA/flypredictome.html?url='+encodeURIComponent(p);if(t)window.open(t,'_blank','noopener');else alert('LIVIA: 不支持的页面。请在 AlphaFold DB 条目页面 (alphafold.ebi.ac.uk/entry/...) 或 FlyPredictome 详情页面 (flyrnai.org/.../famdb_details[_ortho]/...) 上使用。');})();
已在桌面版 Chrome 上测试通过。其他浏览器(Firefox、Safari、Edge)通常也支持书签工具,但未经逐一验证。