Loading request...
User suggests adding a feature to define the translation scope for web pages, allowing users to specify which DOM elements should be translated (e.g., only the main content, excluding header/footer/sidebar), to prevent layout issues.
### Describe the Feature 现在的情况是插件把整个网页的内容都处理,包括网站的header、footer、sibebar 之类的,其实,大部分情况下,只需要翻译正文部分就可以了。如果很难做到智能识别,我认为最简单的做法,就是在网站管理中,增加可以让用户设置网页需要翻译的DOM,可以指定一个或者多个DOM。 下图就是因为插件翻译了整个网页,网页右边的内容都走位了。。 <img width="1522" height="783" alt="Image" src="https://github.com/user-attachments/assets/1a76db66-20a4-4660-8e11-0caa7e83840a" /> ### Additional Context _No response_