Comments (3)
目前可以在 开发者设置里,修改 "generalRule" 里的这个字段:
{"generalRule":{
"excludeRegexps": [
"(<\\\\/?[a-zA-Z0-9]+(?:[^>]*?)>)",
"(<form>|<body>|<strong>|<img|<IMG|<Img|<ImG|<iMg|<iMG|<em>|<b>|</b>|<i>|</i>|<u>|</u>|<br>|<br/>)"
],
}
}
from immersive-translate.
抱歉最近很少上网,没及时测试和回复
我把这段代码加入后,貌似没什么变化
加入后是这样,不知道有什么地方不对
"generalRule": { "excludeRegexps": [ "(<\\\\/?[a-zA-Z0-9]+(?:[^>]*?)>)", "(<form>|<body>|<strong>|<img|<IMG|<Img|<ImG|<iMg|<iMG|<em>|<b>|</b>|<i>|</i>|<u>|</u>|<br>|<br/>)" ], "isTranslateTitle": false, "subtitleRule.add": { "showQuickButton": false } },
from immersive-translate.
哦哦,我给的只是示例的正则,你需要写自己的正则在 excludeRegexps 里面 。
from immersive-translate.
Related Issues (20)
- chrome 加载内容为 XML 时,出现异常 HOT 2
- 增加DeepL的第三方中转支持(类似OpenAI/Gemini/Claude支持自定义中转服务器URL)
- English -> (Vietnamese - English) instead of (English-Vietnamese).
- [Bug]: 自己的cahtgpt API,测试服务显示通过,翻译网页却不响应 HOT 2
- [Bug]: 有时点击选项没有任何反应。 HOT 4
- [Bug]: 触屏平台点击翻译图标交互逻辑不正确
- xml等文件中底部有大量样式 HOT 3
- Orion浏览器支持
- [Bug]: 点击翻译后,每次都会自动开启“总是翻译该网站”的选项 HOT 2
- 🔴 添加将字幕样式作用于简繁字幕的功能 HOT 2
- [Bug]: 有的网站点翻译只翻译左侧目录,不翻译正文 HOT 5
- Generate smart subtitles powered by AI such as Whisper(OpenAI) HOT 1
- 增加自定义词库/术语表功能 HOT 5
- ### 新功能 | New Feature HOT 1
- Roman Urdu Translation Integration 🙏 HOT 4
- 最新版本插件PDF翻译时一页英文后面会有三页同样的中文 HOT 1
- Cancel or collapse the taskbar in the PDF function HOT 5
- 1.5.8更新后chrome翻译pdf上方的bar太占屏幕空间 HOT 4
- [Bug]: service Worker(无效),插件失效 HOT 10
- 适配Chrome浏览器新推出的Google 学术搜索 PDF 阅读器
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from immersive-translate.