# 抖音汉语 (汉语大词典+) 2025-09-14 终结，622296 词头

**URL:** <https://forum.freemdict.com/t/topic/41060>\
**Category:** 资源分享\
**Tags:** 汉语\
**Created:** [2025 年8 月 9 日 04:19 UTC](https://forum.freemdict.com/t/topic/41060 "2025-08-09T04:19:55Z")\
**Posts on this page:** 6\
**Page:** 21

<div class="post-metadata">

作者： ![meandmyhomies](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/m/958977/32.png) [@meandmyhomies](https://forum.freemdict.com/u/meandmyhomies)\
发布日期： [2025 年10 月 22 日 04:04 UTC](https://forum.freemdict.com/t/topic/41060/411 "2025-10-22T04:04:12Z")

</div>

这个里面有些js报错，我要折腾一下。  
先弄好wikipedia。

---

<div class="post-metadata">

作者： ![sxgg0001](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/sxgg0001/32/83045_2.png) [@sxgg0001](https://forum.freemdict.com/u/sxgg0001)\
发布日期： [2025 年10 月 22 日 04:31 UTC](https://forum.freemdict.com/t/topic/41060/412 "2025-10-22T04:31:49Z")

</div>

好的，辛苦了

---

<div class="post-metadata">

作者： ![Harsha](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/h/e274bd/32.png) [@Harsha](https://forum.freemdict.com/u/Harsha)\
发布日期： [2026 年2 月 18 日 18:04 UTC](https://forum.freemdict.com/t/topic/41060/413 "2026-02-18T18:04:27Z")

</div>

对不起，我对这些不太熟悉。我解压 cssjs 这个 zip 之后，bojg.css 里把所有的 “position: absolute” 改成了 “position: static”，但是问题还没解决。

即使我干脆把 mdx 和 mdd 以外其他的文件都删掉，也没用。

我用的是 Goldendict.

 ![Screenshot 2026-02-18 233815](https://forumcdn.freemdict.com/uploads/default/original/3X/d/c/dc5c455570cdf55d782391d293670fd91d11d67a.png)

还有，css 应该处在那个 cssjs 文件夹里面吗？还是在 mdx 的旁边？请提示一下。多谢。

---

<div class="post-metadata">

作者： ![Harsha](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/h/e274bd/32.png) [@Harsha](https://forum.freemdict.com/u/Harsha)\
发布日期： [2026 年2 月 20 日 19:35 UTC](https://forum.freemdict.com/t/topic/41060/415 "2026-02-20T19:35:07Z")

</div>

bojg.css里把 ItemList-toggle-buttons 之下的 “position: fixed” 这一行删掉之后，问题就解决了。

修改的 css 上载给大家：

[bojg.css](https://forum.freemdict.com/uploads/short-url/6UZ6G79ZVpbdjkovv1jAuRJQoC2.css) (1.7 MB)

只需把这个 css 放在词典的文件夹里。

多谢指教! @meandmyhomies

---

<div class="post-metadata">

作者： ![yx\_wh](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/yx_wh/32/77200_2.png) [@yx\_wh](https://forum.freemdict.com/u/yx_wh)\
发布日期： [2026 年9 月 3 日 06:40 UTC](https://forum.freemdict.com/t/topic/41060/416 "2026-09-03T06:40:20Z")

</div>

### 需要修改的 **两个文件、三个位置**

| 文件 | 位置 | 修改内容 | 目的 |
| --- | --- | --- | --- |
| `bojg.js` | `toggleScript()` 函数 | 将 `document.body` 改为 `document.querySelector('bojgm')` | 让简繁切换只影响当前词典条目，因为GoldenDict-ng避免污染其他词典，给每个词典的内容包裹一个唯一容器（如 `<div id="gdfrom-xxx">`），并把词典内的所有 CSS 选择器都加上这个 ID 前缀，确保样式只影响该词典。 |
| `bojg.css` | `.ItemList-button-row` | 删除 `position: -webkit-sticky;`、`position: sticky;`、`top: 0;`、`z-index: 100;` | 取消父容器的粘性定位 |
| `bojg.css` | `.ItemList-toggle-buttons` | 删除 `position: fixed;`、`top: 4rem;`、`right: 8px;`、`z-index: 1000;`（可选：调整背景、边框为透明或无） | **取消按钮的固定悬浮** （这是关键） |

* * *

---

<div class="post-metadata">

作者： ![yx\_wh](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/yx_wh/32/77200_2.png) [@yx\_wh](https://forum.freemdict.com/u/yx_wh)\
发布日期： [2026 年9 月 3 日 06:51 UTC](https://forum.freemdict.com/t/topic/41060/417 "2026-09-03T06:51:49Z")

</div>

> [@Harsha](#):
>
> 把 mdx 和 mdd 以外其他的文件都删掉，也没用。

这说明.mdd里面也打包📦进去了同名.css和.js，只不过对GoldenDict来说外面的比.mdd包里面的同名文件优先级高。所以把 mdx 和 mdd 以外其他的文件都删掉，自然也没用。你用pyglossary把抖音汉语.mdx转换成.txt就知道了。

[上一页](https://forum.freemdict.com/t/topic/41060.md?page=20)
