做了一个欧路的小工具

我自己搞定了。用python抽取了朗文5++朗文6的词头,去掉重覆的,每个词条内容以html代码套用所需的css档案(apple@<link href="eures://eudic_helper.css" rel="stylesheet" type="text/css"/>),写入一个.txt档案作为欧陆工具的源文件,将所需的css档案eudic_helper.css放在欧陆工具所指定的资源目录,然后打包。以下附上我弄好的.txt源文件和eudic_helper.css。
.txt源文件:eudic_helper.zip (1.4 MB)
eudic_helper.css内容:

/* 发音和音标 */
#phondiv {
    display: none!important;
}

/* 生词本选择 */
.five-star-level {
    display: none!important;
}

/* iOS右上星形按钮 */
#rightBtn_star {
    display: none!important;
}

/* 跟读 */
.evalRecordWordLink {
    display: none!important;
}

/* 全球 */
.globalVoiceLink {
    display: none!important;
}

/* 四级考研等 */
.eudic_wordtag {
    display: none!important;
}

/* 本工具词典头 */
#ID1861227571 {
    display: none!important;
}

我在css增加了隐藏欧陆预设的发音和音标、生词本按钮、iOS端右上角的星形按钮、新增工具后产生的没用的空白词典区块。如果不需要可自行删除。

另外在手机欧陆如果想生效,需要在词典库管理点进小工具,选择开启自动展开,才能生效。

1 个赞