From 3d9683418d78fa88762d2ffa942846c33e1e8e07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BF=97=E5=8D=9A?= <605405375@qq.com> Date: Mon, 1 Jan 2024 23:45:44 +0800 Subject: [PATCH] Upload a Chinese dubbing plugin for Youtube. (#314) Co-authored-by: Aaron --- docs/.vitepress/components/UsingWxtSection.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/.vitepress/components/UsingWxtSection.vue b/docs/.vitepress/components/UsingWxtSection.vue index 67f18658..7289f6b1 100644 --- a/docs/.vitepress/components/UsingWxtSection.vue +++ b/docs/.vitepress/components/UsingWxtSection.vue @@ -5,6 +5,10 @@ import useListExtensionDetails, { } from '../composables/useListExtensionDetails'; // Add extension IDs here. Order doesn't matter, will be sorted by weekly active users +// During the transition from chrome.google.com/webstore to +// chromewebstore.google.com, queue.wxt.dev might return null for your +// extension. If it does, use "/" instead of just the ID. The slug +// can be retrieved from the URL of the item on chromewebstore.google.com const chromeExtensionIds = [ 'ocfdgncpifmegplaglcnglhioflaimkd', // GitHub: Better Line Counts 'mgmdkjcljneegjfajchedjpdhbadklcf', // Anime Skip Player @@ -12,6 +16,7 @@ const chromeExtensionIds = [ 'elfaihghhjjoknimpccccmkioofjjfkf', // StayFree - Website Blocker & Web Analytics 'okifoaikfmpfcamplcfjkpdnhfodpkil', // Doozy: Ai Made Easy 'lknmjhcajhfbbglglccadlfdjbaiifig', // tl;dv - Record, Transcribe & ChatGPT for Google Meet + 'youtube中文配音/oglffgiaiekgeicdgkdlnlkhliajdlja', // Youtube中文配音 ]; const { data } = useListExtensionDetails(chromeExtensionIds); @@ -24,6 +29,7 @@ const sortedExtensions = computed(() => { // Sort based on the user count weighted by the rating sortKey: ((item.rating ?? 5) / 5) * item.weeklyActiveUsers, })) + .filter((item) => !!item) .sort((l, r) => r.sortKey - l.sortKey); });