Skip to content

Commit

Permalink
update default_config.json
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 20, 2024
1 parent 591d16c commit 3b73548
Showing 1 changed file with 34 additions and 2 deletions.
36 changes: 34 additions & 2 deletions dist/default_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@
"zh-CN:zh-TW",
"zh-TW:zh-CN"
],
"autoTranslateParams": [
"_immersive_translate_auto_translate",
"crosearch_translate"
],
"enabled": true,
"minVersion": "0.6.2",
"showOpenaiOnSafari": true,
Expand Down Expand Up @@ -634,6 +638,7 @@
},
"deeplx": {
"limit": 3,
"enableRichTranslate": false,
"placeholderDelimiters": [
"@",
"#"
Expand Down Expand Up @@ -798,6 +803,10 @@
"bodyConfigs": {
"max_tokens": 2048
},
"headerConfigs": {
"anthropic-version": "2023-06-01",
"anthropic-dangerous-direct-browser-access": "true"
},
"translationTextSeparator": "\n\n%%\n\n",
"assistantId": "common",
"proModel": "claude-3-haiku-20240307",
Expand Down Expand Up @@ -4609,6 +4618,7 @@
},
"subtitleRule.add": {
"type": "webvtt",
"enableHookDownload": true,
"subtitleUrlRegExp": "webvtt$",
"loadingContainerSelector": ".vjs-text-track-display",
"quickButtonRule": {
Expand Down Expand Up @@ -8223,6 +8233,7 @@
],
"subtitleRule.add": {
"type": "subsrt",
"enableHookDownload": true,
"subtitleUrlRegExp": ".*subtitles.*\\.vtt",
"videoPlayerSelector": "video",
"quickButtonRule": {
Expand Down Expand Up @@ -9831,7 +9842,28 @@
"appendSelector": ".PlayerSettingsGroup",
"insertBeforeSelector": ".PlayerSettingsGroup .PlayerControlsButton"
}
}
},
"subtitleRule.add_v.[1.9.6]": {
"type": "xml",
"hookType": "fetch",
"subtitleUrlRegExp": "\\.ttml$",
"loadingContainerSelector": "#web-player-app",
"injectedCss": [
".CaptionBox {white-space: pre-line;}"
],
"xmlTextSelector": "p",
"xmlSetting": {
"subtitleItemSelector": "div",
"textSelector": "p",
"startSelector": "div",
"endSelector": "div",
"startAttr": "begin",
"endAttr": "end",
"timeDivisor": 1000
},
"enableHookDownload": true
},
"_comment": "无法自托管,自托管字幕广告后会偏移"
},
{
"id": "youku.tv",
Expand Down Expand Up @@ -10809,5 +10841,5 @@
]
}
],
"buildinConfigUpdatedAt": "2024-09-20T05:53:29.893Z"
"buildinConfigUpdatedAt": "2024-09-20T07:01:22.489Z"
}

0 comments on commit 3b73548

Please sign in to comment.