Orange
windows电脑上使用anki跳转到欧路词典的教程。
首先cmd管理员运行以下代码
reg add "HKEY_CLASSES_ROOT\eudic" /ve /d "URL:Eudic Protocol" /f
reg add "HKEY_CLASSES_ROOT\eudic" /v "URL Protocol" /d "" /f
reg add "HKEY_CLASSES_ROOT\eudic\shell\open\command" /ve /d "\"C:\Program Files\eudic\\" \"%%1\"" /f
其次在卡片正面或者背面放以下代码,作用是点击字段{{单词}},安卓手机唤起小窗,其他设备唤起软件
<div onclick="if(/Android/.test(navigator.userAgent)){location.href='intent:peek#Intent;action=colordict.intent.action.SEARCH;category=android.intent.category.DEFAULT;type=text/plain;component={{单词}};end'}else{location.href='eudic://dict/{{单词}}'}">{{单词}}</div>
{{单词}}可以改为自己的具体字段名称。
教程完毕
首先cmd管理员运行以下代码
reg add "HKEY_CLASSES_ROOT\eudic" /ve /d "URL:Eudic Protocol" /f
reg add "HKEY_CLASSES_ROOT\eudic" /v "URL Protocol" /d "" /f
reg add "HKEY_CLASSES_ROOT\eudic\shell\open\command" /ve /d "\"C:\Program Files\eudic\\" \"%%1\"" /f
其次在卡片正面或者背面放以下代码,作用是点击字段{{单词}},安卓手机唤起小窗,其他设备唤起软件
<div onclick="if(/Android/.test(navigator.userAgent)){location.href='intent:peek#Intent;action=colordict.intent.action.SEARCH;category=android.intent.category.DEFAULT;type=text/plain;component={{单词}};end'}else{location.href='eudic://dict/{{单词}}'}">{{单词}}</div>
{{单词}}可以改为自己的具体字段名称。
教程完毕
2025-02-11
浏览1173
登录后评论
2
评论
1