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.
Form the build file through the yarn build script.
To register an extension, go to the Development of an extension page.
Apply build file to extension page.
Activate the added Closed Caption.
Test the active extension at each site.
If there is any change, please refresh the extension developer page and test it again.