# mdx、mdd包内会不会存在不安全的代码

**URL:** <https://forum.freemdict.com/t/topic/5933>\
**Category:** 闲聊吹水\
**Created:** [April 24, 2021, 5:06pm UTC](https://forum.freemdict.com/t/topic/5933 "2021-04-24T17:06:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ilov](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/i/87869e/32.png) [@ilov](https://forum.freemdict.com/u/ilov)\
**Post date:** [April 24, 2021, 5:06pm UTC](https://forum.freemdict.com/t/topic/5933/1 "2021-04-24T17:06:22Z")

</div>

mdx、mdd文件内都会包含css,js文件，这些文件在我们使用词典的时候会不会做一些有危害性的事情？如果有，我们应该如何检查和防范？

---

<div class="post-metadata">

**Author:** ![free](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/f/c5a1d2/32.png) [@free](https://forum.freemdict.com/u/free)\
**Post date:** [April 24, 2021, 6:29pm UTC](https://forum.freemdict.com/t/topic/5933/2 "2021-04-24T18:29:59Z")

</div>

一般不会，谁会搞这些无聊的事呢？

---

<div class="post-metadata">

**Author:** ![独一无二](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/%E7%8B%AC%E4%B8%80%E6%97%A0%E4%BA%8C/32/18671_2.png) [@独一无二](https://forum.freemdict.com/u/%E7%8B%AC%E4%B8%80%E6%97%A0%E4%BA%8C)\
**Post date:** [April 26, 2021, 12:26am UTC](https://forum.freemdict.com/t/topic/5933/3 "2021-04-26T00:26:44Z")

</div>

css、js，一般网站都用的，所以 mdx 应该不会比正常浏览网页更危险，而且词典软件支持的 js 功能一般比专门的浏览器还要少
