Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TypeScript #961

Open
wants to merge 151 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
151 commits
Select commit Hold shift + click to select a range
cbed2bb
[ImgBot] Optimize images
ImgBotApp Mar 8, 2022
8a3ef1b
delete as per request in PR
KendallDoesCoding May 8, 2022
1821cde
Merge branch 'Anarios:main' into main
KendallDoesCoding May 8, 2022
df7fb18
[ImgBot] Optimize images
ImgBotApp May 10, 2022
c4f3b37
Merge pull request #16 from Anarios/main
KendallDoesCoding Jul 24, 2022
e9e26d4
Merge pull request #10 from KendallDoesCoding/imgbot
KendallDoesCoding Jul 24, 2022
4e9441a
Merge pull request #699 from Anarios/develop
Anarios Jul 25, 2022
752edcc
Merge pull request #694 from KendallDoesCoding/main
Anarios Jul 25, 2022
8e376f6
RoundDown option removed
Anarios Jul 28, 2022
61c3757
3.0.0.3
Anarios Jul 28, 2022
c0ba031
Create Privacy Policy
Anarios Jul 28, 2022
dfa541a
Update manifest-chrome.json
Anarios Jul 29, 2022
596c0d7
fix dislike text box not being found for some users
shadoxxhd Aug 1, 2022
de0886b
Merge pull request #710 from shadoxxhd/main
Anarios Aug 1, 2022
4e0f633
Prettier reformat
Anarios Aug 1, 2022
3f49b65
Turkish translations and Reference corrections
ilbailba Aug 5, 2022
88154c1
Turkish translation additions
ilbailba Aug 5, 2022
63673f3
Prettier reformat
Anarios Aug 5, 2022
2d9809a
New layout fix
Anarios Aug 5, 2022
6be44d9
New layout fix - bar.
Anarios Aug 5, 2022
6277868
Decreased manifest version to prevent "Update your extension" warnings
Anarios Aug 5, 2022
d25d10f
Dislike formula inverted -> Correction
sy-b Aug 11, 2022
45f4c3f
Fix typos and writing style
rakleed Aug 17, 2022
9a7554b
Merge pull request #719 from ilbailba/main
Anarios Sep 1, 2022
7c7f4f3
Update SECURITY-FAQfr.md
entityfrfr Sep 7, 2022
da184d7
add support for new yt layout
hyperstown Sep 10, 2022
6a2806c
add support for new yt layout on mobile
hyperstown Sep 10, 2022
06261ed
fix dislike width
hyperstown Sep 10, 2022
59e3dc9
fix shorts number
hyperstown Sep 10, 2022
af4c0a1
fix wrong dislike button select
hyperstown Sep 10, 2022
11df4d1
HOTFIX: added aditional check for like/dislike buttons inside ACTIVE …
thiagocferr Sep 14, 2022
8c95d76
fix hidden dislike count, extension & userjs
hyperstown Sep 18, 2022
9ecdfb5
bump version
hyperstown Sep 18, 2022
805f693
fix getDislikeTextContainer for new design
hyperstown Sep 19, 2022
03c6f3b
Merge pull request #761 from hyperstown/fix-new-design-getdislikecont…
Anarios Sep 21, 2022
8f88f92
Merge pull request #754 from thiagocferr/741-Dislike-Numbers-in-Short…
Anarios Sep 21, 2022
de1831f
Merge pull request #759 from hyperstown/fix-hidden-count
Anarios Sep 21, 2022
5da54f2
fix typo
Larry-the-Pig Sep 30, 2022
69d4a68
Merge branch 'Anarios:main' into main
hyperstown Sep 30, 2022
bf74407
Fix like/dislike ratio bar offset
ErykDarnowski Oct 8, 2022
b6bec07
Fix comment
ErykDarnowski Oct 8, 2022
87e922d
fix like reformat option to work with new design
hyperstown Oct 17, 2022
f1fe41e
bump version
hyperstown Oct 17, 2022
53a24ec
Update to help page
KashBoi7 Oct 18, 2022
d796fa4
Update
KashBoi7 Oct 18, 2022
a41b003
Update en.ts
KashBoi7 Oct 18, 2022
27bdc32
Update en.ts
KashBoi7 Oct 19, 2022
417f327
Update en.ts
KashBoi7 Oct 19, 2022
a030e5e
Update en.ts
KashBoi7 Oct 19, 2022
51424d1
Add Swedish translation
Sopor Oct 24, 2022
7e14e6d
Add Swedish translation for Website
Sopor Oct 24, 2022
3f56e5e
Add Ukrainian translation
MeDustyy Oct 28, 2022
e33c179
Link to the Ukrainian translation
MeDustyy Oct 28, 2022
b5c37fc
Link to the Ukrainian translation
MeDustyy Oct 28, 2022
2efeb12
Link to the Ukrainian translation
MeDustyy Oct 28, 2022
ef353ad
Link to the Ukrainian translation
MeDustyy Oct 28, 2022
d752904
Link to the Ukrainian translation
MeDustyy Oct 28, 2022
aebc586
Link to the Ukrainian translation
MeDustyy Oct 28, 2022
1291858
Link to the Ukrainian translation
MeDustyy Oct 28, 2022
a075f75
Link to the Ukrainian translation
MeDustyy Oct 28, 2022
1fef960
Link to the Ukrainian translation
MeDustyy Oct 28, 2022
32a59d4
Link to the Ukrainian translation
MeDustyy Oct 28, 2022
3da6ec7
Add Ukrainian translation
MeDustyy Oct 28, 2022
53f132a
Add Ukrainian translation
MeDustyy Oct 28, 2022
cfb1cad
Add Ukrainian translation
MeDustyy Oct 28, 2022
04f8ed5
Link to the Ukrainian translation
MeDustyy Oct 28, 2022
8b8c096
Link to the Ukrainian translation
MeDustyy Oct 28, 2022
951a72c
Link to the Ukrainian translation
MeDustyy Oct 28, 2022
3568b6c
Link to the Ukrainian translation
MeDustyy Oct 28, 2022
7cdd4aa
Link to the Ukrainian translation
MeDustyy Oct 28, 2022
6ff63bd
Link to the Ukrainian translation
MeDustyy Oct 28, 2022
e6c20d8
Link to the Ukrainian translation
MeDustyy Oct 28, 2022
c4a150f
Link to the Ukrainian translation
MeDustyy Oct 28, 2022
c8e3e87
Functionality to select the language
MeDustyy Oct 29, 2022
14780aa
Ukrainian translator
MeDustyy Oct 29, 2022
93aabc5
Аunctionality to select the language
MeDustyy Oct 29, 2022
403f58d
Added an important checkbox
Moondarker Nov 1, 2022
02cb6fd
Fix ratiobar positioning in the new youtube design
mini-bomba Nov 1, 2022
7acb3be
Fix typo (it's -> its) in FAQ.md
thatrobotdev Nov 7, 2022
d719f4b
fix display error
hyperstown Nov 8, 2022
f1891e0
Merge pull request #814 from thatrobotdev/patch-1
Anarios Nov 10, 2022
7e2e95f
Merge pull request #804 from mini-bomba/new-layout-fix
Anarios Nov 10, 2022
b5c7b51
Merge pull request #803 from Moondarker/better-bug-report
Anarios Nov 10, 2022
861342a
Merge pull request #796 from MeDustyy/main
Anarios Nov 10, 2022
e57732e
Merge pull request #788 from Sopor/patch-1
Anarios Nov 10, 2022
e084ff3
Merge pull request #787 from Sopor/patch-2
Anarios Nov 10, 2022
033e111
Merge pull request #785 from KashBoi7/main
Anarios Nov 10, 2022
aa10f30
Merge pull request #783 from hyperstown/re-format-numbers-fix
Anarios Nov 10, 2022
06f0a8b
Merge branch 'main' into fix-like-dislike-bar-offset
Anarios Nov 10, 2022
e971c0d
Merge pull request #771 from ErykDarnowski/fix-like-dislike-bar-offset
Anarios Nov 10, 2022
fbc5370
Merge pull request #766 from Larry-the-Pig/main
Anarios Nov 10, 2022
2ef6c9b
Merge pull request #747 from entitymob/patch-1
Anarios Nov 10, 2022
9fd876f
Merge pull request #726 from sy-b/patch-1
Anarios Nov 10, 2022
84ede19
Merge pull request #728 from rakleed/patch-1
Anarios Nov 10, 2022
c919a25
Fixed typo on line 84
stilian-iliev Nov 10, 2022
a67c98c
Merge pull request #817 from stilian-iliev/main
Anarios Nov 18, 2022
f1732d1
Merge pull request #816 from hyperstown/fix_display_error
Anarios Nov 18, 2022
d12539d
Merge pull request #749 from hyperstown/main
Anarios Nov 18, 2022
8eef509
fix disappearing rate bar
hyperstown Nov 22, 2022
7db9d9d
Revert "fix disappearing rate bar"
hyperstown Nov 23, 2022
b5382ba
improve rateBar selector
hyperstown Nov 23, 2022
229be80
remove cLog
hyperstown Nov 23, 2022
684a882
Remove double quotes
ErykDarnowski Nov 26, 2022
5926b21
Fix translate typo
prestancedesign Dec 29, 2022
f93410d
Update READMEs
grantwforsythe Feb 14, 2023
44d1ea3
Show dislikes again on new YT UI (01)
sy-b Feb 16, 2023
3f2a552
fix typo causing weblint workflow to fail
sy-b Feb 16, 2023
4fc7740
Merge pull request #874 from sy-b/UIDislikeButtonFix01
Anarios Feb 18, 2023
cf74865
Merge pull request #872 from grantwforsythe/main
Anarios Feb 18, 2023
bcf8288
Merge pull request #858 from prestancedesign/patch-1
Anarios Feb 18, 2023
4a7615c
Merge pull request #829 from hyperstown/fix_disappearing_rate_bar
Anarios Feb 18, 2023
a4c763d
Revert "Show dislikes again on new YT UI (01) & fix workflow faliure"
Anarios Feb 18, 2023
0b64811
Merge pull request #876 from Anarios/revert-874-UIDislikeButtonFix01
Anarios Feb 18, 2023
3276eb7
Update popup.html
Anarios Feb 18, 2023
4573442
Merge pull request #836 from ErykDarnowski/bug/790/fix-color-themes-h…
Anarios Feb 18, 2023
7d6e3a1
Add Korean translation (#865)
liberaldev Feb 18, 2023
75a4fd5
Increase text left margin (#827)
interrrp Feb 18, 2023
0f5cab7
Fixed few typos in Ukrainian (#877)
MeDustyy Feb 18, 2023
cbfd4bc
Added a german version of the README (#863)
LunaLorea Feb 18, 2023
6d441a2
Dislike text disabled on click fix. (#828)
Arora-Sir Feb 18, 2023
cf10eea
Create dislike text container based on existing style classes (#793)
Moondarker Feb 18, 2023
557947d
new translation for READMEfr.ld and extension-description-store-frenc…
karolegodin Feb 18, 2023
a2490de
Add Dutch translation. (#768)
JxxIT Feb 18, 2023
8802b9c
added margin for the dislike text (#808)
baraaelhalabi Feb 18, 2023
931006a
Revert "added margin for the dislike text (#808)"
Anarios Feb 18, 2023
9a44acf
Show dislikes again on new YT UI (01) (2) (#886)
sy-b Mar 10, 2023
a6c945a
fix get count dislikes on mobile version of youtube (#888)
TalosDx Mar 10, 2023
0c39488
Styling, version bump, options popup
Anarios Mar 11, 2023
f680bf6
Add Safari extension build target (#896)
suhailskhan Apr 2, 2023
2cb137d
Updated locale for Greek language to correct 'el'. Create READMEgr.md…
tsarmis Apr 2, 2023
5c73825
New YouTube UI fix for userscript and extension
Anarios May 10, 2023
889089a
New YouTube UI fix
Anarios Aug 2, 2023
8f879db
New YouTube UI fix
Anarios Aug 2, 2023
f18be54
Turkish translation errors fixed (#940)
ilbailba Sep 30, 2023
b49114b
🌲 Swedish README (#937)
AminoffZ Sep 30, 2023
15caa3b
Update README.md (#903)
umerf52 Sep 30, 2023
c965d73
Added Chinese Translation (#936)
ZigaoWang Sep 30, 2023
ccbc9a7
New YouTube UI fix
Anarios Oct 12, 2023
fdf3c7f
New YouTube UI fix
Anarios Oct 12, 2023
6f8e273
Remove unused imports and add ts
AminoffZ Oct 16, 2023
e194634
Content Script to ts
AminoffZ Oct 16, 2023
319b913
Fix build, add chrome
AminoffZ Oct 16, 2023
a0c10c3
Popup types
AminoffZ Oct 16, 2023
14dbc78
Background script types
AminoffZ Oct 16, 2023
8bcc7c0
Safer storage
AminoffZ Oct 16, 2023
3e49fac
Typed buttons
AminoffZ Oct 16, 2023
42d14f0
Bars and stars typed
AminoffZ Oct 16, 2023
22e6120
Events and state typed
AminoffZ Oct 16, 2023
ed79c79
utils typed
AminoffZ Oct 16, 2023
a8fe3ae
🔏 Stricter Types
AminoffZ Oct 16, 2023
e870ce3
🧯 Add Logs
AminoffZ Oct 16, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ description: File a bug report!
# title: "(Bug): "
labels: ["bug"]
body:
- type: checkboxes
attributes:
label: Have you tried to find similar open issues?
options:
- label: "Yes, this issue is not a duplicate"
required: true
- type: input
attributes:
label: Browser
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v12.18.4
3 changes: 2 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Read this in other languages: [Français](CONTRIBUTINGfr.md)
Read this in other languages: [русский](CONTRIBUTINGru.md), [Nederlands](CONTRIBUTINGnl.md), [Français](CONTRIBUTINGfr.md), [Türkçe](CONTRIBUTINGtr.md), [українська](CONTRIBUTINGuk.md)


# Welcome To Return YouTube Dislikes contributing guide

Expand Down
4 changes: 3 additions & 1 deletion CONTRIBUTINGfr.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
Lisez ceci dans d'autres langues : [English](CONTRIBUTING.md)

Lisez ceci dans d'autres langues : [English](CONTRIBUTING.md), [русский](CONTRIBUTINGru.md), Nederlands](CONTRIBUTINGnl.md), [Türkçe](CONTRIBUTINGtr.md), [українська](CONTRIBUTINGuk.md)


# Bienvenue dans le guide de contribution à Return YouTube Dislikes

Expand Down
67 changes: 67 additions & 0 deletions CONTRIBUTINGnl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
Lees dit in andere talen: [English](CONTRIBUTINGen.md), [русский](CONTRIBUTINGru.md), [Français](CONTRIBUTINGfr.md), [Türkçe](CONTRIBUTINGtr.md)

# Welkom bij de YouTube Dislikes bijdragengids

Bedankt voor het investeren van uw tijd in het bijdragen aan ons project! Al uw wijzigingen worden weergegeven in de volgende versie van de extensie (of de [website](https://www.returnyoutubedislike.com/)).

## Aan de slag

Gebruik Prettier met standaardinstellingen voor opmaak.

#### Vereisten

U moet node en npm hebben geïnstalleerd om de gebundelde versie van de broncode te maken.

Versies gebruikt bij het instellen:

- node: 12.18.4
- npm: 6.14.6

Om de `bundled-content-script.js` te maken die de meeste bedrijfslogica van deze extensie bevat, moet u eerst alle afhankelijkheden installeren.

1. Ga naar de hoofdmap van de repo en voer het volgende uit:

```
npm install
```

2. Voer de volgende opdracht uit om `bundled-content-script.js` aan te maken dat wordt gebruikt in `manifest.json`

```
npm start // om het (de) buildbestand(en) te maken en een bestandswachter te starten die bij het opslaan opnieuw wordt geladen

// of

npm run build // om het (de) buildbestand(en) eenmaal te maken
```

Gefeliciteerd, je bent nu klaar om te ontwikkelen!

Als je nieuw bent in het ontwikkelen van Chrome-extensies of extra hulp nodig hebt, bekijk dan [deze YouTube-tutorial](https://www.youtube.com/watch?v=mdOj6HYE3_0)

### Problemen

#### Een nieuw probleem openen

Als je problemen hebt met de extensie, zoek dan eerst of het probleem nog niet is gemeld. Als dit niet het geval is, open dan een probleem, het gebruik van het probleemformulier wordt sterk aanbevolen, maar is niet verplicht.

#### Een probleem oplossen

Als je een probleem hebt gevonden waarvan je denkt dat je het zou kunnen oplossen, wees dan niet verlegen. Open een PR met de oplossing en vermeld het probleem dat u aan het oplossen bent.

### Functieverzoek:

#### Een nieuw functieverzoek openen

Als je een idee hebt voor de extensie, kun je een functieverzoek openen, maar zoek het eerst op om er zeker van te zijn dat de functie niet al is voorgesteld. Het gebruik van het functieformulier wordt sterk aanbevolen, maar is niet verplicht.

#### Een functieverzoek implementeren

Als je een functie hebt gevonden waarvan je denkt dat je die zou kunnen implementeren, wees dan niet verlegen. Open een PR met de oplossing en zorg ervoor dat u de functie vermeldt die u implementeert.

### Welke PR's accepteren we?

- Probleemoplossingen.
- Implementatie van functies.
- Typefouten of betere en gemakkelijkere woorden om te gebruiken.
- Website bijdragen.
3 changes: 2 additions & 1 deletion CONTRIBUTINGru.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Прочитать на других языках: [English](CONTRIBUTING.md)
Прочитать на других языках: [English](CONTRIBUTING.md), [Nederlands](CONTRIBUTINGnl.md), [Français](CONTRIBUTINGfr.md), [Türkçe](CONTRIBUTINGtr.md), [українська](CONTRIBUTINGuk.md)


# Добро пожаловать в руководство по внесению вклада Return YouTube Dislikes

Expand Down
67 changes: 67 additions & 0 deletions CONTRIBUTINGtr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
Bunu diğer dillerde okuyun: [English](CONTRIBUTING.md), [русский](CONTRIBUTINGru.md), [Nederlands](CONTRIBUTINGnl.md), [Français](CONTRIBUTINGfr.md), [українська](CONTRIBUTINGuk.md)

# "YouTube Dislike Sayısını Geri Getir"in katkı kılavuzuna Hoş Geldiniz

Projemize katkıda bulunmak için zaman ayırdığınız için teşekkür ederiz! Tüm değişiklikleriniz, uzantının bir sonraki sürümüne (veya [internet sitesi](https://www.returnyoutubedislike.com/)ne) yansıtılacaktır.

## Başlarken

Lütfen formatlama işlemi için, Prettier'i varsayılan ayarlardayken kullanın.

#### Ön Şartlar

Kaynağın paketlenmiş sürümünü oluşturmak için node ve npm'nin kurulu olması gerekir.

Kurulum sırasında kullanılan sürümler:

- node: 12.18.4
- npm: 6.14.6

Bu uzantının iş mantığının çoğunu içeren `bundled-content-script.js`yi oluşturmak için, önce tüm bağımlılıkları yüklemeniz gerekir.

1. Deponun köküne gidin ve şu komutu çalıştırın:

```
npm install
```

2. `manifest.json` içinde kullanılan `bundled-content-script.js` dosyasını oluşturmak için aşağıdaki komutu çalıştırın.

```
npm start // derleme dosyasının/dosyalarının oluşturulması ve kaydedilmesi sırasında çalışırken yeniden yüklenen bir dosya izleyicisini başlatmak için

// ya da

npm run build // derleme dosyasını/dosyalarını bir kez oluşturmak için
```

Tebrikler, artık geliştirmeye hazırsınız!

Chrome uzantıları geliştirme konusunda yeniyseniz veya fazladan yardıma ihtiyacınız olursa lütfen [bu YouTube öğreticisi](https://www.youtube.com/watch?v=mdOj6HYE3_0)ne bakın.

### Issue'lar

#### Yeni bir issue başlatmak

Uzantıyla ilgili herhangi bir sorununuz varsa, sorunun önceden bildirilmediğinden emin olmak için lütfen arama yapın. Eğer daha önce bildirilmediyse, bir konu açın. Sorun formunu kullanmanız şiddetle tavsiye edilir ancak zorunlu değildir.

#### Bir issue'yu çözmek

Çözebileceğinizi düşündüğünüz bir sorun bulduysanız, çekinmeyin. Düzeltmeyi içeren bir PR açın ve düzelttiğiniz sorunu belirttiğinizden emin olun.

### Özellik Talebi

#### Yeni bir özellik talebi açmak

Uzantı hakkında bir fikriniz varsa, bir özellik isteği açmaktan çekinmeyin, ancak özelliğin daha önce önerilmediğinden emin olmak için lütfen önce arama yapın. Özellik formunun kullanılması şiddetle tavsiye edilir ancak zorunlu değildir.

#### Bir özellik isteğini uygulamak

Uygulayabileceğinizi düşündüğünüz bir özellik bulduysanız, çekinmeyin. Düzeltmeyi içeren bir PR açın ve uyguladığınız özelliği belirttiğinizden emin olun.

### Hangi tür PR'leri kabul ediyoruz?

- Sorun düzeltmeleri.
- Özellik uygulaması.
- Yazım hataları veya daha anlaşılabilir ve kullanımı daha kolay kelimeler.
- Site katkıları.
67 changes: 67 additions & 0 deletions CONTRIBUTINGuk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
Read this in other languages: [English](CONTRIBUTING.md), [русский](CONTRIBUTINGru.md), [Français](CONTRIBUTINGfr.md), [Türkçe](CONTRIBUTINGtr.md)

# Вітаємо у посібнику внеску в Return YouTube Dislikes

Дякуємо, що вкладаєте свій час у розвиток нашого проєкту! Усі ваші зміни буде відображено в наступній версії розширення (або ж [вебсайту](https://www.returnyoutubedislike.com/)).

## Почнімо працювати

Будь ласка, використовуйте Prettier із налаштуваннями за замовчуванням для форматування коду.

#### Заздалегідь

Вам потрібно встановити node і npm, щоб створити bundled версію джерела.

Версії, що використовувались при налаштуванні:

- node: 12.18.4
- npm: 6.14.6

Для створення `bundled-content-script.js`, який містить більшу частину бізнес-логіки цього розширення, спочатку потрібно встановити всі залежності.

1. Перейдіть в корінь репозиторію та виконайте наступне:

```
npm install
```

2. Виконайте наступну команду, щоб створити `bundled-content-script.js`, який використовується в `manifest.json`

```
npm start // для створення файлу(ів) збірки та запуску спостерігача за файлами, який виконує hot-reload при збереженні

// або ж

npm run build // для створення файлу(ів) збірки один раз
```

Вітаємо, тепер ви готові до розробки!

Якщо ви новачок у розробці розширення Chrome або вам потрібна додаткова допомога, перегляньте [це керівництво на YouTube](https://www.youtube.com/watch?v=mdOj6HYE3_0) (англ.)

### Проблеми

#### Відкриття нової проблеми

Якщо у вас виникли проблеми з розширенням, здійсніть пошук і переконайтеся, що про цю проблему ще не повідомляли. Якщо ні, створіть Issue, використання форми проблеми наполегливо рекомендується, але не є обов’язковим.

#### Вирішення проблеми

Якщо ви знайшли проблему, і гадаєте, що можете її вирішити, не соромтеся. Створіть Pull Request на вилучення з виправленням і обов'язково вкажіть проблему, яку ви усуваєте.

### Запит функції

#### Відкриття запиту на нову функцію

Якщо у вас є ідея щодо розширення, не соромтеся створіть Pull Request, але, будь ласка, здійсніть пошук і переконайтеся, що ця функція ще не запропонована. Використання форми функції наполегливо рекомендується, але не є обов’язковим.

#### Реалізація запиту функції

Якщо ви знайшли функцію, і гадаєте, що можете її реалізувати, не соромтеся. Створіть Pull Request із виправленням і обов’язково вкажіть функцію, яку ви впроваджуєте.

### Які Pull Request ми приймаємо?

- Виправлення проблем.
- Впровадження нових функцій.
- Виправлення помилок та спрощення тексту.
- Поліпшення сайту.
7 changes: 4 additions & 3 deletions Docs/FAQ.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Read this in other languages: [Français](FAQfr.md)
Read this in other languages: [русский](FAQru.md), [Français](FAQfr.md), [Nederlands](FAQnl.md), [Türkçe](FAQtr.md), [українська](FAQuk.md)


# Frequently Asked Questions

Expand Down Expand Up @@ -36,11 +37,11 @@ The backend will switch to using a combination of archived dislike stats, estima

### **5. How is the dislike count calculated?**

RYD uses the votes from it's users to extrapolate the dislike count.
RYD uses the votes from its users to extrapolate the dislike count.

- If the video was uploaded after the API was shut down:

$$ \textup{RYD Dislike Count} = \left( \frac{\textup{RYD Users Like Count}}{\textup{RYD Users Dislike Count}} \right) \times \textup{Public Like Count} $$
$$ \textup{RYD Dislike Count} = \left( \frac{\textup{RYD Users Dislike Count}}{\textup{RYD Users Like Count}} \right) \times \textup{Public Like Count} $$

- If the RYD database somehow had the actual like and dislike count (provided by the uploader or from the archive), the dislike count will be calculated based on both - the users' votes and the archived value. The archived value will have less influence on the final count as it ages.

Expand Down
3 changes: 2 additions & 1 deletion Docs/FAQfr.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Lisez ceci dans d'autres langues : [English](FAQ.md)
Lisez ceci dans d'autres langues : [English](FAQ.md), [русский](FAQru.md), [Nederlands](FAQnl.md), [Türkçe](FAQtr.md), [українська](FAQuk.md)


# Foire Aux Questions

Expand Down
61 changes: 61 additions & 0 deletions Docs/FAQnl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
Lees dit in andere talen: [Engels](FAQ.md), [русский](FAQru.md), [Français](FAQfr.md), [Türkçe](FAQtr.md)

# Veel Gestelde Vragen

## Raadpleeg deze voordat u een vraag stelt op GitHub of Discord.

<br>

### **1. Waar haalt deze extensie de gegevens vandaan?**

Een combinatie van Google API's en geschraapte gegevens.

We slaan alle beschikbare gegevens op in onze database, zodat deze beschikbaar is nadat Google het aantal dislikes in hun API heeft stopgezet.

<br>

### **2. Het aantal video-dislikes wordt niet bijgewerkt**

Op dit moment worden video's die niet leuk zijn in het cachegeheugen opgeslagen en worden niet erg vaak bijgewerkt. Eens in de 2-3 dagen, niet vaker.

Ja, het is niet ideaal, maar het is wat het is. Werken aan het verbeteren van hoe vaak we ze kunnen bijwerken.

<br>

### **3. Hoe werkt dit?**

De extensie verzamelt de video-ID van de video die je aan het bekijken bent, haalt de dislike (en andere velden zoals views, likes etc) op met behulp van onze API. Als dit de eerste keer is dat de video wordt opgehaald door onze API, zal deze de YouTube API gebruiken om de gegevens op te halen, slaat de gegevens vervolgens op in een database voor caching (cache voor ongeveer 2-3 dagen) en archiveringsdoeleinden en stuurt ze naar u terug. De extensie geeft vervolgens de antipathieën aan u weer.

<br>

### **4. Wat gebeurt er nadat de YouTube API stopt met het teruggeven van het aantal dislikes?**

De backend zal overschakelen naar het gebruik van een combinatie van afkeer statistieken en afkeer archieven, schattingen geëxtrapoleerd uit gebruikersgegevens van extensies en schattingen op basis van weergave/vind-ik-leuk-verhoudingen voor video's waarvan de afkeuren niet zijn gearchiveerd en voor verouderde afkeer-archieven.

<br>

### **5. Hoe wordt het aantal dislikes berekend?**

RYD gebruikt de stemmen van zijn gebruikers om het aantal dislikes te extrapoleren.

- Als de video is geüpload nadat de API was afgesloten:

$$ \textup{RYD Dislike Count} = \left( \frac{\textup{RYD Users Like Count}}{\textup{RYD Users Dislike Count}} \right) \times \textup{Public Like Count} $$

- Als de RYD-database op de een of andere manier het werkelijke aantal likes en dislikes had (geleverd door de uploader of uit het archief), wordt het aantal dislikes berekend op basis van zowel de stemmen van de gebruikers als de gearchiveerde waarde. De gearchiveerde waarde heeft minder invloed op de uiteindelijke telling naarmate deze ouder wordt.

<br>

---

Dit in videovorm

[![IReturn YouTube Dislike Uitgelegd (Engels)](https://yt-embed.herokuapp.com/embed?v=GSmmtv-0yYQ)](https://www.youtube.com/watch?v=GSmmtv-0yYQ)

---

<br>

## Ik heb zorgen over de beveiliging/privacy

Bekijk [deze pagina](SECURITY-FAQnl.md) voor meer informatie.
Loading