and understand and enjoy the contents more easily and quickly
Closed caption is an extension program that helps
you see English and another subtitles together. 🧑💻
If you look at only one translated caption or if you look at the existing subtitles,
there are many difficulties in watching, such as incorrect translation.
-
I'm going to support more sites! 🧑💻
-
Add the site URL that you add to the content_scripts matched array in the manifest.
-
add the closed caption dom attribute to Dom info
Two pieces of information need to be added domWrapperAttrs
and domAttrs
.
First, domAttrs
means the class,
id of the upper tag surrounding the dom showing subtitles on the screen.
This is the information of the tag surrounding the two doms
with the caption-visual-line class as shown in the image below.
Second, domWrapperAttrs
means the upper dom of domAttrs.
However, domWrapperAttrs must be specified as the dom where the change occurs
when the subtitle changes.
If you put these two information and added website information to the manifest, please see the contents below.