mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-12-02 19:01:21 +01:00
Fixes after merges, prettier globally applied
This commit is contained in:
1 parent
58161ac123
commit
b0cb173830
45 files changed
+1018
-777
No files matched your search
@@ -3,21 +3,21 @@ description: File a bug report!
|
|||||||
# title: "(Bug): "
|
# title: "(Bug): "
|
||||||
labels: ["bug"]
|
labels: ["bug"]
|
||||||
body:
|
body:
|
||||||
- type: input
|
- type: input
|
||||||
attributes:
|
attributes:
|
||||||
label: Browser
|
label: Browser
|
||||||
description: Which browser are you using?
|
description: Which browser are you using?
|
||||||
placeholder: "Example: Google Chrome"
|
placeholder: "Example: Google Chrome"
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: input
|
- type: input
|
||||||
attributes:
|
attributes:
|
||||||
label: Browser Version
|
label: Browser Version
|
||||||
description: Which browser version are you using?
|
description: Which browser version are you using?
|
||||||
placeholder: "Example: Chromium v95"
|
placeholder: "Example: Chromium v95"
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: dropdown
|
- type: dropdown
|
||||||
attributes:
|
attributes:
|
||||||
label: "Extension or Userscript?"
|
label: "Extension or Userscript?"
|
||||||
options:
|
options:
|
||||||
@@ -25,21 +25,21 @@ body:
|
|||||||
- Userscript
|
- Userscript
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: input
|
- type: input
|
||||||
attributes:
|
attributes:
|
||||||
label: Extension/Userscript Version
|
label: Extension/Userscript Version
|
||||||
description: Which extension/userscript version are you using?
|
description: Which extension/userscript version are you using?
|
||||||
placeholder: "Example: Version 0.0.0.1"
|
placeholder: "Example: Version 0.0.0.1"
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: input
|
- type: input
|
||||||
attributes:
|
attributes:
|
||||||
label: Video link where you see the problem
|
label: Video link where you see the problem
|
||||||
description: Video link where you see the problem
|
description: Video link where you see the problem
|
||||||
placeholder: "Example: https://www.youtube.com/watch?v=s4-gMgdsnHQ"
|
placeholder: "Example: https://www.youtube.com/watch?v=s4-gMgdsnHQ"
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: textarea
|
- type: textarea
|
||||||
attributes:
|
attributes:
|
||||||
label: What happened?
|
label: What happened?
|
||||||
description: Also tell us, what did you expect to happen?
|
description: Also tell us, what did you expect to happen?
|
||||||
@@ -47,7 +47,7 @@ body:
|
|||||||
value: "A bug happened!"
|
value: "A bug happened!"
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: textarea
|
- type: textarea
|
||||||
attributes:
|
attributes:
|
||||||
label: How to reproduce/recreate?
|
label: How to reproduce/recreate?
|
||||||
description: Detailed steps to reproduce/recreate it.
|
description: Detailed steps to reproduce/recreate it.
|
||||||
@@ -55,7 +55,7 @@ body:
|
|||||||
value: "Tell us how it happened with detailed steps for us."
|
value: "Tell us how it happened with detailed steps for us."
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: dropdown
|
- type: dropdown
|
||||||
attributes:
|
attributes:
|
||||||
label: "Will you be available for follow-up questions to help developers diagnose & fix the issue?"
|
label: "Will you be available for follow-up questions to help developers diagnose & fix the issue?"
|
||||||
options:
|
options:
|
||||||
@@ -63,5 +63,3 @@ body:
|
|||||||
- "No"
|
- "No"
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
|
|
||||||
@@ -3,7 +3,7 @@ description: Request or suggest a new feature!
|
|||||||
# title: "(Feature Request): "
|
# title: "(Feature Request): "
|
||||||
labels: ["enhancement"]
|
labels: ["enhancement"]
|
||||||
body:
|
body:
|
||||||
- type: dropdown
|
- type: dropdown
|
||||||
attributes:
|
attributes:
|
||||||
label: Extension or Userscript?
|
label: Extension or Userscript?
|
||||||
options:
|
options:
|
||||||
@@ -12,23 +12,23 @@ body:
|
|||||||
- Both
|
- Both
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: textarea
|
- type: textarea
|
||||||
attributes:
|
attributes:
|
||||||
label: Request or suggest a new feature!
|
label: Request or suggest a new feature!
|
||||||
placeholder: I want to suggest...
|
placeholder: I want to suggest...
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: textarea
|
- type: textarea
|
||||||
attributes:
|
attributes:
|
||||||
label: Ways to implement this!
|
label: Ways to implement this!
|
||||||
placeholder: We can implement it by...
|
placeholder: We can implement it by...
|
||||||
- type: checkboxes
|
- type: checkboxes
|
||||||
attributes:
|
attributes:
|
||||||
label: Can you work on this?
|
label: Can you work on this?
|
||||||
options:
|
options:
|
||||||
- label: "Yes"
|
- label: "Yes"
|
||||||
- label: "No"
|
- label: "No"
|
||||||
- type: dropdown
|
- type: dropdown
|
||||||
attributes:
|
attributes:
|
||||||
label: "Will you be available for follow-up questions to help developers implement this?"
|
label: "Will you be available for follow-up questions to help developers implement this?"
|
||||||
options:
|
options:
|
||||||
@@ -36,4 +36,3 @@ body:
|
|||||||
- "No"
|
- "No"
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
@@ -5,7 +5,6 @@ on:
|
|||||||
types: created
|
types: created
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
assign-commenter:
|
assign-commenter:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: |
|
if: |
|
||||||
|
|||||||
@@ -4,18 +4,17 @@ name: Website Lint
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
branches: [main]
|
||||||
paths:
|
paths:
|
||||||
- Website/**
|
- Website/**
|
||||||
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ main ]
|
branches: [main]
|
||||||
paths:
|
paths:
|
||||||
- Website/**
|
- Website/**
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
weblint:
|
weblint:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
+8
-1
@@ -5,6 +5,7 @@ Read this in other languages: [Français](CONTRIBUTINGfr.md)
|
|||||||
Thank you for investing your time in contributing to our project! All your changes will be reflected in the next version of the extension (or the [website](https://www.returnyoutubedislike.com/)).
|
Thank you for investing your time in contributing to our project! All your changes will be reflected in the next version of the extension (or the [website](https://www.returnyoutubedislike.com/)).
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
Please use Prettier with default settings for formatting.
|
Please use Prettier with default settings for formatting.
|
||||||
|
|
||||||
#### Prerequisites
|
#### Prerequisites
|
||||||
@@ -38,22 +39,28 @@ Congratulations, You are now ready to develop!
|
|||||||
|
|
||||||
If you are new to developing Chrome extensions, or need extra help, please see [this YouTube tutorial](https://www.youtube.com/watch?v=mdOj6HYE3_0)
|
If you are new to developing Chrome extensions, or need extra help, please see [this YouTube tutorial](https://www.youtube.com/watch?v=mdOj6HYE3_0)
|
||||||
|
|
||||||
|
|
||||||
### Issues
|
### Issues
|
||||||
|
|
||||||
#### Opening a new issue
|
#### Opening a new issue
|
||||||
|
|
||||||
If you have any issues with the extension, please search to make sure the issue isn't already reported. If it isn't, open an issue, using the issue form is highly recommended but not mandatory.
|
If you have any issues with the extension, please search to make sure the issue isn't already reported. If it isn't, open an issue, using the issue form is highly recommended but not mandatory.
|
||||||
|
|
||||||
#### Solving an issue
|
#### Solving an issue
|
||||||
|
|
||||||
If you found an issue that you feel you might be able to solve, don't be shy. Open a PR with the fix and make sure to mention the issue you are fixing.
|
If you found an issue that you feel you might be able to solve, don't be shy. Open a PR with the fix and make sure to mention the issue you are fixing.
|
||||||
|
|
||||||
### Feature Request
|
### Feature Request
|
||||||
|
|
||||||
#### Opening a new feature request
|
#### Opening a new feature request
|
||||||
|
|
||||||
If you have an idea for the extension, feel free to open a feature request, but please search it before to make sure the feature isn't already suggested. Using the feature form is highly recommended but not mandatory
|
If you have an idea for the extension, feel free to open a feature request, but please search it before to make sure the feature isn't already suggested. Using the feature form is highly recommended but not mandatory
|
||||||
|
|
||||||
#### Implementing a feature request
|
#### Implementing a feature request
|
||||||
|
|
||||||
If you found a feature that you feel you might be able to implement, don't be shy. Open a PR with the fix and make sure to mention the feature you are implementing.
|
If you found a feature that you feel you might be able to implement, don't be shy. Open a PR with the fix and make sure to mention the feature you are implementing.
|
||||||
|
|
||||||
### What PRs do we accept?
|
### What PRs do we accept?
|
||||||
|
|
||||||
- Issue fixes.
|
- Issue fixes.
|
||||||
- Feature implementation.
|
- Feature implementation.
|
||||||
- Typos or better and easier words to use.
|
- Typos or better and easier words to use.
|
||||||
|
|||||||
+9
-1
@@ -5,9 +5,11 @@ Lisez ceci dans d'autres langues : [English](CONTRIBUTING.md)
|
|||||||
Merci d'investir votre temps pour contribuer à notre projet ! Toutes vos modifications seront prises en compte dans la prochaine version de l'extension (ou du site web).
|
Merci d'investir votre temps pour contribuer à notre projet ! Toutes vos modifications seront prises en compte dans la prochaine version de l'extension (ou du site web).
|
||||||
|
|
||||||
## Pour commencer
|
## Pour commencer
|
||||||
|
|
||||||
Veuillez utiliser [Prettier](https://prettier.io/) avec les paramètres par défaut pour le formatage du code.
|
Veuillez utiliser [Prettier](https://prettier.io/) avec les paramètres par défaut pour le formatage du code.
|
||||||
|
|
||||||
#### Prérequis
|
#### Prérequis
|
||||||
|
|
||||||
Vous devez avoir installé node et npm pour créer la version bundle depuis le code source.
|
Vous devez avoir installé node et npm pour créer la version bundle depuis le code source.
|
||||||
|
|
||||||
Versions utilisées lors de la mise en place :
|
Versions utilisées lors de la mise en place :
|
||||||
@@ -37,22 +39,28 @@ Félicitations, vous êtes maintenant prêt·e à développer !
|
|||||||
|
|
||||||
Si vous n'avez jamais développé d'extensions pour Chrome ou si vous avez besoin d'une aide supplémentaire, consultez [ce tutoriel YouTube](https://www.youtube.com/watch?v=mdOj6HYE3_0) (en anglais).
|
Si vous n'avez jamais développé d'extensions pour Chrome ou si vous avez besoin d'une aide supplémentaire, consultez [ce tutoriel YouTube](https://www.youtube.com/watch?v=mdOj6HYE3_0) (en anglais).
|
||||||
|
|
||||||
|
|
||||||
### Problèmes (aussi appelé issues en anglais)
|
### Problèmes (aussi appelé issues en anglais)
|
||||||
|
|
||||||
#### Signaler un problème
|
#### Signaler un problème
|
||||||
|
|
||||||
Si vous rencontrez des problèmes avec l'extension, vérifiez que le problème n'a pas déjà été signalé. Si ce n'est pas le cas, [signalez le problème](https://github.com/Anarios/return-youtube-dislike/issues/new?assignees=&labels=bug&template=bug.yml&title=%28Bug%29%3A+), en utilisant le formulaire qui est fortement recommandé mais pas obligatoire.
|
Si vous rencontrez des problèmes avec l'extension, vérifiez que le problème n'a pas déjà été signalé. Si ce n'est pas le cas, [signalez le problème](https://github.com/Anarios/return-youtube-dislike/issues/new?assignees=&labels=bug&template=bug.yml&title=%28Bug%29%3A+), en utilisant le formulaire qui est fortement recommandé mais pas obligatoire.
|
||||||
|
|
||||||
#### Résoudre un problème
|
#### Résoudre un problème
|
||||||
|
|
||||||
Si vous avez trouvé un problème que vous pensez pouvoir résoudre, ne soyez pas timide. Ouvrez une [PR](https://github.com/Anarios/return-youtube-dislike/pulls) [(C'est quoi ?)](https://blog.zenika.com/2017/01/24/pull-request-demystifie/) avec la solution et assurez-vous de mentionner le problème que vous résolvez (écrivez # puis le numéro de l'issue).
|
Si vous avez trouvé un problème que vous pensez pouvoir résoudre, ne soyez pas timide. Ouvrez une [PR](https://github.com/Anarios/return-youtube-dislike/pulls) [(C'est quoi ?)](https://blog.zenika.com/2017/01/24/pull-request-demystifie/) avec la solution et assurez-vous de mentionner le problème que vous résolvez (écrivez # puis le numéro de l'issue).
|
||||||
|
|
||||||
### Demande de fonctionnalité (aussi appelé feature request en anglais)
|
### Demande de fonctionnalité (aussi appelé feature request en anglais)
|
||||||
|
|
||||||
#### Ouverture d'une nouvelle demande de fonctionnalité
|
#### Ouverture d'une nouvelle demande de fonctionnalité
|
||||||
|
|
||||||
Si vous avez une idée pour l'extension, n'hésitez pas à [ouvrir une demande de fonctionnalité](https://github.com/Anarios/return-youtube-dislike/issues/new?assignees=&labels=enhancement&template=feature-request.yml&title=%28Feature+Request%29%3A+), mais veuillez effectuer une recherche préalable pour vous assurer que la fonctionnalité n'est pas déjà proposée. L'utilisation du formulaire de demande de fonctionnalité est fortement recommandée mais pas obligatoire.
|
Si vous avez une idée pour l'extension, n'hésitez pas à [ouvrir une demande de fonctionnalité](https://github.com/Anarios/return-youtube-dislike/issues/new?assignees=&labels=enhancement&template=feature-request.yml&title=%28Feature+Request%29%3A+), mais veuillez effectuer une recherche préalable pour vous assurer que la fonctionnalité n'est pas déjà proposée. L'utilisation du formulaire de demande de fonctionnalité est fortement recommandée mais pas obligatoire.
|
||||||
|
|
||||||
#### Implémenter une demande de fonctionnalité
|
#### Implémenter une demande de fonctionnalité
|
||||||
|
|
||||||
Si vous avez trouvé une fonctionnalité que vous pensez pouvoir mettre en œuvre, ne soyez pas timide. Ouvrez une [PR](https://github.com/Anarios/return-youtube-dislike/pulls) [(C'est quoi ?)](https://blog.zenika.com/2017/01/24/pull-request-demystifie/) avec le correctif et assurez-vous de mentionner la fonctionnalité que vous implémentez (écrivez # puis le numéro de l'issue).
|
Si vous avez trouvé une fonctionnalité que vous pensez pouvoir mettre en œuvre, ne soyez pas timide. Ouvrez une [PR](https://github.com/Anarios/return-youtube-dislike/pulls) [(C'est quoi ?)](https://blog.zenika.com/2017/01/24/pull-request-demystifie/) avec le correctif et assurez-vous de mentionner la fonctionnalité que vous implémentez (écrivez # puis le numéro de l'issue).
|
||||||
|
|
||||||
### Quels PR acceptons-nous ?
|
### Quels PR acceptons-nous ?
|
||||||
|
|
||||||
- Correction de problèmes.
|
- Correction de problèmes.
|
||||||
- Implémentation de fonctionnalités.
|
- Implémentation de fonctionnalités.
|
||||||
- Fautes de frappe ou utilisation de mots plus simples et plus efficaces.
|
- Fautes de frappe ou utilisation de mots plus simples et plus efficaces.
|
||||||
|
|||||||
+8
-1
@@ -5,6 +5,7 @@
|
|||||||
Благодарим вас за то, что вы потратили своё время на участие в нашем проекте! Все ваши изменения будут отражены в следующей версии расширения (или на [сайте](https://www.returnyoutubedislike.com/)).
|
Благодарим вас за то, что вы потратили своё время на участие в нашем проекте! Все ваши изменения будут отражены в следующей версии расширения (или на [сайте](https://www.returnyoutubedislike.com/)).
|
||||||
|
|
||||||
## Приступая к работе
|
## Приступая к работе
|
||||||
|
|
||||||
Пожалуйста, используйте Prettier с настройками по умолчанию для форматирования кода.
|
Пожалуйста, используйте Prettier с настройками по умолчанию для форматирования кода.
|
||||||
|
|
||||||
#### Необходимое
|
#### Необходимое
|
||||||
@@ -38,22 +39,28 @@ npm run build // для создания файла(ов) сборки один
|
|||||||
|
|
||||||
Если вы новичок в разработке расширений Chrome или вам нужна дополнительная помощь, посмотрите [это руководство на YouTube (англ.)](https://www.youtube.com/watch?v=mdOj6HYE3_0)
|
Если вы новичок в разработке расширений Chrome или вам нужна дополнительная помощь, посмотрите [это руководство на YouTube (англ.)](https://www.youtube.com/watch?v=mdOj6HYE3_0)
|
||||||
|
|
||||||
|
|
||||||
### Вопросы
|
### Вопросы
|
||||||
|
|
||||||
#### Открытие нового вопроса/проблемы
|
#### Открытие нового вопроса/проблемы
|
||||||
|
|
||||||
Если у вас возникли проблемы с расширением, пожалуйста, поищите, чтобы убедиться, что о проблеме ещё не сообщалось. Если это не так, откройте вопрос(issue), использование формы проблемы настоятельно рекомендуется, но не является обязательным.
|
Если у вас возникли проблемы с расширением, пожалуйста, поищите, чтобы убедиться, что о проблеме ещё не сообщалось. Если это не так, откройте вопрос(issue), использование формы проблемы настоятельно рекомендуется, но не является обязательным.
|
||||||
|
|
||||||
#### Решение вопроса
|
#### Решение вопроса
|
||||||
|
|
||||||
Если вы нашли проблему, которую, как вам кажется, вы можете решить, не стесняйтесь. Откройте запрос на извлечение(pull request) с исправлением и обязательно укажите вопрос, который вы устраняете.
|
Если вы нашли проблему, которую, как вам кажется, вы можете решить, не стесняйтесь. Откройте запрос на извлечение(pull request) с исправлением и обязательно укажите вопрос, который вы устраняете.
|
||||||
|
|
||||||
### Запрос функции
|
### Запрос функции
|
||||||
|
|
||||||
#### Открытие запроса на новую функцию
|
#### Открытие запроса на новую функцию
|
||||||
|
|
||||||
Если у вас есть идея для расширения, не стесняйтесь открыть запрос на функцию, но, пожалуйста, прежде поищите другие запросы, чтобы убедиться, что функция уже не предложена. Использование формы запроса функции настоятельно рекомендуется, но не является обязательным
|
Если у вас есть идея для расширения, не стесняйтесь открыть запрос на функцию, но, пожалуйста, прежде поищите другие запросы, чтобы убедиться, что функция уже не предложена. Использование формы запроса функции настоятельно рекомендуется, но не является обязательным
|
||||||
|
|
||||||
#### Внедрение запроса на функцию
|
#### Внедрение запроса на функцию
|
||||||
|
|
||||||
Если вы нашли функцию, которую, как вам кажется, вы могли бы реализовать, не стесняйтесь. Откройте запрос на извлечение(pull request) с исправлением и обязательно укажите функцию, которую вы реализуете.
|
Если вы нашли функцию, которую, как вам кажется, вы могли бы реализовать, не стесняйтесь. Откройте запрос на извлечение(pull request) с исправлением и обязательно укажите функцию, которую вы реализуете.
|
||||||
|
|
||||||
### Какие запросы на извлечение(pull request) мы принимаем?
|
### Какие запросы на извлечение(pull request) мы принимаем?
|
||||||
|
|
||||||
- Исправления проблем.
|
- Исправления проблем.
|
||||||
- Внедрения новых функций.
|
- Внедрения новых функций.
|
||||||
- Исправления опечаток и упрощение текста.
|
- Исправления опечаток и упрощение текста.
|
||||||
|
|||||||
@@ -1,11 +1,13 @@
|
|||||||
Read this in other languages: [Français](FAQfr.md)
|
Read this in other languages: [Français](FAQfr.md)
|
||||||
|
|
||||||
# Frequently Asked Questions
|
# Frequently Asked Questions
|
||||||
|
|
||||||
## Before asking a question on GitHub or Discord, please refer to this.
|
## Before asking a question on GitHub or Discord, please refer to this.
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
### **1. Where does this extension get the data?**
|
### **1. Where does this extension get the data?**
|
||||||
|
|
||||||
A Combination of Google APIs and scraped data.
|
A Combination of Google APIs and scraped data.
|
||||||
|
|
||||||
We save all available data to our DB for it to be available after Google shuts down dislike counts in their API.
|
We save all available data to our DB for it to be available after Google shuts down dislike counts in their API.
|
||||||
@@ -13,6 +15,7 @@ We save all available data to our DB for it to be available after Google shuts d
|
|||||||
<br>
|
<br>
|
||||||
|
|
||||||
### **2. Video dislike count doesn't update**
|
### **2. Video dislike count doesn't update**
|
||||||
|
|
||||||
Right now video dislikes are cached, and aren't updated very frequenly. Once every 2-3 days, not more often.
|
Right now video dislikes are cached, and aren't updated very frequenly. Once every 2-3 days, not more often.
|
||||||
|
|
||||||
Yeah, it's not ideal, but it is what it is. Working on improving how often we can update them.
|
Yeah, it's not ideal, but it is what it is. Working on improving how often we can update them.
|
||||||
@@ -20,11 +23,13 @@ Yeah, it's not ideal, but it is what it is. Working on improving how often we ca
|
|||||||
<br>
|
<br>
|
||||||
|
|
||||||
### **3. How does this work?**
|
### **3. How does this work?**
|
||||||
|
|
||||||
The extension collects the video id of the video you are watching, fetches the dislike (and other fields like views, likes etc) using our API, if this is the first time the video was fetched by our API, it will use the YouTube API to get the data, then stores the data in a database for caching (cached for around 2-3 days) and archiving purposes and returns it to you. The extension then displays the dislikes to you.
|
The extension collects the video id of the video you are watching, fetches the dislike (and other fields like views, likes etc) using our API, if this is the first time the video was fetched by our API, it will use the YouTube API to get the data, then stores the data in a database for caching (cached for around 2-3 days) and archiving purposes and returns it to you. The extension then displays the dislikes to you.
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
### **4. What will happen after the YouTube API stops returning the dislike count?**
|
### **4. What will happen after the YouTube API stops returning the dislike count?**
|
||||||
|
|
||||||
The backend will switch to using a combination of archived dislike stats, estimates extrapolated from extension user data and estimates based on view/like ratios for videos whose dislikes weren't archived and for outdated dislike archives.
|
The backend will switch to using a combination of archived dislike stats, estimates extrapolated from extension user data and estimates based on view/like ratios for videos whose dislikes weren't archived and for outdated dislike archives.
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
@@ -52,4 +57,5 @@ This in video form
|
|||||||
<br>
|
<br>
|
||||||
|
|
||||||
## I have security / privacy concerns
|
## I have security / privacy concerns
|
||||||
|
|
||||||
See [this page](SECURITY-FAQ.md) for more info.
|
See [this page](SECURITY-FAQ.md) for more info.
|
||||||
@@ -1,23 +1,29 @@
|
|||||||
Lisez ceci dans d'autres langues : [English](FAQ.md)
|
Lisez ceci dans d'autres langues : [English](FAQ.md)
|
||||||
|
|
||||||
# Foire Aux Questions
|
# Foire Aux Questions
|
||||||
|
|
||||||
## Avant de poser une question sur GitHub ou Discord, veuillez vous référer à ceci.
|
## Avant de poser une question sur GitHub ou Discord, veuillez vous référer à ceci.
|
||||||
|
|
||||||
### **1. Où cette extension obtient-elle les données ?**
|
### **1. Où cette extension obtient-elle les données ?**
|
||||||
|
|
||||||
Une combinaison d'API de Google et de données scrapées.
|
Une combinaison d'API de Google et de données scrapées.
|
||||||
|
|
||||||
Nous sauvegardons toutes les données disponibles dans notre base de données pour qu'elles soient disponibles après que Google ait supprimé le compteur de dislikes dans son API.
|
Nous sauvegardons toutes les données disponibles dans notre base de données pour qu'elles soient disponibles après que Google ait supprimé le compteur de dislikes dans son API.
|
||||||
|
|
||||||
### **2. Le nombre de dislikes sur les vidéos n'est pas mis à jour**
|
### **2. Le nombre de dislikes sur les vidéos n'est pas mis à jour**
|
||||||
|
|
||||||
Actuellement, les dislike sont mis en cache et ne sont pas mis à jour très fréquemment. Une fois tous les 2-3 jours, pas plus souvent.
|
Actuellement, les dislike sont mis en cache et ne sont pas mis à jour très fréquemment. Une fois tous les 2-3 jours, pas plus souvent.
|
||||||
|
|
||||||
Oui, ce n'est pas idéal, mais c'est ce que c'est. Nous travaillons à améliorer la fréquence des mises à jour.
|
Oui, ce n'est pas idéal, mais c'est ce que c'est. Nous travaillons à améliorer la fréquence des mises à jour.
|
||||||
|
|
||||||
### **3. Comment cela fonctionne-t-il ?**
|
### **3. Comment cela fonctionne-t-il ?**
|
||||||
|
|
||||||
L'extension collecte l'ID de la vidéo que vous regardez, récupère les dislikes (et d'autres champs comme les vues, les likes etc.) en utilisant notre API, si c'est la première fois que la vidéo a été récupérée par notre API, elle utilisera l'API YouTube pour obtenir les données, puis stocke les données dans une base de données pour la mise en cache (mise en cache pendant environ 2-3 jours) et à des fins d'archivage et vous les renvoie. L'extension vous affiche ensuite les dislikes.
|
L'extension collecte l'ID de la vidéo que vous regardez, récupère les dislikes (et d'autres champs comme les vues, les likes etc.) en utilisant notre API, si c'est la première fois que la vidéo a été récupérée par notre API, elle utilisera l'API YouTube pour obtenir les données, puis stocke les données dans une base de données pour la mise en cache (mise en cache pendant environ 2-3 jours) et à des fins d'archivage et vous les renvoie. L'extension vous affiche ensuite les dislikes.
|
||||||
|
|
||||||
### **4. Que se passera-t-il lorsque l'API YouTube ne renverra plus le nombre de dislikes ?**
|
### **4. Que se passera-t-il lorsque l'API YouTube ne renverra plus le nombre de dislikes ?**
|
||||||
|
|
||||||
Le backend utilisera une combinaison de statistiques du nombre de dislikes archivées, d'estimations extrapolées à partir des données d'extension des utilisateurs et d'estimations basées sur les ratios vues/likes pour les vidéos dont les dislikes n'ont pas été archivées et pour les archives dont le nombre de dislikes est obsolète.
|
Le backend utilisera une combinaison de statistiques du nombre de dislikes archivées, d'estimations extrapolées à partir des données d'extension des utilisateurs et d'estimations basées sur les ratios vues/likes pour les vidéos dont les dislikes n'ont pas été archivées et pour les archives dont le nombre de dislikes est obsolète.
|
||||||
|
|
||||||
## Je suis préoccupé par la sécurité / la confidentialité
|
## Je suis préoccupé par la sécurité / la confidentialité
|
||||||
|
|
||||||
Voir [cette page](SECURITY-FAQfr.md) pour plus d'informations.
|
Voir [cette page](SECURITY-FAQfr.md) pour plus d'informations.
|
||||||
@@ -1,5 +1,3 @@
|
|||||||
|
|
||||||
|
|
||||||
**Contents**
|
**Contents**
|
||||||
|
|
||||||
- [Downloading](#downloading)
|
- [Downloading](#downloading)
|
||||||
@@ -193,7 +191,6 @@ For now, you can try this
|
|||||||
|
|
||||||
- Although app(s) which use this API exist, they aren't official.
|
- Although app(s) which use this API exist, they aren't official.
|
||||||
|
|
||||||
|
|
||||||
##### On Firefox
|
##### On Firefox
|
||||||
|
|
||||||
1. Install Firefox Nightly. Refer to this blog post for the procedure: [Expanded extension support in Firefox for Android Nightly](https://blog.mozilla.org/addons/2020/09/29/expanded-extension-support-in-firefox-for-android-nightly/)
|
1. Install Firefox Nightly. Refer to this blog post for the procedure: [Expanded extension support in Firefox for Android Nightly](https://blog.mozilla.org/addons/2020/09/29/expanded-extension-support-in-firefox-for-android-nightly/)
|
||||||
@@ -316,13 +313,8 @@ But still - here are the steps:
|
|||||||
<!-- links -->
|
<!-- links -->
|
||||||
|
|
||||||
[1]: https://chrome.google.com/webstore/detail/return-youtube-dislike/gebbhagfogifgggkldgodflihgfeippi
|
[1]: https://chrome.google.com/webstore/detail/return-youtube-dislike/gebbhagfogifgggkldgodflihgfeippi
|
||||||
|
|
||||||
[2]: https://addons.mozilla.org/en-US/firefox/addon/return-youtube-dislikes/
|
[2]: https://addons.mozilla.org/en-US/firefox/addon/return-youtube-dislikes/
|
||||||
|
|
||||||
[3]: https://github.com/Anarios/return-youtube-dislike/raw/main/Extensions/UserScript/Return%20Youtube%20Dislike.user.js
|
[3]: https://github.com/Anarios/return-youtube-dislike/raw/main/Extensions/UserScript/Return%20Youtube%20Dislike.user.js
|
||||||
|
|
||||||
[4]: https://en.wikipedia.org/wiki/Chromium_(web_browser)#Browsers_based_on_Chromium
|
[4]: https://en.wikipedia.org/wiki/Chromium_(web_browser)#Browsers_based_on_Chromium
|
||||||
|
|
||||||
[5]: https://en.wikipedia.org/wiki/Category:Web_browsers_based_on_Firefox
|
[5]: https://en.wikipedia.org/wiki/Category:Web_browsers_based_on_Firefox
|
||||||
|
|
||||||
[6]: chrome://extensions
|
[6]: chrome://extensions
|
||||||
@@ -113,7 +113,7 @@ If it does, find the extension(s) preventing RYD from working correctly and re-c
|
|||||||
|
|
||||||
### Known conflicts
|
### Known conflicts
|
||||||
|
|
||||||
>### scriptSafe
|
> ### scriptSafe
|
||||||
>
|
>
|
||||||
> **Solution:** Trust `returnyoutubedislikeapi.com` manually
|
> **Solution:** Trust `returnyoutubedislikeapi.com` manually
|
||||||
>
|
>
|
||||||
@@ -179,9 +179,6 @@ Coming soon. Please have patience.
|
|||||||
<!-- links -->
|
<!-- links -->
|
||||||
|
|
||||||
[1]: https://en.wikipedia.org/wiki/Chromium_(web_browser)#Browsers_based_on_Chromium
|
[1]: https://en.wikipedia.org/wiki/Chromium_(web_browser)#Browsers_based_on_Chromium
|
||||||
|
|
||||||
[2]: https://en.wikipedia.org/wiki/Category:Web_browsers_based_on_Firefox
|
[2]: https://en.wikipedia.org/wiki/Category:Web_browsers_based_on_Firefox
|
||||||
|
|
||||||
[3]: https://discord.gg/mYnESY4Md5
|
[3]: https://discord.gg/mYnESY4Md5
|
||||||
|
|
||||||
[4]: #contact-in-discord-server
|
[4]: #contact-in-discord-server
|
||||||
@@ -29,4 +29,3 @@ We have implemented measures to prevent bot attacks and are gonna continue to wo
|
|||||||
### Why don't you share the backend code?
|
### Why don't you share the backend code?
|
||||||
|
|
||||||
We will share it at some point - but there's really no real reason to share it right now. It gives a false sense of security - because in a zero-trust system, we could just as well disclose one version but deploy another. There are plenty of reasons to keep the code hidden, specifically, how we battle spam. Hiding/Obfuscating the spam handling code is a fairly standard practice.
|
We will share it at some point - but there's really no real reason to share it right now. It gives a false sense of security - because in a zero-trust system, we could just as well disclose one version but deploy another. There are plenty of reasons to keep the code hidden, specifically, how we battle spam. Hiding/Obfuscating the spam handling code is a fairly standard practice.
|
||||||
|
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
### Я слышал обсуждение OAuth и доступа к моему аккаунту на YouTube!
|
### Я слышал обсуждение OAuth и доступа к моему аккаунту на YouTube!
|
||||||
|
|
||||||
Эта функция будет необязательной и очень нужной. Если вы являетесь создателем YouTube и хотите поделиться с нами статистикой отметок «Не нравится», вы можете это сделать. По своей структуре [OAuth](https://ru.wikipedia.org/wiki/OAuth#:~:text=%D0%B1%D0%B5%D0%B7%20%D0%BF%D0%B5%D1%80%D0%B5%D0%B4%D0%B0%D1%87%D0%B8%20%D0%B5%D0%B9%20(%D1%82%D1%80%D0%B5%D1%82%D1%8C%D0%B5%D0%B9%20%D1%81%D1%82%D0%BE%D1%80%D0%BE%D0%BD%D0%B5)%20%D0%BB%D0%BE%D0%B3%D0%B8%D0%BD%D0%B0%20%D0%B8%20%D0%BF%D0%B0%D1%80%D0%BE%D0%BB%D1%8F) очень безопасен. Вы можете отозвать доступ к своему аккаунту в любое время, и можете дать нам ограниченные разрешения. Мы не будем запрашивать никаких разрешений, которые не требуются. Мы будем запрашивать разрешения только для просмотра статистики ваших видео.
|
Эта функция будет необязательной и очень нужной. Если вы являетесь создателем YouTube и хотите поделиться с нами статистикой отметок «Не нравится», вы можете это сделать. По своей структуре [OAuth](<https://ru.wikipedia.org/wiki/OAuth#:~:text=%D0%B1%D0%B5%D0%B7%20%D0%BF%D0%B5%D1%80%D0%B5%D0%B4%D0%B0%D1%87%D0%B8%20%D0%B5%D0%B9%20(%D1%82%D1%80%D0%B5%D1%82%D1%8C%D0%B5%D0%B9%20%D1%81%D1%82%D0%BE%D1%80%D0%BE%D0%BD%D0%B5)%20%D0%BB%D0%BE%D0%B3%D0%B8%D0%BD%D0%B0%20%D0%B8%20%D0%BF%D0%B0%D1%80%D0%BE%D0%BB%D1%8F>) очень безопасен. Вы можете отозвать доступ к своему аккаунту в любое время, и можете дать нам ограниченные разрешения. Мы не будем запрашивать никаких разрешений, которые не требуются. Мы будем запрашивать разрешения только для просмотра статистики ваших видео.
|
||||||
|
|
||||||
### Как я могу доверять этому счётчику отметок «Не нравится»?
|
### Как я могу доверять этому счётчику отметок «Не нравится»?
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,6 @@ Read this in other languages: [Français](readmefr.md)
|
|||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
|
|
||||||
## FAQs
|
## FAQs
|
||||||
|
|
||||||
- [General](https://github.com/Anarios/return-youtube-dislike/blob/main/Guides/FAQ.md)
|
- [General](https://github.com/Anarios/return-youtube-dislike/blob/main/Guides/FAQ.md)
|
||||||
|
|||||||
@@ -19,7 +19,6 @@ Lisez ceci dans d'autres langues : [English](readme.md)
|
|||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
|
|
||||||
## FAQ
|
## FAQ
|
||||||
|
|
||||||
- [Général](FAQfr.md)
|
- [Général](FAQfr.md)
|
||||||
|
|||||||
@@ -24,8 +24,8 @@
|
|||||||
// ==/UserScript==
|
// ==/UserScript==
|
||||||
|
|
||||||
const extConfig = {
|
const extConfig = {
|
||||||
// BEGIN USER OPTIONS
|
// BEGIN USER OPTIONS
|
||||||
// You may change the following variables to allowed values listed in the corresponding brackets (* means default). Keep the style and keywords intact.
|
// You may change the following variables to allowed values listed in the corresponding brackets (* means default). Keep the style and keywords intact.
|
||||||
showUpdatePopup: false, // [true, false*] Show a popup tab after extension update (See what's new)
|
showUpdatePopup: false, // [true, false*] Show a popup tab after extension update (See what's new)
|
||||||
disableVoteSubmission: false, // [true, false*] Disable like/dislike submission (Stops counting your likes and dislikes)
|
disableVoteSubmission: false, // [true, false*] Disable like/dislike submission (Stops counting your likes and dislikes)
|
||||||
coloredThumbs: false, // [true, false*] Colorize thumbs (Use custom colors for thumb icons)
|
coloredThumbs: false, // [true, false*] Colorize thumbs (Use custom colors for thumb icons)
|
||||||
@@ -35,7 +35,7 @@ const extConfig = {
|
|||||||
numberDisplayRoundDown: true, // [true*, false] Round down numbers (Show rounded down numbers)
|
numberDisplayRoundDown: true, // [true*, false] Round down numbers (Show rounded down numbers)
|
||||||
tooltipPercentageMode: "none", // [none*, dash_like, dash_dislike, both, only_like, only_dislike] Mode of showing percentage in like/dislike bar tooltip.
|
tooltipPercentageMode: "none", // [none*, dash_like, dash_dislike, both, only_like, only_dislike] Mode of showing percentage in like/dislike bar tooltip.
|
||||||
numberDisplayReformatLikes: false, // [true, false*] Re-format like numbers (Make likes and dislikes format consistent)
|
numberDisplayReformatLikes: false, // [true, false*] Re-format like numbers (Make likes and dislikes format consistent)
|
||||||
// END USER OPTIONS
|
// END USER OPTIONS
|
||||||
};
|
};
|
||||||
|
|
||||||
const LIKED_STATE = "LIKED_STATE";
|
const LIKED_STATE = "LIKED_STATE";
|
||||||
@@ -101,29 +101,37 @@ function getDislikeButton() {
|
|||||||
let mutationObserver = new Object();
|
let mutationObserver = new Object();
|
||||||
|
|
||||||
if (isShorts() && mutationObserver.exists !== true) {
|
if (isShorts() && mutationObserver.exists !== true) {
|
||||||
cLog('initializing mutation observer')
|
cLog("initializing mutation observer");
|
||||||
mutationObserver.options = {
|
mutationObserver.options = {
|
||||||
childList: false,
|
childList: false,
|
||||||
attributes: true,
|
attributes: true,
|
||||||
subtree: false
|
subtree: false,
|
||||||
};
|
};
|
||||||
mutationObserver.exists = true;
|
mutationObserver.exists = true;
|
||||||
mutationObserver.observer = new MutationObserver( function(mutationList, observer) {
|
mutationObserver.observer = new MutationObserver(function (
|
||||||
mutationList.forEach( (mutation) => {
|
mutationList,
|
||||||
if (mutation.type === 'attributes' &&
|
observer
|
||||||
mutation.target.nodeName === 'TP-YT-PAPER-BUTTON' &&
|
) {
|
||||||
mutation.target.id === 'button') {
|
mutationList.forEach((mutation) => {
|
||||||
cLog('Short thumb button status changed');
|
if (
|
||||||
if (mutation.target.getAttribute('aria-pressed') === 'true') {
|
mutation.type === "attributes" &&
|
||||||
|
mutation.target.nodeName === "TP-YT-PAPER-BUTTON" &&
|
||||||
|
mutation.target.id === "button"
|
||||||
|
) {
|
||||||
|
cLog("Short thumb button status changed");
|
||||||
|
if (mutation.target.getAttribute("aria-pressed") === "true") {
|
||||||
mutation.target.style.color =
|
mutation.target.style.color =
|
||||||
(mutation.target.parentElement.parentElement.id === 'like-button') ?
|
mutation.target.parentElement.parentElement.id === "like-button"
|
||||||
getColorFromTheme(true) : getColorFromTheme(false);
|
? getColorFromTheme(true)
|
||||||
|
: getColorFromTheme(false);
|
||||||
} else {
|
} else {
|
||||||
mutation.target.style.color = 'unset';
|
mutation.target.style.color = "unset";
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
cLog('unexpected mutation observer event: ' + mutation.target + mutation.type);
|
cLog(
|
||||||
|
"unexpected mutation observer event: " + mutation.target + mutation.type
|
||||||
|
);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -270,25 +278,24 @@ function createRateBar(likes, dislikes) {
|
|||||||
var tooltipInnerHTML;
|
var tooltipInnerHTML;
|
||||||
switch (extConfig.tooltipPercentageMode) {
|
switch (extConfig.tooltipPercentageMode) {
|
||||||
case "dash_like":
|
case "dash_like":
|
||||||
tooltipInnerHTML = `${likes.toLocaleString()} / ${dislikes.toLocaleString()} - ${likePercentage}%`
|
tooltipInnerHTML = `${likes.toLocaleString()} / ${dislikes.toLocaleString()} - ${likePercentage}%`;
|
||||||
break;
|
break;
|
||||||
case "dash_dislike":
|
case "dash_dislike":
|
||||||
tooltipInnerHTML = `${likes.toLocaleString()} / ${dislikes.toLocaleString()} - ${dislikePercentage}%`
|
tooltipInnerHTML = `${likes.toLocaleString()} / ${dislikes.toLocaleString()} - ${dislikePercentage}%`;
|
||||||
break;
|
break;
|
||||||
case "both":
|
case "both":
|
||||||
tooltipInnerHTML = `${likePercentage}% / ${dislikePercentage}%`
|
tooltipInnerHTML = `${likePercentage}% / ${dislikePercentage}%`;
|
||||||
break;
|
break;
|
||||||
case "only_like":
|
case "only_like":
|
||||||
tooltipInnerHTML = `${likePercentage}%`
|
tooltipInnerHTML = `${likePercentage}%`;
|
||||||
break;
|
break;
|
||||||
case "only_dislike":
|
case "only_dislike":
|
||||||
tooltipInnerHTML = `${dislikePercentage}%`
|
tooltipInnerHTML = `${dislikePercentage}%`;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
tooltipInnerHTML = `${likes.toLocaleString()} / ${dislikes.toLocaleString()}`
|
tooltipInnerHTML = `${likes.toLocaleString()} / ${dislikes.toLocaleString()}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (!rateBar && !isMobile) {
|
if (!rateBar && !isMobile) {
|
||||||
let colorLikeStyle = "";
|
let colorLikeStyle = "";
|
||||||
let colorDislikeStyle = "";
|
let colorDislikeStyle = "";
|
||||||
@@ -325,15 +332,16 @@ function createRateBar(likes, dislikes) {
|
|||||||
document.getElementById("return-youtube-dislike-bar").style.width =
|
document.getElementById("return-youtube-dislike-bar").style.width =
|
||||||
widthPercent + "%";
|
widthPercent + "%";
|
||||||
|
|
||||||
document.querySelector(
|
document.querySelector("#ryd-dislike-tooltip > #tooltip").innerHTML =
|
||||||
"#ryd-dislike-tooltip > #tooltip"
|
tooltipInnerHTML;
|
||||||
).innerHTML = tooltipInnerHTML;
|
|
||||||
|
|
||||||
if (extConfig.coloredBar) {
|
if (extConfig.coloredBar) {
|
||||||
document.getElementById("return-youtube-dislike-bar-container").style.backgroundColor =
|
document.getElementById(
|
||||||
getColorFromTheme(false);
|
"return-youtube-dislike-bar-container"
|
||||||
document.getElementById("return-youtube-dislike-bar").style.backgroundColor =
|
).style.backgroundColor = getColorFromTheme(false);
|
||||||
getColorFromTheme(true);
|
document.getElementById(
|
||||||
|
"return-youtube-dislike-bar"
|
||||||
|
).style.backgroundColor = getColorFromTheme(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -360,17 +368,28 @@ function setState() {
|
|||||||
}
|
}
|
||||||
createRateBar(likes, dislikes);
|
createRateBar(likes, dislikes);
|
||||||
if (extConfig.coloredThumbs === true) {
|
if (extConfig.coloredThumbs === true) {
|
||||||
if (isShorts()) { // for shorts, leave deactived buttons in default color
|
if (isShorts()) {
|
||||||
let shortLikeButton = getLikeButton().querySelector('tp-yt-paper-button#button');
|
// for shorts, leave deactived buttons in default color
|
||||||
let shortDislikeButton = getDislikeButton().querySelector('tp-yt-paper-button#button');
|
let shortLikeButton = getLikeButton().querySelector(
|
||||||
if (shortLikeButton.getAttribute('aria-pressed') === 'true') {
|
"tp-yt-paper-button#button"
|
||||||
|
);
|
||||||
|
let shortDislikeButton = getDislikeButton().querySelector(
|
||||||
|
"tp-yt-paper-button#button"
|
||||||
|
);
|
||||||
|
if (shortLikeButton.getAttribute("aria-pressed") === "true") {
|
||||||
shortLikeButton.style.color = getColorFromTheme(true);
|
shortLikeButton.style.color = getColorFromTheme(true);
|
||||||
}
|
}
|
||||||
if (shortDislikeButton.getAttribute('aria-pressed') === 'true') {
|
if (shortDislikeButton.getAttribute("aria-pressed") === "true") {
|
||||||
shortDislikeButton.style.color = getColorFromTheme(false);
|
shortDislikeButton.style.color = getColorFromTheme(false);
|
||||||
}
|
}
|
||||||
mutationObserver.observer.observe(shortLikeButton, mutationObserver.options);
|
mutationObserver.observer.observe(
|
||||||
mutationObserver.observer.observe(shortDislikeButton, mutationObserver.options);
|
shortLikeButton,
|
||||||
|
mutationObserver.options
|
||||||
|
);
|
||||||
|
mutationObserver.observer.observe(
|
||||||
|
shortDislikeButton,
|
||||||
|
mutationObserver.options
|
||||||
|
);
|
||||||
} else {
|
} else {
|
||||||
getLikeButton().style.color = getColorFromTheme(true);
|
getLikeButton().style.color = getColorFromTheme(true);
|
||||||
getDislikeButton().style.color = getColorFromTheme(false);
|
getDislikeButton().style.color = getColorFromTheme(false);
|
||||||
@@ -498,8 +517,10 @@ function getNumberFormatter(optionSelect) {
|
|||||||
?.getAttribute("href")
|
?.getAttribute("href")
|
||||||
)?.searchParams?.get("locale");
|
)?.searchParams?.get("locale");
|
||||||
} catch {
|
} catch {
|
||||||
cLog('Cannot find browser locale. Use en as default for number formatting.');
|
cLog(
|
||||||
userLocales = 'en';
|
"Cannot find browser locale. Use en as default for number formatting."
|
||||||
|
);
|
||||||
|
userLocales = "en";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -520,13 +541,10 @@ function getNumberFormatter(optionSelect) {
|
|||||||
formatterCompactDisplay = "short";
|
formatterCompactDisplay = "short";
|
||||||
}
|
}
|
||||||
|
|
||||||
const formatter = Intl.NumberFormat(
|
const formatter = Intl.NumberFormat(userLocales, {
|
||||||
userLocales,
|
|
||||||
{
|
|
||||||
notation: formatterNotation,
|
notation: formatterNotation,
|
||||||
compactDisplay: formatterCompactDisplay,
|
compactDisplay: formatterCompactDisplay,
|
||||||
}
|
});
|
||||||
);
|
|
||||||
return formatter;
|
return formatter;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -96,7 +96,7 @@
|
|||||||
"message": "Colores personalizados para la barra y los botones que no me gustan"
|
"message": "Colores personalizados para la barra y los botones que no me gustan"
|
||||||
},
|
},
|
||||||
"customNumberFormats": {
|
"customNumberFormats": {
|
||||||
"message":"Formatos de números personalizados"
|
"message": "Formatos de números personalizados"
|
||||||
},
|
},
|
||||||
"considerDonating": {
|
"considerDonating": {
|
||||||
"message": "Lo único que mantiene la extensión en funcionamiento son sus donaciones, considere apoyar el proyecto."
|
"message": "Lo único que mantiene la extensión en funcionamiento son sus donaciones, considere apoyar el proyecto."
|
||||||
|
|||||||
@@ -59,34 +59,34 @@
|
|||||||
"considerDonating": {
|
"considerDonating": {
|
||||||
"message": "この拡張機能を存続させることができるのは,皆様からの寄付だけです。"
|
"message": "この拡張機能を存続させることができるのは,皆様からの寄付だけです。"
|
||||||
},
|
},
|
||||||
"roundNumbers":{
|
"roundNumbers": {
|
||||||
"message":"四捨五入された数値を表示"
|
"message": "四捨五入された数値を表示"
|
||||||
},
|
},
|
||||||
"roundNumbersHover":{
|
"roundNumbersHover": {
|
||||||
"message": "カウント値を四捨五入します(これはYouTubeのデフォルトオプションです)。"
|
"message": "カウント値を四捨五入します(これはYouTubeのデフォルトオプションです)。"
|
||||||
},
|
},
|
||||||
"reformatLikes":{
|
"reformatLikes": {
|
||||||
"message":"いいねの数をフォーマットする"
|
"message": "いいねの数をフォーマットする"
|
||||||
},
|
},
|
||||||
"reformatLikesHover":{
|
"reformatLikesHover": {
|
||||||
"message":"統計値の一貫性を高めます。"
|
"message": "統計値の一貫性を高めます。"
|
||||||
},
|
},
|
||||||
"numberFormat":{
|
"numberFormat": {
|
||||||
"message":"数値形式"
|
"message": "数値形式"
|
||||||
},
|
},
|
||||||
"colorizeRatio":{
|
"colorizeRatio": {
|
||||||
"message":"嫌いなバーに色を付ける"
|
"message": "嫌いなバーに色を付ける"
|
||||||
},
|
},
|
||||||
"colorizeRatioHover":{
|
"colorizeRatioHover": {
|
||||||
"message":"嫌いなバーをカスタムカラーで色付けします。"
|
"message": "嫌いなバーをカスタムカラーで色付けします。"
|
||||||
},
|
},
|
||||||
"colorizeThumbs":{
|
"colorizeThumbs": {
|
||||||
"message":"ボタンに色を付ける"
|
"message": "ボタンに色を付ける"
|
||||||
},
|
},
|
||||||
"colorizeThumbsHover":{
|
"colorizeThumbsHover": {
|
||||||
"message":"カスタムカラーのボタンの色が好きで嫌いです。"
|
"message": "カスタムカラーのボタンの色が好きで嫌いです。"
|
||||||
},
|
},
|
||||||
"colorTheme":{
|
"colorTheme": {
|
||||||
"message": "配色:"
|
"message": "配色:"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -12,9 +12,7 @@
|
|||||||
"128": "icons/icon128.png"
|
"128": "icons/icon128.png"
|
||||||
},
|
},
|
||||||
"host_permissions": ["*://*.youtube.com/*"],
|
"host_permissions": ["*://*.youtube.com/*"],
|
||||||
"permissions": [
|
"permissions": ["storage"],
|
||||||
"storage"
|
|
||||||
],
|
|
||||||
"action": {
|
"action": {
|
||||||
"default_popup": "popup.html"
|
"default_popup": "popup.html"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -69,8 +69,8 @@ button:hover {
|
|||||||
border-radius: 0.25rem;
|
border-radius: 0.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.switch::before,
|
||||||
.switch::before, .label-with-hover-tip::before {
|
.label-with-hover-tip::before {
|
||||||
content: attr(data-hover);
|
content: attr(data-hover);
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
@@ -86,8 +86,8 @@ button:hover {
|
|||||||
top: 160%;
|
top: 160%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.switch:hover::before,
|
||||||
.switch:hover::before, .label-with-hover-tip:hover::before {
|
.label-with-hover-tip:hover::before {
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,24 +1,24 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta content="text/html; charset=utf-8"/>
|
<meta content="text/html; charset=utf-8" />
|
||||||
<title title="__MSG_extensionName__">__MSG_extensionName__</title>
|
<title title="__MSG_extensionName__">__MSG_extensionName__</title>
|
||||||
<link rel="stylesheet" href="popup.css"/>
|
<link rel="stylesheet" href="popup.css" />
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com"/>
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/>
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||||
<link
|
<link
|
||||||
href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap"
|
href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap"
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
/>
|
/>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<center>
|
<center>
|
||||||
<svg width="48" viewBox="0 0 24 24">
|
<svg width="48" viewBox="0 0 24 24">
|
||||||
<path
|
<path
|
||||||
d="M14.9 3H6c-.9 0-1.6.5-1.9 1.2l-3 7c-.1.3-.1.5-.1.7v2c0 1.1.9 2 2 2h6.3l-.9 4.5c-.1.5 0 1 .4 1.4l1.1 1.1 6.5-6.6c.4-.4.6-.9.6-1.4V5c-.1-1.1-1-2-2.1-2zm7.4 12.8h-2.9c-.4 0-.7-.3-.7-.7V3.9c0-.4.3-.7.7-.7h2.9c.4 0 .7.3.7.7V15c0 .4-.3.8-.7.8z"
|
d="M14.9 3H6c-.9 0-1.6.5-1.9 1.2l-3 7c-.1.3-.1.5-.1.7v2c0 1.1.9 2 2 2h6.3l-.9 4.5c-.1.5 0 1 .4 1.4l1.1 1.1 6.5-6.6c.4-.4.6-.9.6-1.4V5c-.1-1.1-1-2-2.1-2zm7.4 12.8h-2.9c-.4 0-.7-.3-.7-.7V3.9c0-.4.3-.7.7-.7h2.9c.4 0 .7.3.7.7V15c0 .4-.3.8-.7.8z"
|
||||||
fill="red"
|
fill="red"
|
||||||
/>
|
/>
|
||||||
<path d="m8 12.5 5.1-2.9L8 6.7v5.8z" fill="#fff"/>
|
<path d="m8 12.5 5.1-2.9L8 6.7v5.8z" fill="#fff" />
|
||||||
</svg>
|
</svg>
|
||||||
<h1 style="margin-bottom: 0.75rem" title="__MSG_extensionName__">
|
<h1 style="margin-bottom: 0.75rem" title="__MSG_extensionName__">
|
||||||
__MSG_extensionName__
|
__MSG_extensionName__
|
||||||
@@ -30,11 +30,15 @@
|
|||||||
<button id="link_website" title="__MSG_linkWebsite__">
|
<button id="link_website" title="__MSG_linkWebsite__">
|
||||||
__MSG_linkWebsite__
|
__MSG_linkWebsite__
|
||||||
</button>
|
</button>
|
||||||
<button style="margin-top: 0.3em; background: #ff0000" id="link_donate" title="__MSG_linkDonate__">
|
<button
|
||||||
|
style="margin-top: 0.3em; background: #ff0000"
|
||||||
|
id="link_donate"
|
||||||
|
title="__MSG_linkDonate__"
|
||||||
|
>
|
||||||
__MSG_linkDonate__
|
__MSG_linkDonate__
|
||||||
</button>
|
</button>
|
||||||
<button id="link_discord">Discord</button>
|
<button id="link_discord">Discord</button>
|
||||||
<br/>
|
<br />
|
||||||
<button style="margin-top: 0.3rem" id="link_faq" title="__MSG_linkFAQ__">
|
<button style="margin-top: 0.3rem" id="link_faq" title="__MSG_linkFAQ__">
|
||||||
__MSG_linkFAQ__
|
__MSG_linkFAQ__
|
||||||
</button>
|
</button>
|
||||||
@@ -42,13 +46,17 @@
|
|||||||
<button style="margin-top: 0.3em" id="link_help" title="__MSG_linkHelp__">
|
<button style="margin-top: 0.3em" id="link_help" title="__MSG_linkHelp__">
|
||||||
__MSG_linkHelp__
|
__MSG_linkHelp__
|
||||||
</button>
|
</button>
|
||||||
<br>
|
<br />
|
||||||
<button style="margin-top: 0.3em" id="link_changelog" title="__MSG_linkChangelog__">
|
<button
|
||||||
|
style="margin-top: 0.3em"
|
||||||
|
id="link_changelog"
|
||||||
|
title="__MSG_linkChangelog__"
|
||||||
|
>
|
||||||
__MSG_linkChangelog__
|
__MSG_linkChangelog__
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<br/>
|
<br />
|
||||||
<br/>
|
<br />
|
||||||
<p style="display: none">API Status: <b id="status"></b></p>
|
<p style="display: none">API Status: <b id="status"></b></p>
|
||||||
<img
|
<img
|
||||||
id="server-status"
|
id="server-status"
|
||||||
@@ -57,12 +65,12 @@
|
|||||||
alt=""
|
alt=""
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<br/>
|
<br />
|
||||||
<br/>
|
<br />
|
||||||
</center>
|
</center>
|
||||||
|
|
||||||
<!-- top-right -->
|
<!-- top-right -->
|
||||||
<button id="advancedToggle">
|
<button id="advancedToggle">
|
||||||
<svg
|
<svg
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
enable-background="new 0 0 24 24"
|
enable-background="new 0 0 24 24"
|
||||||
@@ -71,49 +79,49 @@
|
|||||||
width="24px"
|
width="24px"
|
||||||
fill="currentColor"
|
fill="currentColor"
|
||||||
>
|
>
|
||||||
<rect fill="none" height="24" width="24"/>
|
<rect fill="none" height="24" width="24" />
|
||||||
<path
|
<path
|
||||||
d="M19.5,12c0-0.23-0.01-0.45-0.03-0.68l1.86-1.41c0.4-0.3,0.51-0.86,0.26-1.3l-1.87-3.23c-0.25-0.44-0.79-0.62-1.25-0.42 l-2.15,0.91c-0.37-0.26-0.76-0.49-1.17-0.68l-0.29-2.31C14.8,2.38,14.37,2,13.87,2h-3.73C9.63,2,9.2,2.38,9.14,2.88L8.85,5.19 c-0.41,0.19-0.8,0.42-1.17,0.68L5.53,4.96c-0.46-0.2-1-0.02-1.25,0.42L2.41,8.62c-0.25,0.44-0.14,0.99,0.26,1.3l1.86,1.41 C4.51,11.55,4.5,11.77,4.5,12s0.01,0.45,0.03,0.68l-1.86,1.41c-0.4,0.3-0.51,0.86-0.26,1.3l1.87,3.23c0.25,0.44,0.79,0.62,1.25,0.42 l2.15-0.91c0.37,0.26,0.76,0.49,1.17,0.68l0.29,2.31C9.2,21.62,9.63,22,10.13,22h3.73c0.5,0,0.93-0.38,0.99-0.88l0.29-2.31 c0.41-0.19,0.8-0.42,1.17-0.68l2.15,0.91c0.46,0.2,1,0.02,1.25-0.42l1.87-3.23c0.25-0.44,0.14-0.99-0.26-1.3l-1.86-1.41 C19.49,12.45,19.5,12.23,19.5,12z M12.04,15.5c-1.93,0-3.5-1.57-3.5-3.5s1.57-3.5,3.5-3.5s3.5,1.57,3.5,3.5S13.97,15.5,12.04,15.5z"
|
d="M19.5,12c0-0.23-0.01-0.45-0.03-0.68l1.86-1.41c0.4-0.3,0.51-0.86,0.26-1.3l-1.87-3.23c-0.25-0.44-0.79-0.62-1.25-0.42 l-2.15,0.91c-0.37-0.26-0.76-0.49-1.17-0.68l-0.29-2.31C14.8,2.38,14.37,2,13.87,2h-3.73C9.63,2,9.2,2.38,9.14,2.88L8.85,5.19 c-0.41,0.19-0.8,0.42-1.17,0.68L5.53,4.96c-0.46-0.2-1-0.02-1.25,0.42L2.41,8.62c-0.25,0.44-0.14,0.99,0.26,1.3l1.86,1.41 C4.51,11.55,4.5,11.77,4.5,12s0.01,0.45,0.03,0.68l-1.86,1.41c-0.4,0.3-0.51,0.86-0.26,1.3l1.87,3.23c0.25,0.44,0.79,0.62,1.25,0.42 l2.15-0.91c0.37,0.26,0.76,0.49,1.17,0.68l0.29,2.31C9.2,21.62,9.63,22,10.13,22h3.73c0.5,0,0.93-0.38,0.99-0.88l0.29-2.31 c0.41-0.19,0.8-0.42,1.17-0.68l2.15,0.91c0.46,0.2,1,0.02,1.25-0.42l1.87-3.23c0.25-0.44,0.14-0.99-0.26-1.3l-1.86-1.41 C19.49,12.45,19.5,12.23,19.5,12z M12.04,15.5c-1.93,0-3.5-1.57-3.5-3.5s1.57-3.5,3.5-3.5s3.5,1.57,3.5,3.5S13.97,15.5,12.04,15.5z"
|
||||||
/>
|
/>
|
||||||
</svg>
|
</svg>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<!-- bottom-right -->
|
<!-- bottom-right -->
|
||||||
<div id="ext">
|
<div id="ext">
|
||||||
<a
|
<a
|
||||||
href="https://returnyoutubedislike.com/install"
|
href="https://returnyoutubedislike.com/install"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
id="ext-update"
|
id="ext-update"
|
||||||
></a>
|
></a>
|
||||||
<span id="ext-version"></span>
|
<span id="ext-version"></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- dialog box -->
|
<!-- dialog box -->
|
||||||
<fieldset id="advancedSettings">
|
<fieldset id="advancedSettings">
|
||||||
<legend id="advancedLegend" title="__MSG_legendSettings__">
|
<legend id="advancedLegend" title="__MSG_legendSettings__">
|
||||||
__MSG_legendSettings__
|
__MSG_legendSettings__
|
||||||
</legend>
|
</legend>
|
||||||
|
|
||||||
<label class="switch" data-hover="Stop counting your likes and dislikes">
|
<label class="switch" data-hover="Stop counting your likes and dislikes">
|
||||||
<input type="checkbox" id="disable_vote_submission"/>
|
<input type="checkbox" id="disable_vote_submission" />
|
||||||
<span class="slider" />
|
<span class="slider" />
|
||||||
<span class="switchLabel" title="__MSG_textSettings__">
|
<span class="switchLabel" title="__MSG_textSettings__">
|
||||||
__MSG_textSettings__
|
__MSG_textSettings__
|
||||||
</span>
|
</span>
|
||||||
</label>
|
</label>
|
||||||
<br/>
|
<br />
|
||||||
<label class="switch" data-hover="__MSG_roundNumbersHover__">
|
<label class="switch" data-hover="__MSG_roundNumbersHover__">
|
||||||
<input type="checkbox" id="number_round_down"/>
|
<input type="checkbox" id="number_round_down" />
|
||||||
<span class="slider" />
|
<span class="slider" />
|
||||||
<span class="switchLabel">__MSG_roundNumbers__</span>
|
<span class="switchLabel">__MSG_roundNumbers__</span>
|
||||||
</label>
|
</label>
|
||||||
<br/>
|
<br />
|
||||||
<label class="switch" data-hover="__MSG_reformatLikesHover__">
|
<label class="switch" data-hover="__MSG_reformatLikesHover__">
|
||||||
<input type="checkbox" id="number_reformat_likes"/>
|
<input type="checkbox" id="number_reformat_likes" />
|
||||||
<span class="slider" />
|
<span class="slider" />
|
||||||
<span class="switchLabel">__MSG_reformatLikes__</span>
|
<span class="switchLabel">__MSG_reformatLikes__</span>
|
||||||
</label>
|
</label>
|
||||||
<br/>
|
<br />
|
||||||
<div class="custom-select">
|
<div class="custom-select">
|
||||||
<label for="number_format">__MSG_numberFormat__</label>
|
<label for="number_format">__MSG_numberFormat__</label>
|
||||||
<select name="number_format" id="number_format">
|
<select name="number_format" id="number_format">
|
||||||
@@ -122,26 +130,32 @@
|
|||||||
<option value="standard" id="number_format_standard"></option>
|
<option value="standard" id="number_format_standard"></option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<br/>
|
<br />
|
||||||
<div class="custom-select">
|
<div class="custom-select">
|
||||||
<label class="switch" data-hover="__MSG_colorizeRatioHover__">
|
<label class="switch" data-hover="__MSG_colorizeRatioHover__">
|
||||||
<input type="checkbox" id="colored_bar"/>
|
<input type="checkbox" id="colored_bar" />
|
||||||
<span class="slider" />
|
<span class="slider" />
|
||||||
<span class="switchLabel">__MSG_colorizeRatio__</span>
|
<span class="switchLabel">__MSG_colorizeRatio__</span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<label class="switch" data-hover="__MSG_colorizeThumbsHover__">
|
<label class="switch" data-hover="__MSG_colorizeThumbsHover__">
|
||||||
<input type="checkbox" id="colored_thumbs"/>
|
<input type="checkbox" id="colored_thumbs" />
|
||||||
<span class="slider" />
|
<span class="slider" />
|
||||||
<span class="switchLabel">__MSG_colorizeThumbs__</span>
|
<span class="switchLabel">__MSG_colorizeThumbs__</span>
|
||||||
</label>
|
</label>
|
||||||
<br/>
|
<br />
|
||||||
<div class="custom-select">
|
<div class="custom-select">
|
||||||
<label for="color_theme">__MSG_colorTheme__</label>
|
<label for="color_theme">__MSG_colorTheme__</label>
|
||||||
<select name="color_theme" id="color_theme">
|
<select name="color_theme" id="color_theme">
|
||||||
<option value="classic" id="color_theme_classic">"__MSG_textColorTheme1__"</option>
|
<option value="classic" id="color_theme_classic">
|
||||||
<option value="accessible" id="color_theme_accessible">"__MSG_textColorTheme2__"</option>
|
"__MSG_textColorTheme1__"
|
||||||
<option value="neon" id="color_theme_neon">"__MSG_textColorTheme3__"</option>
|
</option>
|
||||||
|
<option value="accessible" id="color_theme_accessible">
|
||||||
|
"__MSG_textColorTheme2__"
|
||||||
|
</option>
|
||||||
|
<option value="neon" id="color_theme_neon">
|
||||||
|
"__MSG_textColorTheme3__"
|
||||||
|
</option>
|
||||||
</select>
|
</select>
|
||||||
<span
|
<span
|
||||||
id="color_theme_example_like"
|
id="color_theme_example_like"
|
||||||
@@ -151,7 +165,8 @@
|
|||||||
width: 1em;
|
width: 1em;
|
||||||
height: 1em;
|
height: 1em;
|
||||||
"
|
"
|
||||||
> </span>
|
> </span
|
||||||
|
>
|
||||||
<span
|
<span
|
||||||
id="color_theme_example_dislike"
|
id="color_theme_example_dislike"
|
||||||
style="
|
style="
|
||||||
@@ -160,25 +175,49 @@
|
|||||||
width: 1em;
|
width: 1em;
|
||||||
height: 1em;
|
height: 1em;
|
||||||
"
|
"
|
||||||
> </span>
|
> </span
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
<br/>
|
<br />
|
||||||
<label class="switch" data-hover="Display percentage in like/dislike bar tooltip.">
|
<label
|
||||||
<input type="checkbox" id="show_tooltip_percentage"/>
|
class="switch"
|
||||||
<span class="slider"/>
|
data-hover="Display percentage in like/dislike bar tooltip."
|
||||||
|
>
|
||||||
|
<input type="checkbox" id="show_tooltip_percentage" />
|
||||||
|
<span class="slider" />
|
||||||
<span class="switchLabel">Percentage in like/dislike bar tooltip.</span>
|
<span class="switchLabel">Percentage in like/dislike bar tooltip.</span>
|
||||||
</label>
|
</label>
|
||||||
<div class="custom-select">
|
<div class="custom-select">
|
||||||
<label for="tooltip_percentage_mode" data-hover="Use custom percentage display on hover.">Percent mode:</label>
|
<label
|
||||||
|
for="tooltip_percentage_mode"
|
||||||
|
data-hover="Use custom percentage display on hover."
|
||||||
|
>Percent mode:</label
|
||||||
|
>
|
||||||
<select name="tooltip_percentage_mode" id="tooltip_percentage_mode">
|
<select name="tooltip_percentage_mode" id="tooltip_percentage_mode">
|
||||||
<option value="dash_like" id="tooltip_percentage_mode_dash_like">190 / 10 - 95%</option>
|
<option value="dash_like" id="tooltip_percentage_mode_dash_like">
|
||||||
<option value="dash_dislike" id="tooltip_percentage_mode_dash_dislike">190 / 10 - 5%</option>
|
190 / 10 - 95%
|
||||||
<option value="both" id="tooltip_percentage_mode_both">95% / 5%</option>
|
</option>
|
||||||
<option value="only_like" id="tooltip_percentage_mode_only_like">95%</option>
|
<option
|
||||||
<option value="only_dislike" id="tooltip_percentage_mode_only_dislike">5%</option>
|
value="dash_dislike"
|
||||||
|
id="tooltip_percentage_mode_dash_dislike"
|
||||||
|
>
|
||||||
|
190 / 10 - 5%
|
||||||
|
</option>
|
||||||
|
<option value="both" id="tooltip_percentage_mode_both">
|
||||||
|
95% / 5%
|
||||||
|
</option>
|
||||||
|
<option value="only_like" id="tooltip_percentage_mode_only_like">
|
||||||
|
95%
|
||||||
|
</option>
|
||||||
|
<option
|
||||||
|
value="only_dislike"
|
||||||
|
id="tooltip_percentage_mode_only_dislike"
|
||||||
|
>
|
||||||
|
5%
|
||||||
|
</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</body>
|
</body>
|
||||||
<script src="popup.js"></script>
|
<script src="popup.js"></script>
|
||||||
</html>
|
</html>
|
||||||
@@ -24,7 +24,7 @@ const config = {
|
|||||||
donate: "https://returnyoutubedislike.com/donate",
|
donate: "https://returnyoutubedislike.com/donate",
|
||||||
faq: "https://returnyoutubedislike.com/faq",
|
faq: "https://returnyoutubedislike.com/faq",
|
||||||
help: "https://returnyoutubedislike.com/help",
|
help: "https://returnyoutubedislike.com/help",
|
||||||
changelog: "/changelog/3/changelog_3.0.html"
|
changelog: "/changelog/3/changelog_3.0.html",
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -90,17 +90,23 @@ document.getElementById("number_format").addEventListener("change", (ev) => {
|
|||||||
chrome.storage.sync.set({ numberDisplayFormat: ev.target.value });
|
chrome.storage.sync.set({ numberDisplayFormat: ev.target.value });
|
||||||
});
|
});
|
||||||
|
|
||||||
document.getElementById("show_tooltip_percentage").addEventListener("click", (ev) => {
|
document
|
||||||
|
.getElementById("show_tooltip_percentage")
|
||||||
|
.addEventListener("click", (ev) => {
|
||||||
chrome.storage.sync.set({ showTooltipPercentage: ev.target.checked });
|
chrome.storage.sync.set({ showTooltipPercentage: ev.target.checked });
|
||||||
});
|
});
|
||||||
|
|
||||||
document.getElementById("tooltip_percentage_mode").addEventListener("change", (ev) => {
|
document
|
||||||
|
.getElementById("tooltip_percentage_mode")
|
||||||
|
.addEventListener("change", (ev) => {
|
||||||
chrome.storage.sync.set({ tooltipPercentageMode: ev.target.value });
|
chrome.storage.sync.set({ tooltipPercentageMode: ev.target.value });
|
||||||
});
|
});
|
||||||
|
|
||||||
document.getElementById("number_reformat_likes").addEventListener("click", (ev) => {
|
document
|
||||||
|
.getElementById("number_reformat_likes")
|
||||||
|
.addEventListener("click", (ev) => {
|
||||||
chrome.storage.sync.set({ numberDisplayReformatLikes: ev.target.checked });
|
chrome.storage.sync.set({ numberDisplayReformatLikes: ev.target.checked });
|
||||||
});
|
});
|
||||||
|
|
||||||
/* Advanced Toggle */
|
/* Advanced Toggle */
|
||||||
const advancedToggle = document.getElementById("advancedToggle");
|
const advancedToggle = document.getElementById("advancedToggle");
|
||||||
@@ -203,17 +209,17 @@ function initializeNumberDisplayRoundDown() {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function initializeTooltipPercentage(){
|
function initializeTooltipPercentage() {
|
||||||
chrome.storage.sync.get(["showTooltipPercentage"], (res) => {
|
chrome.storage.sync.get(["showTooltipPercentage"], (res) => {
|
||||||
handleShowTooltipPercentageChangeEvent(res.showTooltipPercentage);
|
handleShowTooltipPercentageChangeEvent(res.showTooltipPercentage);
|
||||||
});
|
});
|
||||||
};
|
}
|
||||||
|
|
||||||
function initializeTooltipPercentageMode() {
|
function initializeTooltipPercentageMode() {
|
||||||
chrome.storage.sync.get(["tooltipPercentageMode"], (res) => {
|
chrome.storage.sync.get(["tooltipPercentageMode"], (res) => {
|
||||||
handleTooltipPercentageModeChangeEvent(res.tooltipPercentageMode);
|
handleTooltipPercentageModeChangeEvent(res.tooltipPercentageMode);
|
||||||
});
|
});
|
||||||
};
|
}
|
||||||
|
|
||||||
function initializeNumberDisplayFormat() {
|
function initializeNumberDisplayFormat() {
|
||||||
chrome.storage.sync.get(["numberDisplayFormat"], (res) => {
|
chrome.storage.sync.get(["numberDisplayFormat"], (res) => {
|
||||||
@@ -269,10 +275,14 @@ function storageChangeHandler(changes, area) {
|
|||||||
handleNumberDisplayFormatChangeEvent(changes.numberDisplayFormat.newValue);
|
handleNumberDisplayFormatChangeEvent(changes.numberDisplayFormat.newValue);
|
||||||
}
|
}
|
||||||
if (changes.showTooltipPercentage !== undefined) {
|
if (changes.showTooltipPercentage !== undefined) {
|
||||||
handleShowTooltipPercentageChangeEvent(changes.showTooltipPercentage.newValue);
|
handleShowTooltipPercentageChangeEvent(
|
||||||
|
changes.showTooltipPercentage.newValue
|
||||||
|
);
|
||||||
}
|
}
|
||||||
if (changes.numberDisplayReformatLikes !== undefined) {
|
if (changes.numberDisplayReformatLikes !== undefined) {
|
||||||
handleNumberDisplayReformatLikesChangeEvent(changes.numberDisplayReformatLikes.newValue);
|
handleNumberDisplayReformatLikesChangeEvent(
|
||||||
|
changes.numberDisplayReformatLikes.newValue
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -324,7 +334,7 @@ function handleNumberDisplayFormatChangeEvent(value) {
|
|||||||
function handleShowTooltipPercentageChangeEvent(value) {
|
function handleShowTooltipPercentageChangeEvent(value) {
|
||||||
config.showTooltipPercentage = value;
|
config.showTooltipPercentage = value;
|
||||||
document.getElementById("show_tooltip_percentage").checked = value;
|
document.getElementById("show_tooltip_percentage").checked = value;
|
||||||
};
|
}
|
||||||
|
|
||||||
function handleTooltipPercentageModeChangeEvent(value) {
|
function handleTooltipPercentageModeChangeEvent(value) {
|
||||||
if (!value) {
|
if (!value) {
|
||||||
@@ -335,7 +345,7 @@ function handleTooltipPercentageModeChangeEvent(value) {
|
|||||||
document
|
document
|
||||||
.getElementById("tooltip_percentage_mode")
|
.getElementById("tooltip_percentage_mode")
|
||||||
.querySelector('option[value="' + value + '"]').selected = true;
|
.querySelector('option[value="' + value + '"]').selected = true;
|
||||||
};
|
}
|
||||||
|
|
||||||
function handleNumberDisplayReformatLikesChangeEvent(value) {
|
function handleNumberDisplayReformatLikesChangeEvent(value) {
|
||||||
config.numberDisplayReformatLikes = value;
|
config.numberDisplayReformatLikes = value;
|
||||||
|
|||||||
@@ -280,10 +280,14 @@ function storageChangeHandler(changes, area) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
if (changes.showTooltipPercentage !== undefined) {
|
if (changes.showTooltipPercentage !== undefined) {
|
||||||
handleShowTooltipPercentageChangeEvent(changes.showTooltipPercentage.newValue);
|
handleShowTooltipPercentageChangeEvent(
|
||||||
|
changes.showTooltipPercentage.newValue
|
||||||
|
);
|
||||||
}
|
}
|
||||||
if (changes.numberDisplayReformatLikes !== undefined) {
|
if (changes.numberDisplayReformatLikes !== undefined) {
|
||||||
handleNumberDisplayReformatLikesChangeEvent(changes.numberDisplayReformatLikes.newValue);
|
handleNumberDisplayReformatLikesChangeEvent(
|
||||||
|
changes.numberDisplayReformatLikes.newValue
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -302,14 +306,14 @@ function handleNumberDisplayFormatChangeEvent(value) {
|
|||||||
|
|
||||||
function handleShowTooltipPercentageChangeEvent(value) {
|
function handleShowTooltipPercentageChangeEvent(value) {
|
||||||
extConfig.showTooltipPercentage = value;
|
extConfig.showTooltipPercentage = value;
|
||||||
};
|
}
|
||||||
|
|
||||||
function handleTooltipPercentageModeChangeEvent(value) {
|
function handleTooltipPercentageModeChangeEvent(value) {
|
||||||
if (!value) {
|
if (!value) {
|
||||||
value = "dash_like";
|
value = "dash_like";
|
||||||
}
|
}
|
||||||
extConfig.tooltipPercentageMode = value;
|
extConfig.tooltipPercentageMode = value;
|
||||||
};
|
}
|
||||||
|
|
||||||
function handleNumberDisplayRoundDownChangeEvent(value) {
|
function handleNumberDisplayRoundDownChangeEvent(value) {
|
||||||
extConfig.numberDisplayRoundDown = value;
|
extConfig.numberDisplayRoundDown = value;
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
import { getButtons } from "./buttons";
|
import { getButtons } from "./buttons";
|
||||||
import { extConfig, isMobile, isLikesDisabled, isNewDesign, isShorts } from "./state";
|
import {
|
||||||
|
extConfig,
|
||||||
|
isMobile,
|
||||||
|
isLikesDisabled,
|
||||||
|
isNewDesign,
|
||||||
|
isShorts,
|
||||||
|
} from "./state";
|
||||||
import { cLog, getColorFromTheme } from "./utils";
|
import { cLog, getColorFromTheme } from "./utils";
|
||||||
|
|
||||||
function createRateBar(likes, dislikes) {
|
function createRateBar(likes, dislikes) {
|
||||||
@@ -18,27 +24,26 @@ function createRateBar(likes, dislikes) {
|
|||||||
const dislikePercentage = (100 - likePercentage).toLocaleString();
|
const dislikePercentage = (100 - likePercentage).toLocaleString();
|
||||||
likePercentage = likePercentage.toLocaleString();
|
likePercentage = likePercentage.toLocaleString();
|
||||||
|
|
||||||
|
|
||||||
if (extConfig.showTooltipPercentage) {
|
if (extConfig.showTooltipPercentage) {
|
||||||
var tooltipInnerHTML;
|
var tooltipInnerHTML;
|
||||||
switch (extConfig.tooltipPercentageMode) {
|
switch (extConfig.tooltipPercentageMode) {
|
||||||
case "dash_dislike":
|
case "dash_dislike":
|
||||||
tooltipInnerHTML = `${likes.toLocaleString()} / ${dislikes.toLocaleString()} - ${dislikePercentage}%`
|
tooltipInnerHTML = `${likes.toLocaleString()} / ${dislikes.toLocaleString()} - ${dislikePercentage}%`;
|
||||||
break;
|
break;
|
||||||
case "both":
|
case "both":
|
||||||
tooltipInnerHTML = `${likePercentage}% / ${dislikePercentage}%`
|
tooltipInnerHTML = `${likePercentage}% / ${dislikePercentage}%`;
|
||||||
break;
|
break;
|
||||||
case "only_like":
|
case "only_like":
|
||||||
tooltipInnerHTML = `${likePercentage}%`
|
tooltipInnerHTML = `${likePercentage}%`;
|
||||||
break;
|
break;
|
||||||
case "only_dislike":
|
case "only_dislike":
|
||||||
tooltipInnerHTML = `${dislikePercentage}%`
|
tooltipInnerHTML = `${dislikePercentage}%`;
|
||||||
break;
|
break;
|
||||||
default: // dash_like
|
default: // dash_like
|
||||||
tooltipInnerHTML = `${likes.toLocaleString()} / ${dislikes.toLocaleString()} - ${likePercentage}%`
|
tooltipInnerHTML = `${likes.toLocaleString()} / ${dislikes.toLocaleString()} - ${likePercentage}%`;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
tooltipInnerHTML = `${likes.toLocaleString()} / ${dislikes.toLocaleString()}`
|
tooltipInnerHTML = `${likes.toLocaleString()} / ${dislikes.toLocaleString()}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isShorts()) {
|
if (!isShorts()) {
|
||||||
@@ -51,12 +56,15 @@ function createRateBar(likes, dislikes) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
(
|
(
|
||||||
document.getElementById(isNewDesign() ? "actions-inner" : "menu-container") ||
|
document.getElementById(
|
||||||
document.querySelector("ytm-slim-video-action-bar-renderer")
|
isNewDesign() ? "actions-inner" : "menu-container"
|
||||||
|
) || document.querySelector("ytm-slim-video-action-bar-renderer")
|
||||||
).insertAdjacentHTML(
|
).insertAdjacentHTML(
|
||||||
"beforeend",
|
"beforeend",
|
||||||
`
|
`
|
||||||
<div class="ryd-tooltip" style="width: ${widthPx}px${isNewDesign() ? "; margin-bottom: -2px" : ""}">
|
<div class="ryd-tooltip" style="width: ${widthPx}px${
|
||||||
|
isNewDesign() ? "; margin-bottom: -2px" : ""
|
||||||
|
}">
|
||||||
<div class="ryd-tooltip-bar-container">
|
<div class="ryd-tooltip-bar-container">
|
||||||
<div
|
<div
|
||||||
id="ryd-bar-container"
|
id="ryd-bar-container"
|
||||||
@@ -78,14 +86,16 @@ function createRateBar(likes, dislikes) {
|
|||||||
// Add border between info and comments
|
// Add border between info and comments
|
||||||
if (isNewDesign()) {
|
if (isNewDesign()) {
|
||||||
let descriptionAndActionsElement = document.getElementById("top-row");
|
let descriptionAndActionsElement = document.getElementById("top-row");
|
||||||
descriptionAndActionsElement.style.borderBottom = "1px solid var(--yt-spec-10-percent-layer)";
|
descriptionAndActionsElement.style.borderBottom =
|
||||||
|
"1px solid var(--yt-spec-10-percent-layer)";
|
||||||
descriptionAndActionsElement.style.paddingBottom = "10px";
|
descriptionAndActionsElement.style.paddingBottom = "10px";
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
document.getElementById("ryd-bar-container").style.width = widthPx + "px";
|
document.getElementById("ryd-bar-container").style.width =
|
||||||
|
widthPx + "px";
|
||||||
document.getElementById("ryd-bar").style.width = widthPercent + "%";
|
document.getElementById("ryd-bar").style.width = widthPercent + "%";
|
||||||
document.querySelector(
|
document.querySelector("#ryd-dislike-tooltip > #tooltip").innerHTML =
|
||||||
"#ryd-dislike-tooltip > #tooltip"
|
tooltipInnerHTML;
|
||||||
).innerHTML = tooltipInnerHTML;
|
|
||||||
if (extConfig.coloredBar) {
|
if (extConfig.coloredBar) {
|
||||||
document.getElementById("ryd-bar-container").style.backgroundColor =
|
document.getElementById("ryd-bar-container").style.backgroundColor =
|
||||||
getColorFromTheme(false);
|
getColorFromTheme(false);
|
||||||
@@ -97,7 +107,7 @@ function createRateBar(likes, dislikes) {
|
|||||||
} else {
|
} else {
|
||||||
cLog("removing bar");
|
cLog("removing bar");
|
||||||
let ratebar = document.getElementById("ryd-bar-container");
|
let ratebar = document.getElementById("ryd-bar-container");
|
||||||
if(ratebar) {
|
if (ratebar) {
|
||||||
ratebar.parentNode.removeChild(ratebar);
|
ratebar.parentNode.removeChild(ratebar);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -118,7 +118,9 @@ function storageChangeHandler(changes, area) {
|
|||||||
handleNumberDisplayFormatChangeEvent(changes.numberDisplayFormat.newValue);
|
handleNumberDisplayFormatChangeEvent(changes.numberDisplayFormat.newValue);
|
||||||
}
|
}
|
||||||
if (changes.numberDisplayReformatLikes !== undefined) {
|
if (changes.numberDisplayReformatLikes !== undefined) {
|
||||||
handleNumberDisplayReformatLikesChangeEvent(changes.numberDisplayReformatLikes.newValue);
|
handleNumberDisplayReformatLikesChangeEvent(
|
||||||
|
changes.numberDisplayReformatLikes.newValue
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,37 +1,41 @@
|
|||||||
import { cLog } from "./utils";
|
import { cLog } from "./utils";
|
||||||
|
|
||||||
function createStarRating(rating, isMobile) {
|
function createStarRating(rating, isMobile) {
|
||||||
let starRating = document.createElement('label');
|
let starRating = document.createElement("label");
|
||||||
|
|
||||||
let starSlider = document.createElement("input");
|
let starSlider = document.createElement("input");
|
||||||
starSlider.setAttribute("class", "rating");
|
starSlider.setAttribute("class", "rating");
|
||||||
starSlider.setAttribute("max", "5");
|
starSlider.setAttribute("max", "5");
|
||||||
starSlider.setAttribute("readonly", "");
|
starSlider.setAttribute("readonly", "");
|
||||||
starSlider.setAttribute("style", `--fill:rgb(255, 215, 0);--value:${rating.toString()};};background-color: transparent;`);
|
starSlider.setAttribute(
|
||||||
|
"style",
|
||||||
|
`--fill:rgb(255, 215, 0);--value:${rating.toString()};};background-color: transparent;`
|
||||||
|
);
|
||||||
starSlider.setAttribute("type", "range");
|
starSlider.setAttribute("type", "range");
|
||||||
|
|
||||||
starRating.appendChild(starSlider);
|
starRating.appendChild(starSlider);
|
||||||
|
|
||||||
let YTLikeButton;
|
let YTLikeButton;
|
||||||
|
|
||||||
if (isMobile){
|
if (isMobile) {
|
||||||
YTLikeButton = document.querySelector('#app > div.page-container > ytm-watch > ytm-single-column-watch-next-results-renderer > ytm-slim-video-metadata-section-renderer > ytm-slim-video-action-bar-renderer > div > ytm-slim-metadata-toggle-button-renderer:nth-child(1)');
|
YTLikeButton = document.querySelector(
|
||||||
|
"#app > div.page-container > ytm-watch > ytm-single-column-watch-next-results-renderer > ytm-slim-video-metadata-section-renderer > ytm-slim-video-action-bar-renderer > div > ytm-slim-metadata-toggle-button-renderer:nth-child(1)"
|
||||||
|
);
|
||||||
} else {
|
} else {
|
||||||
YTLikeButton = document.querySelector('#top-level-buttons-computed > ytd-toggle-button-renderer:nth-child(1)');
|
YTLikeButton = document.querySelector(
|
||||||
|
"#top-level-buttons-computed > ytd-toggle-button-renderer:nth-child(1)"
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
YTLikeButton.insertAdjacentElement('afterend', starRating);
|
YTLikeButton.insertAdjacentElement("afterend", starRating);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
let YTBar = document.querySelector('#ryd-bar-container');
|
let YTBar = document.querySelector("#ryd-bar-container");
|
||||||
YTBar.setAttribute("style", "width: 190%; height: 2px;");
|
YTBar.setAttribute("style", "width: 190%; height: 2px;");
|
||||||
}
|
} catch (err) {
|
||||||
catch(err) {
|
|
||||||
cLog("RateBar Not Present");
|
cLog("RateBar Not Present");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
let style = `<style>
|
let style = `<style>
|
||||||
|
|
||||||
.rating {
|
.rating {
|
||||||
@@ -94,8 +98,7 @@ function createStarRating(rating, isMobile) {
|
|||||||
|
|
||||||
</style>`;
|
</style>`;
|
||||||
|
|
||||||
document.head.insertAdjacentHTML("beforeend", style);
|
document.head.insertAdjacentHTML("beforeend", style);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
export { createStarRating };
|
||||||
|
|
||||||
export { createStarRating };
|
|
||||||
@@ -206,7 +206,8 @@ function processResponse(response, storedData) {
|
|||||||
getDislikeButton().style.color = getColorFromTheme(false);
|
getDislikeButton().style.color = getColorFromTheme(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
createStarRating(response.rating, isMobile());
|
//Temporary disabling this - it breaks all places where getButtons()[1] is used
|
||||||
|
// createStarRating(response.rating, isMobile());
|
||||||
}
|
}
|
||||||
|
|
||||||
// Tells the user if the API is down
|
// Tells the user if the API is down
|
||||||
|
|||||||
@@ -34,8 +34,10 @@ function getNumberFormatter(optionSelect) {
|
|||||||
?.getAttribute("href")
|
?.getAttribute("href")
|
||||||
)?.searchParams?.get("locale");
|
)?.searchParams?.get("locale");
|
||||||
} catch {
|
} catch {
|
||||||
cLog('Cannot find browser locale. Use en as default for number formatting.');
|
cLog(
|
||||||
userLocales = 'en';
|
"Cannot find browser locale. Use en as default for number formatting."
|
||||||
|
);
|
||||||
|
userLocales = "en";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -56,13 +58,10 @@ function getNumberFormatter(optionSelect) {
|
|||||||
formatterCompactDisplay = "short";
|
formatterCompactDisplay = "short";
|
||||||
}
|
}
|
||||||
|
|
||||||
const formatter = Intl.NumberFormat(
|
const formatter = Intl.NumberFormat(userLocales, {
|
||||||
userLocales,
|
|
||||||
{
|
|
||||||
notation: formatterNotation,
|
notation: formatterNotation,
|
||||||
compactDisplay: formatterCompactDisplay,
|
compactDisplay: formatterCompactDisplay,
|
||||||
}
|
});
|
||||||
);
|
|
||||||
return formatter;
|
return formatter;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ You can learn more at our website at: [returnyoutubedislike.com](https://www.ret
|
|||||||
Third-party use of this open API is allowed with the following restrictions:
|
Third-party use of this open API is allowed with the following restrictions:
|
||||||
|
|
||||||
- **Attribution**: This project should be clearly attributed with a link to [returnyoutubedislike.com](https://returnyoutubedislike.com/).
|
- **Attribution**: This project should be clearly attributed with a link to [returnyoutubedislike.com](https://returnyoutubedislike.com/).
|
||||||
- **Rate Limiting**: There are per client rate limits in place of 100 per minute and 10'000 per day. This will return a *429* status code indicating that your application should back off.
|
- **Rate Limiting**: There are per client rate limits in place of 100 per minute and 10'000 per day. This will return a _429_ status code indicating that your application should back off.
|
||||||
|
|
||||||
The API is accessible over the following base URL:
|
The API is accessible over the following base URL:
|
||||||
https://returnyoutubedislikeapi.com
|
https://returnyoutubedislikeapi.com
|
||||||
@@ -48,6 +48,7 @@ List of available endpoints is available here:
|
|||||||
https://returnyoutubedislikeapi.com/swagger/index.html
|
https://returnyoutubedislikeapi.com/swagger/index.html
|
||||||
|
|
||||||
### Get votes
|
### Get votes
|
||||||
|
|
||||||
Example to get votes of a given YouTube video ID:
|
Example to get votes of a given YouTube video ID:
|
||||||
`/votes?videoId=kxOuG8jMIgI`
|
`/votes?videoId=kxOuG8jMIgI`
|
||||||
|
|
||||||
@@ -63,11 +64,8 @@ Example to get votes of a given YouTube video ID:
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
None existing YouTube ID will return status code _404_ "Not Found".
|
||||||
None existing YouTube ID will return status code *404* "Not Found".
|
Wrong formed YouTube ID will return _400_ "Bad Request".
|
||||||
Wrong formed YouTube ID will return *400* "Bad Request".
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!---
|
<!---
|
||||||
## API documentation
|
## API documentation
|
||||||
@@ -75,7 +73,6 @@ Wrong formed YouTube ID will return *400* "Bad Request".
|
|||||||
You can view all documentation on our website.
|
You can view all documentation on our website.
|
||||||
[https://returnyoutubedislike.com/documentation/](https://returnyoutubedislike.com/documentation/) -->
|
[https://returnyoutubedislike.com/documentation/](https://returnyoutubedislike.com/documentation/) -->
|
||||||
|
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
Please read the [contribution guide](https://github.com/Anarios/return-youtube-dislike/blob/main/CONTRIBUTING.md).
|
Please read the [contribution guide](https://github.com/Anarios/return-youtube-dislike/blob/main/CONTRIBUTING.md).
|
||||||
@@ -87,6 +84,7 @@ You can support this project by donating to us on the link below:
|
|||||||
[Donate](https://returnyoutubedislike.com/donate)
|
[Donate](https://returnyoutubedislike.com/donate)
|
||||||
|
|
||||||
## Sponsors
|
## Sponsors
|
||||||
|
|
||||||
[Piepacker](https://piepacker.com)
|
[Piepacker](https://piepacker.com)
|
||||||
|
|
||||||
[Seed4.Me VPN](https://www.seed4.me/users/register?gift=ReturnYoutubeDislike)
|
[Seed4.Me VPN](https://www.seed4.me/users/register?gift=ReturnYoutubeDislike)
|
||||||
@@ -94,4 +92,3 @@ You can support this project by donating to us on the link below:
|
|||||||
[PocketTube](https://yousub.info/?utm_source=returnyoutubedislike)
|
[PocketTube](https://yousub.info/?utm_source=returnyoutubedislike)
|
||||||
|
|
||||||
[Become our sponsor](https://www.patreon.com/join/returnyoutubedislike/checkout?rid=8008601)
|
[Become our sponsor](https://www.patreon.com/join/returnyoutubedislike/checkout?rid=8008601)
|
||||||
|
|
||||||
+8
-11
@@ -7,7 +7,6 @@
|
|||||||
[](https://discord.gg/UMxyMmCgfF)
|
[](https://discord.gg/UMxyMmCgfF)
|
||||||
[](https://github.com/Anarios/return-youtube-dislike/blob/main/LICENSE)
|
[](https://github.com/Anarios/return-youtube-dislike/blob/main/LICENSE)
|
||||||
|
|
||||||
|
|
||||||
Leer en otros idiomas: [English](README.md), [русский](READMEru.md), [Français](READMEfr.md) [日本語](READMEja.md), [Türkçe](READMEtr.md)
|
Leer en otros idiomas: [English](README.md), [русский](READMEru.md), [Français](READMEfr.md) [日本語](READMEja.md), [Türkçe](READMEtr.md)
|
||||||
|
|
||||||
# Return YouTube Dislike
|
# Return YouTube Dislike
|
||||||
@@ -21,13 +20,13 @@ Leer en otros idiomas: [English](README.md), [русский](READMEru.md), [Fra
|
|||||||
|
|
||||||
## La historia
|
## La historia
|
||||||
|
|
||||||
El 10 de noviembre de 2021, Google [anunció](https://blog.youtube/news-and-events/update-to-youtube/) que eliminarían el contador de *dislikes* de YouTube.
|
El 10 de noviembre de 2021, Google [anunció](https://blog.youtube/news-and-events/update-to-youtube/) que eliminarían el contador de _dislikes_ de YouTube.
|
||||||
|
|
||||||
Adicionalmente, el campo `dislike` de la API de YouTube también fue [eliminado](https://support.google.com/youtube/thread/134791097/update-to-youtube-dislike-counts) el 13 de diciembre de 2021, acabando con la posibilidad de juzgar la calidad de un contenido antes de verlo.
|
Adicionalmente, el campo `dislike` de la API de YouTube también fue [eliminado](https://support.google.com/youtube/thread/134791097/update-to-youtube-dislike-counts) el 13 de diciembre de 2021, acabando con la posibilidad de juzgar la calidad de un contenido antes de verlo.
|
||||||
|
|
||||||
## Qué hace
|
## Qué hace
|
||||||
|
|
||||||
Tras la retirada de las estadísticas de *dislikes* de la API de YouTube, nuestro *backend* pasó a usar una combinación de las estadísticas archivadas de *dislikes* y datos extrapolados de los usuarios de la extensión.
|
Tras la retirada de las estadísticas de _dislikes_ de la API de YouTube, nuestro _backend_ pasó a usar una combinación de las estadísticas archivadas de _dislikes_ y datos extrapolados de los usuarios de la extensión.
|
||||||
|
|
||||||
[FAQ](https://github.com/Anarios/return-youtube-dislike/blob/main/Docs/FAQ.md)
|
[FAQ](https://github.com/Anarios/return-youtube-dislike/blob/main/Docs/FAQ.md)
|
||||||
|
|
||||||
@@ -40,15 +39,16 @@ Para más información, visita nuestro sitio web: [returnyoutubedislike.com](htt
|
|||||||
Se permite el uso de terceros de esta API abierta bajo las siguientes restricciones:
|
Se permite el uso de terceros de esta API abierta bajo las siguientes restricciones:
|
||||||
|
|
||||||
- **Atribución**: Este proyecto debe estar claramente atribuido con un enlace a [returnyoutubedislike.com](https://returnyoutubedislike.com/).
|
- **Atribución**: Este proyecto debe estar claramente atribuido con un enlace a [returnyoutubedislike.com](https://returnyoutubedislike.com/).
|
||||||
- **Límites de velocidad**: Hay límites de velocidad por cliente de 100 solicitudes por minuto y 10.000 al día. Al excederlos se mostrará un código de estado *429*, indicando que tu aplicación debe bajar la velocidad.
|
- **Límites de velocidad**: Hay límites de velocidad por cliente de 100 solicitudes por minuto y 10.000 al día. Al excederlos se mostrará un código de estado _429_, indicando que tu aplicación debe bajar la velocidad.
|
||||||
|
|
||||||
La API es accesible a través de la siguiente URL base:
|
La API es accesible a través de la siguiente URL base:
|
||||||
https://returnyoutubedislikeapi.com
|
https://returnyoutubedislikeapi.com
|
||||||
|
|
||||||
La lista de los *endpoints* disponibles se puede consultar aquí:
|
La lista de los _endpoints_ disponibles se puede consultar aquí:
|
||||||
https://returnyoutubedislikeapi.com/swagger/index.html
|
https://returnyoutubedislikeapi.com/swagger/index.html
|
||||||
|
|
||||||
### Obtención de votos
|
### Obtención de votos
|
||||||
|
|
||||||
Ejemplo para obtener los votos del ID de un vídeo de YouTube proporcionado:
|
Ejemplo para obtener los votos del ID de un vídeo de YouTube proporcionado:
|
||||||
`/votes?videoId=kxOuG8jMIgI`
|
`/votes?videoId=kxOuG8jMIgI`
|
||||||
|
|
||||||
@@ -64,11 +64,8 @@ Ejemplo para obtener los votos del ID de un vídeo de YouTube proporcionado:
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Un ID de YouTube no existente mostrará el código de estado _404_ "Not Found" (no encontrado).
|
||||||
Un ID de YouTube no existente mostrará el código de estado *404* "Not Found" (no encontrado).
|
Un ID de YouTube mal estructurado mostrará el código _400_ "Bad Request" (solicitud incorrecta).
|
||||||
Un ID de YouTube mal estructurado mostrará el código *400* "Bad Request" (solicitud incorrecta).
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!---
|
<!---
|
||||||
## Documentación de la API
|
## Documentación de la API
|
||||||
@@ -76,7 +73,6 @@ Un ID de YouTube mal estructurado mostrará el código *400* "Bad Request" (soli
|
|||||||
Puedes ver toda la documentación en nuestra página web.
|
Puedes ver toda la documentación en nuestra página web.
|
||||||
[https://returnyoutubedislike.com/documentation/](https://returnyoutubedislike.com/documentation/) -->
|
[https://returnyoutubedislike.com/documentation/](https://returnyoutubedislike.com/documentation/) -->
|
||||||
|
|
||||||
|
|
||||||
## Contribuciones
|
## Contribuciones
|
||||||
|
|
||||||
Rogamos que leas la [guía de contribución](https://github.com/Anarios/return-youtube-dislike/blob/main/CONTRIBUTING.md) antes de empezar.
|
Rogamos que leas la [guía de contribución](https://github.com/Anarios/return-youtube-dislike/blob/main/CONTRIBUTING.md) antes de empezar.
|
||||||
@@ -88,6 +84,7 @@ Puedes apoyar este proyecto enviando un donativo a través del enlace inferior:
|
|||||||
[Donar](https://returnyoutubedislike.com/donate)
|
[Donar](https://returnyoutubedislike.com/donate)
|
||||||
|
|
||||||
## Patrocinadores
|
## Patrocinadores
|
||||||
|
|
||||||
[Piepacker](https://piepacker.com)
|
[Piepacker](https://piepacker.com)
|
||||||
|
|
||||||
[Seed4.Me VPN](https://www.seed4.me/users/register?gift=ReturnYoutubeDislike)
|
[Seed4.Me VPN](https://www.seed4.me/users/register?gift=ReturnYoutubeDislike)
|
||||||
|
|||||||
+5
-7
@@ -39,7 +39,7 @@ Vous pouvez en savoir plus sur notre site web à l'adresse suivante : [returnyou
|
|||||||
L'utilisation par des tiers de cette API ouverte est autorisée avec les restrictions suivantes :
|
L'utilisation par des tiers de cette API ouverte est autorisée avec les restrictions suivantes :
|
||||||
|
|
||||||
- **Attribution**: Ce projet doit être clairement nommé avec un lien vers [returnyoutubedislike.com](https://returnyoutubedislike.com/).
|
- **Attribution**: Ce projet doit être clairement nommé avec un lien vers [returnyoutubedislike.com](https://returnyoutubedislike.com/).
|
||||||
- **Limitation des requêtes**: Il y a des limites de requêtes par client en place qui sont de 100 requêtes par minute et 10 000 par jour. Nous renverrons un code d'erreur *429* indiquant que votre application devrait se calmer.
|
- **Limitation des requêtes**: Il y a des limites de requêtes par client en place qui sont de 100 requêtes par minute et 10 000 par jour. Nous renverrons un code d'erreur _429_ indiquant que votre application devrait se calmer.
|
||||||
|
|
||||||
L'API est accessible via l'URL de base suivante:
|
L'API est accessible via l'URL de base suivante:
|
||||||
https://returnyoutubedislikeapi.com
|
https://returnyoutubedislikeapi.com
|
||||||
@@ -48,6 +48,7 @@ La liste des endpoints est disponible ici:
|
|||||||
https://returnyoutubedislikeapi.com/swagger/index.html
|
https://returnyoutubedislikeapi.com/swagger/index.html
|
||||||
|
|
||||||
### Obtenir les likes
|
### Obtenir les likes
|
||||||
|
|
||||||
Exemple pour obtenir les likes d'une vidéo YouTube avec un ID donné:
|
Exemple pour obtenir les likes d'une vidéo YouTube avec un ID donné:
|
||||||
`/votes?videoId=kxOuG8jMIgI`
|
`/votes?videoId=kxOuG8jMIgI`
|
||||||
|
|
||||||
@@ -63,11 +64,8 @@ Exemple pour obtenir les likes d'une vidéo YouTube avec un ID donné:
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Si aucunne vidéo YouTube à cet ID, il sera retourner le code d'erreur _404_ "Not Found".
|
||||||
Si aucunne vidéo YouTube à cet ID, il sera retourner le code d'erreur *404* "Not Found".
|
Un ID YouTube invilide renverra _400_ "Bad Request".
|
||||||
Un ID YouTube invilide renverra *400* "Bad Request".
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!---
|
<!---
|
||||||
## Documentation de l'API
|
## Documentation de l'API
|
||||||
@@ -75,7 +73,6 @@ Un ID YouTube invilide renverra *400* "Bad Request".
|
|||||||
Vous pouvez consulter toute la documentation sur notre site web.
|
Vous pouvez consulter toute la documentation sur notre site web.
|
||||||
[https://returnyoutubedislike.com/docs](https://returnyoutubedislike.com/docs) -->
|
[https://returnyoutubedislike.com/docs](https://returnyoutubedislike.com/docs) -->
|
||||||
|
|
||||||
|
|
||||||
## Contribution
|
## Contribution
|
||||||
|
|
||||||
Veuillez lire le [guide des contributions](CONTRIBUTINGfr.md).
|
Veuillez lire le [guide des contributions](CONTRIBUTINGfr.md).
|
||||||
@@ -87,6 +84,7 @@ Vous pouvez soutenir ce projet en faisant un don grâce au lien ci-dessous :
|
|||||||
[Donner](https://returnyoutubedislike.com/donate)
|
[Donner](https://returnyoutubedislike.com/donate)
|
||||||
|
|
||||||
## Sponsors
|
## Sponsors
|
||||||
|
|
||||||
[Piepacker](https://piepacker.com)
|
[Piepacker](https://piepacker.com)
|
||||||
|
|
||||||
[Seed4.Me VPN](https://www.seed4.me/users/register?gift=ReturnYoutubeDislike)
|
[Seed4.Me VPN](https://www.seed4.me/users/register?gift=ReturnYoutubeDislike)
|
||||||
|
|||||||
+11
-14
@@ -20,15 +20,15 @@
|
|||||||
|
|
||||||
## これまでの経緯
|
## これまでの経緯
|
||||||
|
|
||||||
2021年10月10日、GoogleはYouTubeの低評価を非表示にすると[発表しました](https://blog.youtube/news-and-events/update-to-youtube/)。
|
2021 年 10 月 10 日、Google は YouTube の低評価を非表示にすると[発表しました](https://blog.youtube/news-and-events/update-to-youtube/)。
|
||||||
|
|
||||||
そして2021年12月13日、YouTube APIからも低評価が[削除]((https://support.google.com/youtube/thread/134791097/update-to-youtube-dislike-counts))され、動画のクオリティを判断する手段がなくなってしまいました。
|
そして 2021 年 12 月 13 日、YouTube API からも低評価が[削除](<(https://support.google.com/youtube/thread/134791097/update-to-youtube-dislike-counts)>)され、動画のクオリティを判断する手段がなくなってしまいました。
|
||||||
|
|
||||||
## What it Does
|
## What it Does
|
||||||
|
|
||||||
<!-- この部分の翻訳が微妙? -->
|
<!-- この部分の翻訳が微妙? -->
|
||||||
|
|
||||||
YouTube APIから低評価が削除されたことにより、バックエンドは拡張機能のユーザーをもとにスクレイピングされたデータと組み合わせて表示するように切り替わりました
|
YouTube API から低評価が削除されたことにより、バックエンドは拡張機能のユーザーをもとにスクレイピングされたデータと組み合わせて表示するように切り替わりました
|
||||||
|
|
||||||
[FAQ](https://github.com/Anarios/return-youtube-dislike/blob/main/Docs/FAQ.md)
|
[FAQ](https://github.com/Anarios/return-youtube-dislike/blob/main/Docs/FAQ.md)
|
||||||
|
|
||||||
@@ -38,19 +38,20 @@ YouTube APIから低評価が削除されたことにより、バックエンド
|
|||||||
|
|
||||||
## API ドキュメント
|
## API ドキュメント
|
||||||
|
|
||||||
サードパーティは以下の制限のもとでAPIを利用できます:
|
サードパーティは以下の制限のもとで API を利用できます:
|
||||||
|
|
||||||
- **帰属**: [returnyoutubedislike.com](https://returnyoutubedislike.com/) へのリンクを明確に表記してください。
|
- **帰属**: [returnyoutubedislike.com](https://returnyoutubedislike.com/) へのリンクを明確に表記してください。
|
||||||
- **レート制限**: クライアントごとに1分あたり100回、1日あたり10000回という制限があります。制限に達すると*429*コードが返されます。
|
- **レート制限**: クライアントごとに 1 分あたり 100 回、1 日あたり 10000 回という制限があります。制限に達すると*429*コードが返されます。
|
||||||
|
|
||||||
APIは以下のBase URLでアクセスできます:
|
API は以下の Base URL でアクセスできます:
|
||||||
https://returnyoutubedislikeapi.com
|
https://returnyoutubedislikeapi.com
|
||||||
|
|
||||||
利用可能なエンドポイントはこちらを参照してください:
|
利用可能なエンドポイントはこちらを参照してください:
|
||||||
https://returnyoutubedislikeapi.com/swagger/index.html
|
https://returnyoutubedislikeapi.com/swagger/index.html
|
||||||
|
|
||||||
### 評価を取得
|
### 評価を取得
|
||||||
APIを利用してYouTube video IDから評価を取得する例です:
|
|
||||||
|
API を利用して YouTube video ID から評価を取得する例です:
|
||||||
`/votes?videoId=kxOuG8jMIgI`
|
`/votes?videoId=kxOuG8jMIgI`
|
||||||
|
|
||||||
```json
|
```json
|
||||||
@@ -65,11 +66,8 @@ APIを利用してYouTube video IDから評価を取得する例です:
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
存在しない YouTube ID の場合 _404_ "Not Found" が返されます。
|
||||||
存在しないYouTube IDの場合 *404* "Not Found" が返されます。
|
不正なフォーマットの YouTube ID の場合 _400_ "Bad Request"が返されます。
|
||||||
不正なフォーマットのYouTube IDの場合 *400* "Bad Request"が返されます。
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!---
|
<!---
|
||||||
## API ドキュメント
|
## API ドキュメント
|
||||||
@@ -77,7 +75,6 @@ APIを利用してYouTube video IDから評価を取得する例です:
|
|||||||
APIの完全なドキュメントは公式サイトを参照してください。
|
APIの完全なドキュメントは公式サイトを参照してください。
|
||||||
[https://returnyoutubedislike.com/documentation/](https://returnyoutubedislike.com/documentation/) -->
|
[https://returnyoutubedislike.com/documentation/](https://returnyoutubedislike.com/documentation/) -->
|
||||||
|
|
||||||
|
|
||||||
## 貢献する
|
## 貢献する
|
||||||
|
|
||||||
こちらの[contribution guide](https://github.com/Anarios/return-youtube-dislike/blob/main/CONTRIBUTING.md)を読んでください。
|
こちらの[contribution guide](https://github.com/Anarios/return-youtube-dislike/blob/main/CONTRIBUTING.md)を読んでください。
|
||||||
@@ -89,6 +86,7 @@ APIの完全なドキュメントは公式サイトを参照してください
|
|||||||
[寄付](https://returnyoutubedislike.com/donate)
|
[寄付](https://returnyoutubedislike.com/donate)
|
||||||
|
|
||||||
## スポンサー
|
## スポンサー
|
||||||
|
|
||||||
[Piepacker](https://piepacker.com)
|
[Piepacker](https://piepacker.com)
|
||||||
|
|
||||||
[Seed4.Me VPN](https://www.seed4.me/users/register?gift=ReturnYoutubeDislike)
|
[Seed4.Me VPN](https://www.seed4.me/users/register?gift=ReturnYoutubeDislike)
|
||||||
@@ -96,4 +94,3 @@ APIの完全なドキュメントは公式サイトを参照してください
|
|||||||
[PocketTube](https://yousub.info/?utm_source=returnyoutubedislike)
|
[PocketTube](https://yousub.info/?utm_source=returnyoutubedislike)
|
||||||
|
|
||||||
[Become our sponsor](https://www.patreon.com/join/returnyoutubedislike/checkout?rid=8008601)
|
[Become our sponsor](https://www.patreon.com/join/returnyoutubedislike/checkout?rid=8008601)
|
||||||
|
|
||||||
+5
-10
@@ -7,10 +7,8 @@
|
|||||||
[](https://discord.gg/UMxyMmCgfF)
|
[](https://discord.gg/UMxyMmCgfF)
|
||||||
[](https://github.com/Anarios/return-youtube-dislike/blob/main/LICENSE)
|
[](https://github.com/Anarios/return-youtube-dislike/blob/main/LICENSE)
|
||||||
|
|
||||||
|
|
||||||
Прочитать на других языках: [English](README.md), [Español](READMEes.md), [Français](READMEfr.md), [日本語](READMEja.md), [Türkçe](READMEtr.md)
|
Прочитать на других языках: [English](README.md), [Español](READMEes.md), [Français](READMEfr.md), [日本語](READMEja.md), [Türkçe](READMEtr.md)
|
||||||
|
|
||||||
|
|
||||||
# Return YouTube Dislike
|
# Return YouTube Dislike
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
@@ -41,7 +39,7 @@
|
|||||||
Стороннее использование этого открытого API разрешено со следующими ограничениями:
|
Стороннее использование этого открытого API разрешено со следующими ограничениями:
|
||||||
|
|
||||||
- **Атрибуция**: Этот проект должен быть чётко описан со ссылкой на [returnyoutubedislike.com](https://returnyoutubedislike.com/).
|
- **Атрибуция**: Этот проект должен быть чётко описан со ссылкой на [returnyoutubedislike.com](https://returnyoutubedislike.com/).
|
||||||
- **Ограничение**: Существуют ограничения скорости для каждого клиента - 100 в минуту и 10 000 в день. Это выдаст код ошибки *429*, указывающий на то, что ваше приложение должно быть отключено.
|
- **Ограничение**: Существуют ограничения скорости для каждого клиента - 100 в минуту и 10 000 в день. Это выдаст код ошибки _429_, указывающий на то, что ваше приложение должно быть отключено.
|
||||||
|
|
||||||
API доступен по следующему основному URL-адресу:
|
API доступен по следующему основному URL-адресу:
|
||||||
https://returnyoutubedislikeapi.com
|
https://returnyoutubedislikeapi.com
|
||||||
@@ -50,6 +48,7 @@ https://returnyoutubedislikeapi.com
|
|||||||
https://returnyoutubedislikeapi.com/swagger/index.html
|
https://returnyoutubedislikeapi.com/swagger/index.html
|
||||||
|
|
||||||
### Получить голоса
|
### Получить голоса
|
||||||
|
|
||||||
Пример получения голосов за заданный идентификатор видео на YouTube:
|
Пример получения голосов за заданный идентификатор видео на YouTube:
|
||||||
`/votes?videoId=kxOuG8jMIgI`
|
`/votes?videoId=kxOuG8jMIgI`
|
||||||
|
|
||||||
@@ -65,11 +64,8 @@ https://returnyoutubedislikeapi.com/swagger/index.html
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Неверный идентификатор YouTube выдаст код ошибки _404_ "Не найдено".
|
||||||
Неверный идентификатор YouTube выдаст код ошибки *404* "Не найдено".
|
Неправильно отформатированный идентификатор YouTube выдаст код ошибки _400_ "Неверный запрос".
|
||||||
Неправильно отформатированный идентификатор YouTube выдаст код ошибки *400* "Неверный запрос".
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!---
|
<!---
|
||||||
## Документация по API
|
## Документация по API
|
||||||
@@ -77,7 +73,6 @@ https://returnyoutubedislikeapi.com/swagger/index.html
|
|||||||
Вы можете просмотреть всю документацию на нашем веб-сайте.
|
Вы можете просмотреть всю документацию на нашем веб-сайте.
|
||||||
[https://returnyoutubedislike.com/documentation/](https://returnyoutubedislike.com/documentation/) -->
|
[https://returnyoutubedislike.com/documentation/](https://returnyoutubedislike.com/documentation/) -->
|
||||||
|
|
||||||
|
|
||||||
## Участие/помощь в разработке
|
## Участие/помощь в разработке
|
||||||
|
|
||||||
Пожалуйста, ознакомьтесь с [руководством по внесению вклада в проект](https://github.com/Anarios/return-youtube-dislike/blob/main/CONTRIBUTINGru.md).
|
Пожалуйста, ознакомьтесь с [руководством по внесению вклада в проект](https://github.com/Anarios/return-youtube-dislike/blob/main/CONTRIBUTINGru.md).
|
||||||
@@ -89,6 +84,7 @@ https://returnyoutubedislikeapi.com/swagger/index.html
|
|||||||
[Пожертвование](https://returnyoutubedislike.com/donate)
|
[Пожертвование](https://returnyoutubedislike.com/donate)
|
||||||
|
|
||||||
## Спонсоры
|
## Спонсоры
|
||||||
|
|
||||||
[Piepacker](https://piepacker.com)
|
[Piepacker](https://piepacker.com)
|
||||||
|
|
||||||
[Seed4.Me VPN](https://www.seed4.me/users/register?gift=ReturnYoutubeDislike)
|
[Seed4.Me VPN](https://www.seed4.me/users/register?gift=ReturnYoutubeDislike)
|
||||||
@@ -96,4 +92,3 @@ https://returnyoutubedislikeapi.com/swagger/index.html
|
|||||||
[PocketTube](https://yousub.info/?utm_source=returnyoutubedislike)
|
[PocketTube](https://yousub.info/?utm_source=returnyoutubedislike)
|
||||||
|
|
||||||
[Станьте нашим спонсором](https://www.patreon.com/join/returnyoutubedislike/checkout?rid=8008601)
|
[Станьте нашим спонсором](https://www.patreon.com/join/returnyoutubedislike/checkout?rid=8008601)
|
||||||
|
|
||||||
+4
-6
@@ -48,6 +48,7 @@ Kullanılabilir endpoint'lerin listesi burada mevcuttur:
|
|||||||
https://returnyoutubedislikeapi.com/swagger/index.html
|
https://returnyoutubedislikeapi.com/swagger/index.html
|
||||||
|
|
||||||
### Oylamaları Elde Etme
|
### Oylamaları Elde Etme
|
||||||
|
|
||||||
Belirli bir YouTube video ID'sinin oylamalarını elde etmek için bir örnek:
|
Belirli bir YouTube video ID'sinin oylamalarını elde etmek için bir örnek:
|
||||||
`/votes?videoId=kxOuG8jMIgI`
|
`/votes?videoId=kxOuG8jMIgI`
|
||||||
|
|
||||||
@@ -63,11 +64,8 @@ Belirli bir YouTube video ID'sinin oylamalarını elde etmek için bir örnek:
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Hiçbir mevcut YouTube ID'si _404_ "Not Found" durum kodunu döndürmez.
|
||||||
Hiçbir mevcut YouTube ID'si *404* "Not Found" durum kodunu döndürmez.
|
Yanlış oluşturulmuş bir YouTube ID'si _400_ "Bad Request" durum kodunu döndürür.
|
||||||
Yanlış oluşturulmuş bir YouTube ID'si *400* "Bad Request" durum kodunu döndürür.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!---
|
<!---
|
||||||
## API Belgelemesi
|
## API Belgelemesi
|
||||||
@@ -75,7 +73,6 @@ Yanlış oluşturulmuş bir YouTube ID'si *400* "Bad Request" durum kodunu dönd
|
|||||||
Tüm belgelemeleri sitemizden inceleyebilirsiniz.
|
Tüm belgelemeleri sitemizden inceleyebilirsiniz.
|
||||||
[https://returnyoutubedislike.com/documentation/](https://returnyoutubedislike.com/documentation/) -->
|
[https://returnyoutubedislike.com/documentation/](https://returnyoutubedislike.com/documentation/) -->
|
||||||
|
|
||||||
|
|
||||||
## Katkıda Bulunma
|
## Katkıda Bulunma
|
||||||
|
|
||||||
Lütfen [katkı kılavuzu](https://github.com/Anarios/return-youtube-dislike/blob/main/CONTRIBUTING.md)nu okuyun.
|
Lütfen [katkı kılavuzu](https://github.com/Anarios/return-youtube-dislike/blob/main/CONTRIBUTING.md)nu okuyun.
|
||||||
@@ -87,6 +84,7 @@ Aşağıdaki bağlantıdan bize bağış yapabilir ve bu projeye destek olabilir
|
|||||||
[Bağış Yapın](https://returnyoutubedislike.com/donate)
|
[Bağış Yapın](https://returnyoutubedislike.com/donate)
|
||||||
|
|
||||||
## Sponsorlar
|
## Sponsorlar
|
||||||
|
|
||||||
[Piepacker](https://piepacker.com)
|
[Piepacker](https://piepacker.com)
|
||||||
|
|
||||||
[Seed4.Me VPN](https://www.seed4.me/users/register?gift=ReturnYoutubeDislike)
|
[Seed4.Me VPN](https://www.seed4.me/users/register?gift=ReturnYoutubeDislike)
|
||||||
|
|||||||
+6
-4
@@ -23,11 +23,13 @@ $ npm run generate
|
|||||||
For detailed explanation on how things work, check out the [documentation](https://nuxtjs.org).
|
For detailed explanation on how things work, check out the [documentation](https://nuxtjs.org).
|
||||||
|
|
||||||
## Recommended VSCode Setup
|
## Recommended VSCode Setup
|
||||||
- [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) `ext install dbaeumer.vscode-eslint`
|
|
||||||
- [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) `ext install esbenp.prettier-vscode`
|
|
||||||
- [Vetur](https://marketplace.visualstudio.com/items?itemName=octref.vetur)
|
|
||||||
|
|
||||||
>`Ctrl(Cmd)` + `Shift` + `P` > Open Settings (JSON)
|
- [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) `ext install dbaeumer.vscode-eslint`
|
||||||
|
- [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) `ext install esbenp.prettier-vscode`
|
||||||
|
- [Vetur](https://marketplace.visualstudio.com/items?itemName=octref.vetur)
|
||||||
|
|
||||||
|
> `Ctrl(Cmd)` + `Shift` + `P` > Open Settings (JSON)
|
||||||
|
|
||||||
```
|
```
|
||||||
"editor.formatOnSave": true,
|
"editor.formatOnSave": true,
|
||||||
"editor.codeActionsOnSave": {
|
"editor.codeActionsOnSave": {
|
||||||
|
|||||||
+99
-78
@@ -1,104 +1,125 @@
|
|||||||
import { cs } from 'vuetify/src/locale'
|
import { cs } from "vuetify/src/locale";
|
||||||
// By Fjuro
|
// By Fjuro
|
||||||
export default {
|
export default {
|
||||||
...cs,
|
...cs,
|
||||||
home: {
|
home: {
|
||||||
name: 'Domů',
|
name: "Domů",
|
||||||
title: 'Return YouTube Dislike',
|
title: "Return YouTube Dislike",
|
||||||
subtitle: 'Rozšíření prohlížeče a API, která zobrazí disliky na YouTube',
|
subtitle: "Rozšíření prohlížeče a API, která zobrazí disliky na YouTube",
|
||||||
ukraine: 'Podpořte Ukrajinu',
|
ukraine: "Podpořte Ukrajinu",
|
||||||
sponsors: 'Sponzoři',
|
sponsors: "Sponzoři",
|
||||||
},
|
},
|
||||||
install: {
|
install: {
|
||||||
name: 'Instalace',
|
name: "Instalace",
|
||||||
title: 'Vyberte svou platformu',
|
title: "Vyberte svou platformu",
|
||||||
subtitle: 'Dostupné pro Firefox a všechny prohlížeče založené na Chromiu',
|
subtitle: "Dostupné pro Firefox a všechny prohlížeče založené na Chromiu",
|
||||||
title2: 'Další platformy',
|
title2: "Další platformy",
|
||||||
subtitle2: 'Pokud váš prohlížeč ještě není podporován, vyzkoušejte tento UserScript',
|
subtitle2:
|
||||||
title3: 'Implementace třetích stran',
|
"Pokud váš prohlížeč ještě není podporován, vyzkoušejte tento UserScript",
|
||||||
subtitle3: 'Žádná odpovědnost na naší straně, používejte na vlastní nebezpečí',
|
title3: "Implementace třetích stran",
|
||||||
|
subtitle3:
|
||||||
|
"Žádná odpovědnost na naší straně, používejte na vlastní nebezpečí",
|
||||||
},
|
},
|
||||||
api: {
|
api: {
|
||||||
name: 'API',
|
name: "API",
|
||||||
title: 'Vítejte v oficiální dokumentaci RYD!',
|
title: "Vítejte v oficiální dokumentaci RYD!",
|
||||||
subtitle: 'Pro začátek vyberte sekci z menu.',
|
subtitle: "Pro začátek vyberte sekci z menu.",
|
||||||
rights: {
|
rights: {
|
||||||
title: 'Práva k použití',
|
title: "Práva k použití",
|
||||||
subtitle: 'Použití této API třetími stranami je povoleno s následujícími omezeními:',
|
subtitle:
|
||||||
bullet1: 'Uvedení: ',
|
"Použití této API třetími stranami je povoleno s následujícími omezeními:",
|
||||||
bullet1text: 'Tento projekt by měl být viditelně uveden buď s odkazem na tento repozitář, nebo s odkazem na returnyoutubedislike.com',
|
bullet1: "Uvedení: ",
|
||||||
bullet2: 'Omezení požadavků: ',
|
bullet1text:
|
||||||
bullet2text: 'U API platí omezení na 100 požadavků za minutu a 10 000 za den. Při překročení tohoto limitu aplikace vrátí stavový kód 429, značící, že byste měli omezit své požadavky',
|
"Tento projekt by měl být viditelně uveden buď s odkazem na tento repozitář, nebo s odkazem na returnyoutubedislike.com",
|
||||||
|
bullet2: "Omezení požadavků: ",
|
||||||
|
bullet2text:
|
||||||
|
"U API platí omezení na 100 požadavků za minutu a 10 000 za den. Při překročení tohoto limitu aplikace vrátí stavový kód 429, značící, že byste měli omezit své požadavky",
|
||||||
},
|
},
|
||||||
url: {
|
url: {
|
||||||
title: 'Informace o URL',
|
title: "Informace o URL",
|
||||||
subtitle: 'API je dostupná na následující základní URL: ',
|
subtitle: "API je dostupná na následující základní URL: ",
|
||||||
},
|
},
|
||||||
endpoints: {
|
endpoints: {
|
||||||
title: 'Dostupné endpointy',
|
title: "Dostupné endpointy",
|
||||||
subtitle: 'Seznam dostupných endpointů lze nalézt zde: ',
|
subtitle: "Seznam dostupných endpointů lze nalézt zde: ",
|
||||||
},
|
},
|
||||||
fetching: {
|
fetching: {
|
||||||
title: 'Základní návod na přístup',
|
title: "Základní návod na přístup",
|
||||||
subtitle: 'Příklad získání hlasů daného ID YouTube videa: ID: ',
|
subtitle: "Příklad získání hlasů daného ID YouTube videa: ID: ",
|
||||||
title2: 'Příklad požadavku: ',
|
title2: "Příklad požadavku: ",
|
||||||
url: 'URL požadavku: ',
|
url: "URL požadavku: ",
|
||||||
method: 'Způsob žádosti: ',
|
method: "Způsob žádosti: ",
|
||||||
headers: 'Hlavičky: ',
|
headers: "Hlavičky: ",
|
||||||
response: 'Odpověď: ',
|
response: "Odpověď: ",
|
||||||
error1: 'Neplatné YouTube ID vrátí stavový kód 404 "Not Found"',
|
error1: 'Neplatné YouTube ID vrátí stavový kód 404 "Not Found"',
|
||||||
error2: 'Nesprávně formátované YouTube ID vrátí stavový kód 400 "Bad Request"'
|
error2:
|
||||||
|
'Nesprávně formátované YouTube ID vrátí stavový kód 400 "Bad Request"',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
help: {
|
help: {
|
||||||
name: 'Nápověda',
|
name: "Nápověda",
|
||||||
title: 'Řešení problémů',
|
title: "Řešení problémů",
|
||||||
bullet1: 'Ujistěte se, že používáte nejnovější verzi rozšíření. Momentálně je to verze ',
|
bullet1:
|
||||||
bullet11: '',
|
"Ujistěte se, že používáte nejnovější verzi rozšíření. Momentálně je to verze ",
|
||||||
bullet2: 'Zkuste odebrat a znovu nainstalovat rozšíření a poté restartovat váš prohlížeč (všechna aktivní okna, ne jen jednu kartu)',
|
bullet11: "",
|
||||||
bullet3: 'Ujistěte se, že se otevře následující odkaz: ',
|
bullet2:
|
||||||
bullet31: 'měli byste vidět tento text: ',
|
"Zkuste odebrat a znovu nainstalovat rozšíření a poté restartovat váš prohlížeč (všechna aktivní okna, ne jen jednu kartu)",
|
||||||
bullet4: 'Pokud nepomůže ani jedna z možností výše, nahlaste svůj problém do kanálu',
|
bullet3: "Ujistěte se, že se otevře následující odkaz: ",
|
||||||
bullet41: 'v našem',
|
bullet31: "měli byste vidět tento text: ",
|
||||||
bullet4a: 'Řekněte nám jaký máte operační systém, název prohlížeče a verzi prohlížeče',
|
bullet4:
|
||||||
bullet4b: 'Udělejte snímek obrazovky s problémem (např. stránka YouTube videa) s otevřenou konzolí (stiskněte ',
|
"Pokud nepomůže ani jedna z možností výše, nahlaste svůj problém do kanálu",
|
||||||
bullet4b1: ') - příkladný snímek viz níže.',
|
bullet41: "v našem",
|
||||||
bullet4c: 'Udělejte snímek obrazovky stránky rozšíření vašeho prohlížeče s nainstalovaným rozšířením.',
|
bullet4a:
|
||||||
bullet4c1: 'Pro zobrazení rozšíření zadejte následující adresu do adresního řádku: ',
|
"Řekněte nám jaký máte operační systém, název prohlížeče a verzi prohlížeče",
|
||||||
firefox: 'pro Firefox',
|
bullet4b:
|
||||||
chrome: 'pro Chrome, Edge, Brave, Opera, Vivaldi',
|
"Udělejte snímek obrazovky s problémem (např. stránka YouTube videa) s otevřenou konzolí (stiskněte ",
|
||||||
|
bullet4b1: ") - příkladný snímek viz níže.",
|
||||||
|
bullet4c:
|
||||||
|
"Udělejte snímek obrazovky stránky rozšíření vašeho prohlížeče s nainstalovaným rozšířením.",
|
||||||
|
bullet4c1:
|
||||||
|
"Pro zobrazení rozšíření zadejte následující adresu do adresního řádku: ",
|
||||||
|
firefox: "pro Firefox",
|
||||||
|
chrome: "pro Chrome, Edge, Brave, Opera, Vivaldi",
|
||||||
},
|
},
|
||||||
faq: {
|
faq: {
|
||||||
name: 'FAQ',
|
name: "FAQ",
|
||||||
title: 'Často kladené dotazy',
|
title: "Často kladené dotazy",
|
||||||
subtitle: 'Stále máte otázky? Připojte se na náš Discord server!',
|
subtitle: "Stále máte otázky? Připojte se na náš Discord server!",
|
||||||
bullet1: 'Jak získává rozšíření svá data?',
|
bullet1: "Jak získává rozšíření svá data?",
|
||||||
bullet1text: 'Kombinací archivovaných dat z doby před oficiálním vypnutím rozhraní API YouTube dislike a extrapolovaného chování uživatelů rozšíření..',
|
bullet1text:
|
||||||
bullet2: 'Proč se neaktualizuje počet disliků?',
|
"Kombinací archivovaných dat z doby před oficiálním vypnutím rozhraní API YouTube dislike a extrapolovaného chování uživatelů rozšíření..",
|
||||||
bullet2text: 'V současné době jsou počty disliků videí ukládány do mezipaměti a nejsou příliš často aktualizovány. Jejich aktualizace se liší v závislosti na popularitě videa, ale může trvat od několika hodin do několika dnů.',
|
bullet2: "Proč se neaktualizuje počet disliků?",
|
||||||
bullet3: 'Jak to funguje?',
|
bullet2text:
|
||||||
bullet3text: 'Rozšíření načte ID videa, které sledujete, a pomocí našeho rozhraní API získá počet disliků (a další pole, jako jsou zobrazení, lajky atd.). Rozšíření pak na stránce zobrazí počet a poměr disliků. Pokud se vám video líbí nebo nelíbí, je to zaznamenáno a odesláno do databáze, takže lze extrapolovat přesný počet disliků.',
|
"V současné době jsou počty disliků videí ukládány do mezipaměti a nejsou příliš často aktualizovány. Jejich aktualizace se liší v závislosti na popularitě videa, ale může trvat od několika hodin do několika dnů.",
|
||||||
bullet4: 'Můžu s vámi sdílet počet svých disliků?',
|
bullet3: "Jak to funguje?",
|
||||||
bullet4text: 'Již brzy. Hledáme způsob, jak použít rozhraní Oauth nebo jiného rozhraní API pouze pro čtení s omezeným rozsahem, aby tvůrci mohli ověřitelně sdílet své počty disliků.',
|
bullet3text:
|
||||||
bullet5: 'Jaká data sbíráte a jak je s nimi nakládáno?',
|
"Rozšíření načte ID videa, které sledujete, a pomocí našeho rozhraní API získá počet disliků (a další pole, jako jsou zobrazení, lajky atd.). Rozšíření pak na stránce zobrazí počet a poměr disliků. Pokud se vám video líbí nebo nelíbí, je to zaznamenáno a odesláno do databáze, takže lze extrapolovat přesný počet disliků.",
|
||||||
bullet5text: 'Rozšíření shromažďuje pouze údaje, které jsou nezbytně nutné pro jeho správnou funkci, například IP adresu nebo ID sledovaného videa. Žádné z vašich údajů nebudou nikdy prodány třetím stranám. Pokud se chcete dozvědět více o tom, jak se staráme o zabezpečení a ochranu osobních údajů, podívejte se na naši <a href="https://github.com/Anarios/return-youtube-dislike/blob/main/Docs/SECURITY-FAQ.md">bezpečnostní FAQ</a>.',
|
bullet4: "Můžu s vámi sdílet počet svých disliků?",
|
||||||
bullet6: 'Jak funguje API/Backend?',
|
bullet4text:
|
||||||
bullet6text: 'Backend používá archivovaná data z doby, kdy rozhraní YouTube ještě vracelo počet disliků, počty lajků/disliků uživatelů a extrapolaci. V blízké budoucnosti umožníme tvůrcům obsahu snadno a bezpečně odesílat počet disliků a do naší současné databáze přidáme archivovaná data ArchiveTeamu (4,56 miliardy videí). Můžete si také prohlédnout video na toto téma.',
|
"Již brzy. Hledáme způsob, jak použít rozhraní Oauth nebo jiného rozhraní API pouze pro čtení s omezeným rozsahem, aby tvůrci mohli ověřitelně sdílet své počty disliků.",
|
||||||
bullet7: 'Proč počet disliků zobrazuje \'DISLIKES DISABLED\'?',
|
bullet5: "Jaká data sbíráte a jak je s nimi nakládáno?",
|
||||||
bullet7text: 'Někdy se u nedávno nahraného videa může zobrazit \'DISLIKES DISABLED\' (disliky zakázány), i když je tvůrce nezakázal, což je způsobeno tím, jak zjišťujeme, zda jsou dislike zakázány. Mělo by to samo zmizet během několika hodin nebo tím, že dáte lajk či dislike danému videu.',
|
bullet5text:
|
||||||
|
'Rozšíření shromažďuje pouze údaje, které jsou nezbytně nutné pro jeho správnou funkci, například IP adresu nebo ID sledovaného videa. Žádné z vašich údajů nebudou nikdy prodány třetím stranám. Pokud se chcete dozvědět více o tom, jak se staráme o zabezpečení a ochranu osobních údajů, podívejte se na naši <a href="https://github.com/Anarios/return-youtube-dislike/blob/main/Docs/SECURITY-FAQ.md">bezpečnostní FAQ</a>.',
|
||||||
|
bullet6: "Jak funguje API/Backend?",
|
||||||
|
bullet6text:
|
||||||
|
"Backend používá archivovaná data z doby, kdy rozhraní YouTube ještě vracelo počet disliků, počty lajků/disliků uživatelů a extrapolaci. V blízké budoucnosti umožníme tvůrcům obsahu snadno a bezpečně odesílat počet disliků a do naší současné databáze přidáme archivovaná data ArchiveTeamu (4,56 miliardy videí). Můžete si také prohlédnout video na toto téma.",
|
||||||
|
bullet7: "Proč počet disliků zobrazuje 'DISLIKES DISABLED'?",
|
||||||
|
bullet7text:
|
||||||
|
"Někdy se u nedávno nahraného videa může zobrazit 'DISLIKES DISABLED' (disliky zakázány), i když je tvůrce nezakázal, což je způsobeno tím, jak zjišťujeme, zda jsou dislike zakázány. Mělo by to samo zmizet během několika hodin nebo tím, že dáte lajk či dislike danému videu.",
|
||||||
},
|
},
|
||||||
donate: {
|
donate: {
|
||||||
name: 'Přispět',
|
name: "Přispět",
|
||||||
subtitle: 'Můžete podpořit naše úsilí ponechat internet bezplatný jakýmkoli darem!',
|
subtitle:
|
||||||
|
"Můžete podpořit naše úsilí ponechat internet bezplatný jakýmkoli darem!",
|
||||||
},
|
},
|
||||||
links: {
|
links: {
|
||||||
name: 'Odkazy',
|
name: "Odkazy",
|
||||||
title: 'Odkazy projektu',
|
title: "Odkazy projektu",
|
||||||
subtitle: 'Odkazy na projekt a jeho vývojáře',
|
subtitle: "Odkazy na projekt a jeho vývojáře",
|
||||||
contact: 'Kontaktujte mě',
|
contact: "Kontaktujte mě",
|
||||||
translators: 'Překladatelé',
|
translators: "Překladatelé",
|
||||||
coolProjects: 'Bezva projekty',
|
coolProjects: "Bezva projekty",
|
||||||
sponsorBlockDescription: 'Přeskočte reklamy integrované ve videích',
|
sponsorBlockDescription: "Přeskočte reklamy integrované ve videích",
|
||||||
filmotDescription: 'Prohledávejte YouTube videa pomocí titulků'
|
filmotDescription: "Prohledávejte YouTube videa pomocí titulků",
|
||||||
},
|
},
|
||||||
}
|
};
|
||||||
+93
-78
@@ -1,104 +1,119 @@
|
|||||||
import { en } from 'vuetify/src/locale'
|
import { en } from "vuetify/src/locale";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
...en,
|
...en,
|
||||||
home: {
|
home: {
|
||||||
name: 'Home',
|
name: "Home",
|
||||||
title: 'Return YouTube Dislike',
|
title: "Return YouTube Dislike",
|
||||||
subtitle: 'Browser extension and an API that shows you dislikes on Youtube',
|
subtitle: "Browser extension and an API that shows you dislikes on Youtube",
|
||||||
ukraine: 'Support Ukraine',
|
ukraine: "Support Ukraine",
|
||||||
sponsors: 'Sponsors',
|
sponsors: "Sponsors",
|
||||||
},
|
},
|
||||||
install: {
|
install: {
|
||||||
name: 'Install',
|
name: "Install",
|
||||||
title: 'Select Your Platform',
|
title: "Select Your Platform",
|
||||||
subtitle: 'Available for Firefox and all Chromium browsers',
|
subtitle: "Available for Firefox and all Chromium browsers",
|
||||||
title2: 'Other Platforms',
|
title2: "Other Platforms",
|
||||||
subtitle2: 'If your browser is not yet supported, try this UserScript',
|
subtitle2: "If your browser is not yet supported, try this UserScript",
|
||||||
title3: 'Third Party Implementations',
|
title3: "Third Party Implementations",
|
||||||
subtitle3: 'No liability on our side, use at your own risk',
|
subtitle3: "No liability on our side, use at your own risk",
|
||||||
},
|
},
|
||||||
api: {
|
api: {
|
||||||
name: 'API',
|
name: "API",
|
||||||
title: 'Welcome to the official RYD docs!',
|
title: "Welcome to the official RYD docs!",
|
||||||
subtitle: 'To get started, select a section from the menu.',
|
subtitle: "To get started, select a section from the menu.",
|
||||||
rights: {
|
rights: {
|
||||||
title: 'Usage Rights',
|
title: "Usage Rights",
|
||||||
subtitle: 'Third party use of this open API is allowed with the following restrictions:',
|
subtitle:
|
||||||
bullet1: 'Attribution: ',
|
"Third party use of this open API is allowed with the following restrictions:",
|
||||||
bullet1text: 'This project should be clearly attributed with either a link to this repo or a link to returnyoutubedislike.com',
|
bullet1: "Attribution: ",
|
||||||
bullet2: 'Rate Limiting: ',
|
bullet1text:
|
||||||
bullet2text: 'There are per client rate limits in place of 100 per minute and 10,000 per day. This will return a 429 status code indicating that your application should back off',
|
"This project should be clearly attributed with either a link to this repo or a link to returnyoutubedislike.com",
|
||||||
|
bullet2: "Rate Limiting: ",
|
||||||
|
bullet2text:
|
||||||
|
"There are per client rate limits in place of 100 per minute and 10,000 per day. This will return a 429 status code indicating that your application should back off",
|
||||||
},
|
},
|
||||||
url: {
|
url: {
|
||||||
title: 'URL Information',
|
title: "URL Information",
|
||||||
subtitle: 'The API is accessible over the following base URL: ',
|
subtitle: "The API is accessible over the following base URL: ",
|
||||||
},
|
},
|
||||||
endpoints: {
|
endpoints: {
|
||||||
title: 'Available Endpoints',
|
title: "Available Endpoints",
|
||||||
subtitle: 'List of available endpoints is available here: ',
|
subtitle: "List of available endpoints is available here: ",
|
||||||
},
|
},
|
||||||
fetching: {
|
fetching: {
|
||||||
title: 'Basic Fetching Tutorial',
|
title: "Basic Fetching Tutorial",
|
||||||
subtitle: 'Example to get votes of a given YouTube video ID: ',
|
subtitle: "Example to get votes of a given YouTube video ID: ",
|
||||||
title2: 'Example Request: ',
|
title2: "Example Request: ",
|
||||||
url: 'Request URL: ',
|
url: "Request URL: ",
|
||||||
method: 'Request Method: ',
|
method: "Request Method: ",
|
||||||
headers: 'Headers: ',
|
headers: "Headers: ",
|
||||||
response: 'Response: ',
|
response: "Response: ",
|
||||||
error1: 'An invalid YouTube ID will return status code 404 "Not Found"',
|
error1: 'An invalid YouTube ID will return status code 404 "Not Found"',
|
||||||
error2: 'An incorrectly formatted YouTube ID will return 400 "Bad Request"'
|
error2:
|
||||||
|
'An incorrectly formatted YouTube ID will return 400 "Bad Request"',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
help: {
|
help: {
|
||||||
name: 'Help',
|
name: "Help",
|
||||||
title: 'Troubleshooting',
|
title: "Troubleshooting",
|
||||||
bullet1: 'Make sure you have latest version of extension installed, ',
|
bullet1: "Make sure you have latest version of extension installed, ",
|
||||||
bullet11: 'right now',
|
bullet11: "right now",
|
||||||
bullet2: 'Try removing extension and installing it again, then restarting the browser (all active windows, not just one tab)',
|
bullet2:
|
||||||
bullet3: 'Make sure that this link opens: ',
|
"Try removing extension and installing it again, then restarting the browser (all active windows, not just one tab)",
|
||||||
bullet31: 'you should see plain text: ',
|
bullet3: "Make sure that this link opens: ",
|
||||||
bullet4: 'If nothing of above helps - report your problem in',
|
bullet31: "you should see plain text: ",
|
||||||
bullet41: 'in our',
|
bullet4: "If nothing of above helps - report your problem in",
|
||||||
bullet4a: 'Tell us your Operating System, Browser Name and Browser Version',
|
bullet41: "in our",
|
||||||
bullet4b: 'Take screenshot of page with problem (i.e. youtube video page) with console open (press ',
|
bullet4a: "Tell us your Operating System, Browser Name and Browser Version",
|
||||||
bullet4b1: ') - example screenshot below.',
|
bullet4b:
|
||||||
bullet4c: 'Take screenshot of extensions page of your browser with extension installed.',
|
"Take screenshot of page with problem (i.e. youtube video page) with console open (press ",
|
||||||
bullet4c1: 'To see extensions put this into address bar: ',
|
bullet4b1: ") - example screenshot below.",
|
||||||
firefox: 'for Firefox',
|
bullet4c:
|
||||||
chrome: 'for Chrome, Edge, Brave, Opera, Vivaldi',
|
"Take screenshot of extensions page of your browser with extension installed.",
|
||||||
|
bullet4c1: "To see extensions put this into address bar: ",
|
||||||
|
firefox: "for Firefox",
|
||||||
|
chrome: "for Chrome, Edge, Brave, Opera, Vivaldi",
|
||||||
},
|
},
|
||||||
faq: {
|
faq: {
|
||||||
name: 'FAQ',
|
name: "FAQ",
|
||||||
title: 'Frequently Asked Questions',
|
title: "Frequently Asked Questions",
|
||||||
subtitle: 'Still have questions? Feel free to join our Discord!',
|
subtitle: "Still have questions? Feel free to join our Discord!",
|
||||||
bullet1: 'Where does the extension get its data?',
|
bullet1: "Where does the extension get its data?",
|
||||||
bullet1text: 'A combination of archived data from before the offical YouTube dislike API shut down, and extrapolated extension user behavior.',
|
bullet1text:
|
||||||
bullet2: 'Why isn\'t the dislike count updating?',
|
"A combination of archived data from before the offical YouTube dislike API shut down, and extrapolated extension user behavior.",
|
||||||
bullet2text: 'Right now video dislikes are cached and they aren\'t updated very frequently. It varies depending on a video\'s popularity but can take anywhere between a few hours and a few days to update.',
|
bullet2: "Why isn't the dislike count updating?",
|
||||||
bullet3: 'How does this work?',
|
bullet2text:
|
||||||
bullet3text: 'The extension collects the video ID of the video you are watching, and fetches the dislike (and other fields like views, likes etc) using our API. The extension then displays the dislike count and ratio on the page. If you like or dislike a video, that is recorded and sent to the database so an accurate dislike count can be extrapolated.',
|
"Right now video dislikes are cached and they aren't updated very frequently. It varies depending on a video's popularity but can take anywhere between a few hours and a few days to update.",
|
||||||
bullet4: 'Can I share my dislike count with you?',
|
bullet3: "How does this work?",
|
||||||
bullet4text: 'Coming soon. We are looking into using Oauth or a different read only API with a limited scope so creators can share their dislike counts verifiability.',
|
bullet3text:
|
||||||
bullet5: 'What data do you collect and how is it treated?',
|
"The extension collects the video ID of the video you are watching, and fetches the dislike (and other fields like views, likes etc) using our API. The extension then displays the dislike count and ratio on the page. If you like or dislike a video, that is recorded and sent to the database so an accurate dislike count can be extrapolated.",
|
||||||
bullet5text: 'The extension only collects data that is strictly necessary for it to function properly, such as IP address or ID of the video you\'re watching. None of your data will ever be sold to 3rd parties. If you would like to know more about how we handle security and privacy check out our <a href="https://github.com/Anarios/return-youtube-dislike/blob/main/Docs/SECURITY-FAQ.md">security FAQ</a>.',
|
bullet4: "Can I share my dislike count with you?",
|
||||||
bullet6: 'How does the API/Backend work?',
|
bullet4text:
|
||||||
bullet6text: 'The backend is using archived data from when the youtube api was still returning the dislike count, extension users like/dislike count and extrapolation. In the near future we will be allowing content creators to submit their dislike count easily and safely and we will be adding ArchiveTeam\'s archived data (4.56 billion videos) into our current database. You can also view a video on the topic.',
|
"Coming soon. We are looking into using Oauth or a different read only API with a limited scope so creators can share their dislike counts verifiability.",
|
||||||
bullet7: 'Why does the dislike count show \'DISLIKES DISABLED\'?',
|
bullet5: "What data do you collect and how is it treated?",
|
||||||
bullet7text: 'Sometimes a recently uploaded video might show \'DISLIKES DISABLED\' even if the creator hasn\'t disabled it, this is due to how we are detecting if dislikes are disabled, it should go away in a few hours or by liking or disliking the video and refreshing the page (hopefully).',
|
bullet5text:
|
||||||
|
'The extension only collects data that is strictly necessary for it to function properly, such as IP address or ID of the video you\'re watching. None of your data will ever be sold to 3rd parties. If you would like to know more about how we handle security and privacy check out our <a href="https://github.com/Anarios/return-youtube-dislike/blob/main/Docs/SECURITY-FAQ.md">security FAQ</a>.',
|
||||||
|
bullet6: "How does the API/Backend work?",
|
||||||
|
bullet6text:
|
||||||
|
"The backend is using archived data from when the youtube api was still returning the dislike count, extension users like/dislike count and extrapolation. In the near future we will be allowing content creators to submit their dislike count easily and safely and we will be adding ArchiveTeam's archived data (4.56 billion videos) into our current database. You can also view a video on the topic.",
|
||||||
|
bullet7: "Why does the dislike count show 'DISLIKES DISABLED'?",
|
||||||
|
bullet7text:
|
||||||
|
"Sometimes a recently uploaded video might show 'DISLIKES DISABLED' even if the creator hasn't disabled it, this is due to how we are detecting if dislikes are disabled, it should go away in a few hours or by liking or disliking the video and refreshing the page (hopefully).",
|
||||||
},
|
},
|
||||||
donate: {
|
donate: {
|
||||||
name: 'Donate',
|
name: "Donate",
|
||||||
subtitle: 'You can support our efforts to keep the internet free with a donation!',
|
subtitle:
|
||||||
|
"You can support our efforts to keep the internet free with a donation!",
|
||||||
},
|
},
|
||||||
links: {
|
links: {
|
||||||
name: 'Links',
|
name: "Links",
|
||||||
title: 'Project Links',
|
title: "Project Links",
|
||||||
subtitle: 'Links to the project and its developers',
|
subtitle: "Links to the project and its developers",
|
||||||
contact: 'Contact Me',
|
contact: "Contact Me",
|
||||||
translators: 'Translators',
|
translators: "Translators",
|
||||||
coolProjects: 'Cool Projects',
|
coolProjects: "Cool Projects",
|
||||||
sponsorBlockDescription: 'Skips ads integrated in video',
|
sponsorBlockDescription: "Skips ads integrated in video",
|
||||||
filmotDescription: 'Search YouTube videos by subtitles'
|
filmotDescription: "Search YouTube videos by subtitles",
|
||||||
},
|
},
|
||||||
}
|
};
|
||||||
+103
-79
@@ -1,104 +1,128 @@
|
|||||||
import { es } from 'vuetify/src/locale'
|
import { es } from "vuetify/src/locale";
|
||||||
// By Alejandro Gayol
|
// By Alejandro Gayol
|
||||||
export default {
|
export default {
|
||||||
...es,
|
...es,
|
||||||
home: {
|
home: {
|
||||||
name: 'Inicio',
|
name: "Inicio",
|
||||||
title: 'Return YouTube Dislike',
|
title: "Return YouTube Dislike",
|
||||||
subtitle: 'Una extensión de navegador y una API que muestra el número de «dislikes» («No me gusta») en YouTube',
|
subtitle:
|
||||||
ukraine: 'Apoya a Ucrania',
|
"Una extensión de navegador y una API que muestra el número de «dislikes» («No me gusta») en YouTube",
|
||||||
sponsors: 'Patrocinadores',
|
ukraine: "Apoya a Ucrania",
|
||||||
|
sponsors: "Patrocinadores",
|
||||||
},
|
},
|
||||||
install: {
|
install: {
|
||||||
name: 'Instalación',
|
name: "Instalación",
|
||||||
title: 'Elige tu plataforma',
|
title: "Elige tu plataforma",
|
||||||
subtitle: 'Disponible para Firefox y todos los navegadores Chromium',
|
subtitle: "Disponible para Firefox y todos los navegadores Chromium",
|
||||||
title2: 'Otras plataformas',
|
title2: "Otras plataformas",
|
||||||
subtitle2: 'Si tu navegador aún no es compatible, usa este UserScript',
|
subtitle2: "Si tu navegador aún no es compatible, usa este UserScript",
|
||||||
title3: 'Implementaciones de terceros',
|
title3: "Implementaciones de terceros",
|
||||||
subtitle3: 'No nos hacemos responsables, úsalas bajo tu cuenta y riesgo',
|
subtitle3: "No nos hacemos responsables, úsalas bajo tu cuenta y riesgo",
|
||||||
},
|
},
|
||||||
api: {
|
api: {
|
||||||
name: 'API',
|
name: "API",
|
||||||
title: '¡Te damos la bienvenida a la documentación oficial de RYD!',
|
title: "¡Te damos la bienvenida a la documentación oficial de RYD!",
|
||||||
subtitle: 'Para empezar, elige una sección del menú.',
|
subtitle: "Para empezar, elige una sección del menú.",
|
||||||
rights: {
|
rights: {
|
||||||
title: 'Derechos de uso',
|
title: "Derechos de uso",
|
||||||
subtitle: 'Se permite el uso de terceros de esta API abierta bajo las siguientes restricciones: ',
|
subtitle:
|
||||||
bullet1: 'Atribución: ',
|
"Se permite el uso de terceros de esta API abierta bajo las siguientes restricciones: ",
|
||||||
bullet1text: 'El proyecto debe estar claramente atribuido con un enlace a este repositorio o a returnyoutubedislike.com',
|
bullet1: "Atribución: ",
|
||||||
bullet2: 'Límites de velocidad: ',
|
bullet1text:
|
||||||
bullet2text: 'Hay límites de velocidad por cliente de 100 solicitudes por minuto y 10.000 al día. Al excederlos se mostrará un código de estado *429*, indicando que tu aplicación debe bajar la velocidad.',
|
"El proyecto debe estar claramente atribuido con un enlace a este repositorio o a returnyoutubedislike.com",
|
||||||
|
bullet2: "Límites de velocidad: ",
|
||||||
|
bullet2text:
|
||||||
|
"Hay límites de velocidad por cliente de 100 solicitudes por minuto y 10.000 al día. Al excederlos se mostrará un código de estado *429*, indicando que tu aplicación debe bajar la velocidad.",
|
||||||
},
|
},
|
||||||
url: {
|
url: {
|
||||||
title: 'Información de URL',
|
title: "Información de URL",
|
||||||
subtitle: 'Esta API es accesible a través de la siguiente URL base: ',
|
subtitle: "Esta API es accesible a través de la siguiente URL base: ",
|
||||||
},
|
},
|
||||||
endpoints: {
|
endpoints: {
|
||||||
title: '«Endpoints» disponibles',
|
title: "«Endpoints» disponibles",
|
||||||
subtitle: 'La lista de los endpoints disponibles se puede consultar aquí: ',
|
subtitle:
|
||||||
|
"La lista de los endpoints disponibles se puede consultar aquí: ",
|
||||||
},
|
},
|
||||||
fetching: {
|
fetching: {
|
||||||
title: 'Tutorial de consulta básica',
|
title: "Tutorial de consulta básica",
|
||||||
subtitle: 'Ejemplo para obtener los votos del ID de un vídeo de YouTube: ',
|
subtitle:
|
||||||
title2: 'Consulta de ejemplo: ',
|
"Ejemplo para obtener los votos del ID de un vídeo de YouTube: ",
|
||||||
url: 'URL de la consulta: ',
|
title2: "Consulta de ejemplo: ",
|
||||||
method: 'Método de la consulta: ',
|
url: "URL de la consulta: ",
|
||||||
headers: 'Encabezados: ',
|
method: "Método de la consulta: ",
|
||||||
response: 'Respuesta: ',
|
headers: "Encabezados: ",
|
||||||
error1: 'Un ID de YouTube no existente mostrará el código de estado 404 "Not Found" (no encontrado).',
|
response: "Respuesta: ",
|
||||||
error2: 'Un ID de YouTube mal estructurado mostrará el código 400 "Bad Request" (solicitud incorrecta).'
|
error1:
|
||||||
|
'Un ID de YouTube no existente mostrará el código de estado 404 "Not Found" (no encontrado).',
|
||||||
|
error2:
|
||||||
|
'Un ID de YouTube mal estructurado mostrará el código 400 "Bad Request" (solicitud incorrecta).',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
help: {
|
help: {
|
||||||
name: 'Ayuda',
|
name: "Ayuda",
|
||||||
title: 'Solución de problemas',
|
title: "Solución de problemas",
|
||||||
bullet1: 'Asegúrate de que tienes instalada la última versión de la extensión, ',
|
bullet1:
|
||||||
bullet11: '',
|
"Asegúrate de que tienes instalada la última versión de la extensión, ",
|
||||||
bullet2: 'Prueba a eliminar la extensión e instalarla de nuevo, después reinicia el navegador (todas las ventanas activas, no solo una pestaña)',
|
bullet11: "",
|
||||||
bullet3: 'Comprueba que puedes abrir este enlace: ',
|
bullet2:
|
||||||
bullet31: 'deberías ver este texto: ',
|
"Prueba a eliminar la extensión e instalarla de nuevo, después reinicia el navegador (todas las ventanas activas, no solo una pestaña)",
|
||||||
bullet4: 'Si nada de esto surte efecto, informa de tu problema (en inglés) en el canal',
|
bullet3: "Comprueba que puedes abrir este enlace: ",
|
||||||
bullet41: 'de nuestro',
|
bullet31: "deberías ver este texto: ",
|
||||||
bullet4a: 'Dinos cuáles son tu sistema operativo, el nombre y la versión de tu navegador',
|
bullet4:
|
||||||
bullet4b: 'Haz una captura de pantalla de la página que contenga el problema (como una página de un vídeo de YouTube) con la consola abierta (pulsa ',
|
"Si nada de esto surte efecto, informa de tu problema (en inglés) en el canal",
|
||||||
bullet4b1: '). Aquí puedes ver una captura de pantalla de ejemplo:',
|
bullet41: "de nuestro",
|
||||||
bullet4c: 'Haz una captura de la página de extensiones de tu navegador con la extensión instalada.',
|
bullet4a:
|
||||||
bullet4c1: 'Para ver las extensiones, escribe el siguiente texto en la barra de dirección: ',
|
"Dinos cuáles son tu sistema operativo, el nombre y la versión de tu navegador",
|
||||||
firefox: 'para Firefox',
|
bullet4b:
|
||||||
chrome: 'para Chrome, Edge, Brave, Opera, Vivaldi',
|
"Haz una captura de pantalla de la página que contenga el problema (como una página de un vídeo de YouTube) con la consola abierta (pulsa ",
|
||||||
|
bullet4b1: "). Aquí puedes ver una captura de pantalla de ejemplo:",
|
||||||
|
bullet4c:
|
||||||
|
"Haz una captura de la página de extensiones de tu navegador con la extensión instalada.",
|
||||||
|
bullet4c1:
|
||||||
|
"Para ver las extensiones, escribe el siguiente texto en la barra de dirección: ",
|
||||||
|
firefox: "para Firefox",
|
||||||
|
chrome: "para Chrome, Edge, Brave, Opera, Vivaldi",
|
||||||
},
|
},
|
||||||
faq: {
|
faq: {
|
||||||
name: 'Preguntas',
|
name: "Preguntas",
|
||||||
title: 'Preguntas más frecuentes',
|
title: "Preguntas más frecuentes",
|
||||||
subtitle: '¿Sigues teniendo problemas? ¡Pásate por nuestro servidor de Discord (en inglés)!',
|
subtitle:
|
||||||
bullet1: '¿De dónde obtiene sus datos la extensión?',
|
"¿Sigues teniendo problemas? ¡Pásate por nuestro servidor de Discord (en inglés)!",
|
||||||
bullet1text: 'De una combinación de datos archivados antes de que la API oficial de «dislikes» de YouTube se apagase, extrapolada con las acciones realizadas por los usuarios de la extensión.',
|
bullet1: "¿De dónde obtiene sus datos la extensión?",
|
||||||
bullet2: '¿Por qué no se actualiza el contador de «dislikes»?',
|
bullet1text:
|
||||||
bullet2text: 'En la actualidad, las cuentas de «dislikes» se almacenan en una caché y no se actualizan con frecuencia. Esta frecuencia varía dependiendo de la popularidad de un vídeo, pero puede tardar entre unas pocas horas y unos pocos días en actualizarse.',
|
"De una combinación de datos archivados antes de que la API oficial de «dislikes» de YouTube se apagase, extrapolada con las acciones realizadas por los usuarios de la extensión.",
|
||||||
bullet3: '¿Cómo funciona la extensión?',
|
bullet2: "¿Por qué no se actualiza el contador de «dislikes»?",
|
||||||
bullet3text: 'La extensión lee el ID del vídeo que estés viendo y carga la cifra de «dislikes» (y otras estadísticas, como visitas, «likes», etc.) a través de nuestra API. Después la extensión muestra el número de «dislikes» y la proporción de «likes»/«dislikes» en la página. Si utilizas los botones de «Me gusta» o «No me gusta» de un vídeo, esa información se guardará y enviará a la base de datos con la que se podrá extrapolar una cuenta de «dislikes» más precisa.',
|
bullet2text:
|
||||||
bullet4: '¿Puedo compartir mi contador de «dislikes» con vosotros?',
|
"En la actualidad, las cuentas de «dislikes» se almacenan en una caché y no se actualizan con frecuencia. Esta frecuencia varía dependiendo de la popularidad de un vídeo, pero puede tardar entre unas pocas horas y unos pocos días en actualizarse.",
|
||||||
bullet4text: 'Próximamente. Estamos investigando en usar Oauth u otra API de solo lectura con alcance limitado para que los creadores puedan compartir sus contadores de «dislikes» verificablemente.',
|
bullet3: "¿Cómo funciona la extensión?",
|
||||||
bullet5: '¿Qué datos almacenáis y cómo son guardados?',
|
bullet3text:
|
||||||
bullet5text: 'La extensión almacena únicamente aquellos datos estrictamente necesarios para su buen funcionamiento, cómo la dirección IP o el ID del vídeo que estés viendo. Tus datos nunca serán vendidos a terceros. Si quieres saber más sobre nuestras políticas de seguridad y privacidad, consulta nuestro <a href="https://github.com/Anarios/return-youtube-dislike/blob/main/Docs/SECURITY-FAQ.md">documento de preguntas frecuentes sobre seguridad</a>.',
|
"La extensión lee el ID del vídeo que estés viendo y carga la cifra de «dislikes» (y otras estadísticas, como visitas, «likes», etc.) a través de nuestra API. Después la extensión muestra el número de «dislikes» y la proporción de «likes»/«dislikes» en la página. Si utilizas los botones de «Me gusta» o «No me gusta» de un vídeo, esa información se guardará y enviará a la base de datos con la que se podrá extrapolar una cuenta de «dislikes» más precisa.",
|
||||||
bullet6: '¿Cómo funciona la API y el «backend»?',
|
bullet4: "¿Puedo compartir mi contador de «dislikes» con vosotros?",
|
||||||
bullet6text: 'El «backend» utiliza datos archivados de cuando la API de YouTube seguía proporcionando el contador de «dislikes», los votos de usuarios de la extensión y su extrapolación. En un futuro cercano permitiremos que los creadores de contenido puedan proporcionar sus cifras de «dislikes» de forma fácil y segura, e incorporaremos los datos archivados de ArchiveTeam (4.560 millones de vídeos) en nuestra base de datos. También puedes ver un vídeo al respecto.',
|
bullet4text:
|
||||||
bullet7: '¿Porque el contador de «dislikes» dice «DISLIKES DESACTIVADOS»?',
|
"Próximamente. Estamos investigando en usar Oauth u otra API de solo lectura con alcance limitado para que los creadores puedan compartir sus contadores de «dislikes» verificablemente.",
|
||||||
bullet7text: 'En ocasiones, un vídeo subido recientemente puede mostrar «DISLIKES DESACTIVADOS» aunque su creador no los haya desactivado, esto se debe a la forma en que detectamos si los «dislikes» están desactivados. El mensaje debería desaparecer en unas horas o al darle «like» o «dislike» al vídeo y actualizar la página (con suerte).',
|
bullet5: "¿Qué datos almacenáis y cómo son guardados?",
|
||||||
|
bullet5text:
|
||||||
|
'La extensión almacena únicamente aquellos datos estrictamente necesarios para su buen funcionamiento, cómo la dirección IP o el ID del vídeo que estés viendo. Tus datos nunca serán vendidos a terceros. Si quieres saber más sobre nuestras políticas de seguridad y privacidad, consulta nuestro <a href="https://github.com/Anarios/return-youtube-dislike/blob/main/Docs/SECURITY-FAQ.md">documento de preguntas frecuentes sobre seguridad</a>.',
|
||||||
|
bullet6: "¿Cómo funciona la API y el «backend»?",
|
||||||
|
bullet6text:
|
||||||
|
"El «backend» utiliza datos archivados de cuando la API de YouTube seguía proporcionando el contador de «dislikes», los votos de usuarios de la extensión y su extrapolación. En un futuro cercano permitiremos que los creadores de contenido puedan proporcionar sus cifras de «dislikes» de forma fácil y segura, e incorporaremos los datos archivados de ArchiveTeam (4.560 millones de vídeos) en nuestra base de datos. También puedes ver un vídeo al respecto.",
|
||||||
|
bullet7: "¿Porque el contador de «dislikes» dice «DISLIKES DESACTIVADOS»?",
|
||||||
|
bullet7text:
|
||||||
|
"En ocasiones, un vídeo subido recientemente puede mostrar «DISLIKES DESACTIVADOS» aunque su creador no los haya desactivado, esto se debe a la forma en que detectamos si los «dislikes» están desactivados. El mensaje debería desaparecer en unas horas o al darle «like» o «dislike» al vídeo y actualizar la página (con suerte).",
|
||||||
},
|
},
|
||||||
donate: {
|
donate: {
|
||||||
name: 'Donar',
|
name: "Donar",
|
||||||
subtitle: '¡Puedes apoyar nuestros esfuerzos para que Internet siga siendo con un donativo!',
|
subtitle:
|
||||||
|
"¡Puedes apoyar nuestros esfuerzos para que Internet siga siendo con un donativo!",
|
||||||
},
|
},
|
||||||
links: {
|
links: {
|
||||||
name: 'Enlaces',
|
name: "Enlaces",
|
||||||
title: 'Enlaces del proyecto',
|
title: "Enlaces del proyecto",
|
||||||
subtitle: 'Enlaces del proyecto y sus desarrolladores',
|
subtitle: "Enlaces del proyecto y sus desarrolladores",
|
||||||
contact: 'Contacto',
|
contact: "Contacto",
|
||||||
translators: 'Traductores',
|
translators: "Traductores",
|
||||||
coolProjects: 'Proyectos interesantes',
|
coolProjects: "Proyectos interesantes",
|
||||||
sponsorBlockDescription: 'Omite los anuncios integrados en vídeos',
|
sponsorBlockDescription: "Omite los anuncios integrados en vídeos",
|
||||||
filmotDescription: 'Busca vídeos de YouTube a través de sus subtítulos'
|
filmotDescription: "Busca vídeos de YouTube a través de sus subtítulos",
|
||||||
},
|
},
|
||||||
}
|
};
|
||||||
+106
-79
@@ -1,104 +1,131 @@
|
|||||||
import { fr } from 'vuetify/src/locale'
|
import { fr } from "vuetify/src/locale";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
...fr,
|
...fr,
|
||||||
home: {
|
home: {
|
||||||
name: 'Accueil',
|
name: "Accueil",
|
||||||
title: 'Return YouTube Dislike',
|
title: "Return YouTube Dislike",
|
||||||
subtitle: 'Une extension de navigateur et une API qui vous montre les dislike sur Youtube',
|
subtitle:
|
||||||
ukraine: 'Soutenir l\'Ukraine',
|
"Une extension de navigateur et une API qui vous montre les dislike sur Youtube",
|
||||||
sponsors: 'Sponsors',
|
ukraine: "Soutenir l'Ukraine",
|
||||||
|
sponsors: "Sponsors",
|
||||||
},
|
},
|
||||||
install: {
|
install: {
|
||||||
name: 'Installer',
|
name: "Installer",
|
||||||
title: 'Choisissez votre Plateforme',
|
title: "Choisissez votre Plateforme",
|
||||||
subtitle: 'Disponible pour Firefox et tous les navigateurs Chromium',
|
subtitle: "Disponible pour Firefox et tous les navigateurs Chromium",
|
||||||
title2: 'Autres platesformes',
|
title2: "Autres platesformes",
|
||||||
subtitle2: 'Si votre navigateur n\'est pas encore pris en charge, essayez ce UserScript',
|
subtitle2:
|
||||||
title3: 'Implémentations par des tiers',
|
"Si votre navigateur n'est pas encore pris en charge, essayez ce UserScript",
|
||||||
subtitle3: 'Aucune responsabilité de notre part, à utiliser à vos risques et périls.',
|
title3: "Implémentations par des tiers",
|
||||||
|
subtitle3:
|
||||||
|
"Aucune responsabilité de notre part, à utiliser à vos risques et périls.",
|
||||||
},
|
},
|
||||||
api: {
|
api: {
|
||||||
name: 'API',
|
name: "API",
|
||||||
title: 'Bienvenue sur la documentation officiel de RYD !',
|
title: "Bienvenue sur la documentation officiel de RYD !",
|
||||||
subtitle: 'Pour commencer, sélectionnez une section dans le menu.',
|
subtitle: "Pour commencer, sélectionnez une section dans le menu.",
|
||||||
rights: {
|
rights: {
|
||||||
title: 'Droits d\'utilisation',
|
title: "Droits d'utilisation",
|
||||||
subtitle: 'L\'utilisation par des tiers de cette API ouverte est autorisée avec les restrictions suivantes : ',
|
subtitle:
|
||||||
bullet1: 'Attribution: ',
|
"L'utilisation par des tiers de cette API ouverte est autorisée avec les restrictions suivantes : ",
|
||||||
bullet1text: 'Ce projet doit être clairement nommé avec un lien vers soit vers GitHub soit vers returnyoutubedislike.com',
|
bullet1: "Attribution: ",
|
||||||
bullet2: 'Limites des requêtes',
|
bullet1text:
|
||||||
bullet2text: 'Il y a des limites de requêtes par client en place qui sont de 100 requêtes par minute et 10 000 par jour. Nous renverrons un code d\'erreur 429 indiquant que votre application devrait se calmer.',
|
"Ce projet doit être clairement nommé avec un lien vers soit vers GitHub soit vers returnyoutubedislike.com",
|
||||||
|
bullet2: "Limites des requêtes",
|
||||||
|
bullet2text:
|
||||||
|
"Il y a des limites de requêtes par client en place qui sont de 100 requêtes par minute et 10 000 par jour. Nous renverrons un code d'erreur 429 indiquant que votre application devrait se calmer.",
|
||||||
},
|
},
|
||||||
url: {
|
url: {
|
||||||
title: 'Information sur l\'URL',
|
title: "Information sur l'URL",
|
||||||
subtitle: 'L\'API est accesible via l\'URL de base suivante : ',
|
subtitle: "L'API est accesible via l'URL de base suivante : ",
|
||||||
},
|
},
|
||||||
endpoints: {
|
endpoints: {
|
||||||
title: 'Endpoints disponibles',
|
title: "Endpoints disponibles",
|
||||||
subtitle: 'La liste des endpoints disponibles est accesible ici : ',
|
subtitle: "La liste des endpoints disponibles est accesible ici : ",
|
||||||
},
|
},
|
||||||
fetching: {
|
fetching: {
|
||||||
title: 'Tutoriel de base sur la récupération des données',
|
title: "Tutoriel de base sur la récupération des données",
|
||||||
subtitle: 'Exemple pour obtenir les likes d\'une vidéo YouTube avec un ID donné : ',
|
subtitle:
|
||||||
title2: 'Example de requête : ',
|
"Exemple pour obtenir les likes d'une vidéo YouTube avec un ID donné : ",
|
||||||
url: 'URL de la requête : ',
|
title2: "Example de requête : ",
|
||||||
method: 'Mode de requête : ',
|
url: "URL de la requête : ",
|
||||||
headers: 'En-têtes (headers) : ',
|
method: "Mode de requête : ",
|
||||||
response: 'Réponse : ',
|
headers: "En-têtes (headers) : ",
|
||||||
error1: 'Si aucunne vidéo YouTube à cet ID, il sera retourner le code d\'erreur 404 "Not Found"',
|
response: "Réponse : ",
|
||||||
error2: 'Un ID YouTube invilide renverra *400* "Bad Request"'
|
error1:
|
||||||
|
'Si aucunne vidéo YouTube à cet ID, il sera retourner le code d\'erreur 404 "Not Found"',
|
||||||
|
error2: 'Un ID YouTube invilide renverra *400* "Bad Request"',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
help: {
|
help: {
|
||||||
name: 'Aide',
|
name: "Aide",
|
||||||
title: 'Dépannage',
|
title: "Dépannage",
|
||||||
bullet1: 'Assurez-vous que la dernière version de l\'extension est installée, ',
|
bullet1:
|
||||||
bullet11: 'à l\'heure actuelle',
|
"Assurez-vous que la dernière version de l'extension est installée, ",
|
||||||
bullet2: 'Essayez de supprimer l\'extension et de la réinstaller, puis redémarrez le navigateur (toutes les fenêtres actives, pas seulement un onglet).',
|
bullet11: "à l'heure actuelle",
|
||||||
bullet3: 'Assurez-vous que ce lien s\'ouvre : ',
|
bullet2:
|
||||||
bullet31: 'vous devriez voir du texte brut : ',
|
"Essayez de supprimer l'extension et de la réinstaller, puis redémarrez le navigateur (toutes les fenêtres actives, pas seulement un onglet).",
|
||||||
bullet4: 'Si rien de ce qui précède ne vous aide, signalez votre problème sur',
|
bullet3: "Assurez-vous que ce lien s'ouvre : ",
|
||||||
bullet41: 'ou sur notre',
|
bullet31: "vous devriez voir du texte brut : ",
|
||||||
bullet4a: 'Indiquez-nous votre système d\'exploitation ansi que le nom et la version de votre navigateur',
|
bullet4:
|
||||||
bullet4b: 'Faites une capture d\'écran de la page présentant le problème (par exemple, la page de la vidéo youtube) avec la console ouverte (appuyez sur ',
|
"Si rien de ce qui précède ne vous aide, signalez votre problème sur",
|
||||||
bullet4b1: ') - exemple de capture d\'écran ci-dessous.',
|
bullet41: "ou sur notre",
|
||||||
bullet4c: 'Faites une capture d\'écran de la page des extensions de votre navigateur avec les extension installée.',
|
bullet4a:
|
||||||
bullet4c1: 'Pour voir les extensions, mettez ceci dans la barre d\'adresse : ',
|
"Indiquez-nous votre système d'exploitation ansi que le nom et la version de votre navigateur",
|
||||||
firefox: 'pour Firefox',
|
bullet4b:
|
||||||
chrome: 'pour Chromium (Chrome, Edge, Brave, Opera, Vivaldi...)',
|
"Faites une capture d'écran de la page présentant le problème (par exemple, la page de la vidéo youtube) avec la console ouverte (appuyez sur ",
|
||||||
|
bullet4b1: ") - exemple de capture d'écran ci-dessous.",
|
||||||
|
bullet4c:
|
||||||
|
"Faites une capture d'écran de la page des extensions de votre navigateur avec les extension installée.",
|
||||||
|
bullet4c1:
|
||||||
|
"Pour voir les extensions, mettez ceci dans la barre d'adresse : ",
|
||||||
|
firefox: "pour Firefox",
|
||||||
|
chrome: "pour Chromium (Chrome, Edge, Brave, Opera, Vivaldi...)",
|
||||||
},
|
},
|
||||||
faq: {
|
faq: {
|
||||||
name: 'FAQ',
|
name: "FAQ",
|
||||||
title: 'Foire Aux Questions',
|
title: "Foire Aux Questions",
|
||||||
subtitle: 'Vous avez encore des questions ? N\'hésitez pas à rejoindre notre Discord (en anglais) !',
|
subtitle:
|
||||||
bullet1: 'Où l\'extension obtient-elle ses données ?',
|
"Vous avez encore des questions ? N'hésitez pas à rejoindre notre Discord (en anglais) !",
|
||||||
bullet1text: 'Une combinaison de données archivées datant d\'avant la fermeture de l\'API officielle de YouTube pour les dislikes, et d\'extrapolation du comportement des utilisateurs.',
|
bullet1: "Où l'extension obtient-elle ses données ?",
|
||||||
bullet2: 'Pourquoi le nombre de dislike n\'est-il pas mis à jour ?',
|
bullet1text:
|
||||||
bullet2text: 'Actuellement, les dislike des vidéos sont mis en cache et ne sont pas mis à jour très fréquemment. La mise à jour varie en fonction de la popularité de la vidéo, mais peut prendre entre quelques heures et quelques jours.',
|
"Une combinaison de données archivées datant d'avant la fermeture de l'API officielle de YouTube pour les dislikes, et d'extrapolation du comportement des utilisateurs.",
|
||||||
bullet3: 'Comment cela fonctionne-t-il ?',
|
bullet2: "Pourquoi le nombre de dislike n'est-il pas mis à jour ?",
|
||||||
bullet3text: 'L\'extension collecte l\'ID de la vidéo que vous regardez, récupère les dislike (et d\'autres champs comme les vues, les likes, etc.) en utilisant notre API. L\'extension affiche ensuite le nombre de dislike et le ratio sur la page. Si vous liker ou disliker une vidéo, cela est enregistré et envoyé à la base de données afin qu\'un nombre précis de dislikes puisse être extrapolé.',
|
bullet2text:
|
||||||
bullet4: 'Puis-je partager mon compte de dislike avec vous ?',
|
"Actuellement, les dislike des vidéos sont mis en cache et ne sont pas mis à jour très fréquemment. La mise à jour varie en fonction de la popularité de la vidéo, mais peut prendre entre quelques heures et quelques jours.",
|
||||||
bullet4text: 'Prochainement. Nous envisageons d\'utiliser Oauth ou une autre API en lecture seule avec un champ d\'application limité afin que les créateurs puissent partager leurs compteurs de dislikes de manière vérifiable.',
|
bullet3: "Comment cela fonctionne-t-il ?",
|
||||||
bullet5: 'Quelles sont les données que vous collectez et comment sont-elles traitées ?',
|
bullet3text:
|
||||||
bullet5text: 'L\'extension ne collecte que les données strictement nécessaires à son bon fonctionnement, comme l\'adresse IP ou l\'ID de la vidéo que vous regardez. Aucune de vos données ne sera jamais vendue à des tiers. Si vous souhaitez en savoir plus sur la manière dont nous gérons la sécurité et la confidentialité, consultez notre <a href="https://github.com/Anarios/return-youtube-dislike/blob/main/Docs/SECURITY-FAQfr.md">FAQ sur la sécurité</a>.',
|
"L'extension collecte l'ID de la vidéo que vous regardez, récupère les dislike (et d'autres champs comme les vues, les likes, etc.) en utilisant notre API. L'extension affiche ensuite le nombre de dislike et le ratio sur la page. Si vous liker ou disliker une vidéo, cela est enregistré et envoyé à la base de données afin qu'un nombre précis de dislikes puisse être extrapolé.",
|
||||||
bullet6: 'Comment fonctionne l\'API / le Backend ?',
|
bullet4: "Puis-je partager mon compte de dislike avec vous ?",
|
||||||
bullet6text: 'Le backend utilise des données archivées de l\'époque où l\'API Youtube renvoyait encore le nombre de dislike, il utilise aussi le nombre de like/dislike des utilisateurs de l\'extension et une extrapolation. Dans un avenir proche, nous allons permettre aux créateurs de contenu de soumettre leurs nombres de dislike facilement et en toute sécurité et nous allons ajouter les données archivées d\'ArchiveTeam (4,56 milliards de vidéos) à notre base de données actuelle. Vous pouvez également visionner une vidéo sur le sujet.',
|
bullet4text:
|
||||||
bullet7: 'Pourquoi le compteur de dislike affiche-t-il "Désactivé par le créateur" ?',
|
"Prochainement. Nous envisageons d'utiliser Oauth ou une autre API en lecture seule avec un champ d'application limité afin que les créateurs puissent partager leurs compteurs de dislikes de manière vérifiable.",
|
||||||
bullet7text: 'Parfois, une vidéo récemment publiée peut afficher "Désactivé par le créateur" même si le créateur ne l\'a pas désactivé. Cela est dû à la façon dont nous détectons si les dislikes sont désactivés, cela devrait disparaître dans quelques heures ou en likant ou en dislikant la vidéo et en rafraîchissant la page (avec un peu de chance).',
|
bullet5:
|
||||||
|
"Quelles sont les données que vous collectez et comment sont-elles traitées ?",
|
||||||
|
bullet5text:
|
||||||
|
"L'extension ne collecte que les données strictement nécessaires à son bon fonctionnement, comme l'adresse IP ou l'ID de la vidéo que vous regardez. Aucune de vos données ne sera jamais vendue à des tiers. Si vous souhaitez en savoir plus sur la manière dont nous gérons la sécurité et la confidentialité, consultez notre <a href=\"https://github.com/Anarios/return-youtube-dislike/blob/main/Docs/SECURITY-FAQfr.md\">FAQ sur la sécurité</a>.",
|
||||||
|
bullet6: "Comment fonctionne l'API / le Backend ?",
|
||||||
|
bullet6text:
|
||||||
|
"Le backend utilise des données archivées de l'époque où l'API Youtube renvoyait encore le nombre de dislike, il utilise aussi le nombre de like/dislike des utilisateurs de l'extension et une extrapolation. Dans un avenir proche, nous allons permettre aux créateurs de contenu de soumettre leurs nombres de dislike facilement et en toute sécurité et nous allons ajouter les données archivées d'ArchiveTeam (4,56 milliards de vidéos) à notre base de données actuelle. Vous pouvez également visionner une vidéo sur le sujet.",
|
||||||
|
bullet7:
|
||||||
|
'Pourquoi le compteur de dislike affiche-t-il "Désactivé par le créateur" ?',
|
||||||
|
bullet7text:
|
||||||
|
'Parfois, une vidéo récemment publiée peut afficher "Désactivé par le créateur" même si le créateur ne l\'a pas désactivé. Cela est dû à la façon dont nous détectons si les dislikes sont désactivés, cela devrait disparaître dans quelques heures ou en likant ou en dislikant la vidéo et en rafraîchissant la page (avec un peu de chance).',
|
||||||
},
|
},
|
||||||
donate: {
|
donate: {
|
||||||
name: 'Donner',
|
name: "Donner",
|
||||||
subtitle: 'Vous pouvez soutenir nos efforts pour que l\'internet reste libre en faisant un don !',
|
subtitle:
|
||||||
|
"Vous pouvez soutenir nos efforts pour que l'internet reste libre en faisant un don !",
|
||||||
},
|
},
|
||||||
links: {
|
links: {
|
||||||
name: 'Liens',
|
name: "Liens",
|
||||||
title: 'Liens du Projet',
|
title: "Liens du Projet",
|
||||||
subtitle: 'Liens vers le projet et ses développeurs',
|
subtitle: "Liens vers le projet et ses développeurs",
|
||||||
contact: 'Contactez-moi',
|
contact: "Contactez-moi",
|
||||||
translators: 'Traducteurs',
|
translators: "Traducteurs",
|
||||||
coolProjects: 'Projets Cool',
|
coolProjects: "Projets Cool",
|
||||||
sponsorBlockDescription: 'Ignorer les publicités intégrées (sponso) dans la vidéo',
|
sponsorBlockDescription:
|
||||||
filmotDescription: 'Rechercher des vidéos YouTube par sous-titres'
|
"Ignorer les publicités intégrées (sponso) dans la vidéo",
|
||||||
|
filmotDescription: "Rechercher des vidéos YouTube par sous-titres",
|
||||||
},
|
},
|
||||||
}
|
};
|
||||||
+102
-78
@@ -1,103 +1,127 @@
|
|||||||
import { ru } from 'vuetify/src/locale'
|
import { ru } from "vuetify/src/locale";
|
||||||
// By Nikita Krupin
|
// By Nikita Krupin
|
||||||
export default {
|
export default {
|
||||||
...ru,
|
...ru,
|
||||||
home: {
|
home: {
|
||||||
name: 'Главная',
|
name: "Главная",
|
||||||
title: 'Вернуть YouTube дизлайки',
|
title: "Вернуть YouTube дизлайки",
|
||||||
subtitle: 'Расширение для браузера и API, которые показывают вам отметки «Не нравится» в Youtube',
|
subtitle:
|
||||||
ukraine: 'Поддержите Украину',
|
"Расширение для браузера и API, которые показывают вам отметки «Не нравится» в Youtube",
|
||||||
sponsors: 'Спонсоры',
|
ukraine: "Поддержите Украину",
|
||||||
|
sponsors: "Спонсоры",
|
||||||
},
|
},
|
||||||
install: {
|
install: {
|
||||||
name: 'Скачать',
|
name: "Скачать",
|
||||||
title: 'Выберите свою платформу',
|
title: "Выберите свою платформу",
|
||||||
subtitle: 'Доступно в Firefox и во всех Chromium браузерах',
|
subtitle: "Доступно в Firefox и во всех Chromium браузерах",
|
||||||
title2: 'Другие платформы',
|
title2: "Другие платформы",
|
||||||
subtitle2: 'Если ваш браузер ещё не поддерживается, попробуйте этот пользовательский скрипт',
|
subtitle2:
|
||||||
title3: 'От других разработчиков',
|
"Если ваш браузер ещё не поддерживается, попробуйте этот пользовательский скрипт",
|
||||||
subtitle3: 'Никакой ответственности с нашей стороны, используйте на свой страх и риск',
|
title3: "От других разработчиков",
|
||||||
|
subtitle3:
|
||||||
|
"Никакой ответственности с нашей стороны, используйте на свой страх и риск",
|
||||||
},
|
},
|
||||||
api: {
|
api: {
|
||||||
name: 'API',
|
name: "API",
|
||||||
title: 'Добро пожаловать в официальную документацию RYD!',
|
title: "Добро пожаловать в официальную документацию RYD!",
|
||||||
subtitle: 'Чтобы начать, выберите раздел в меню.',
|
subtitle: "Чтобы начать, выберите раздел в меню.",
|
||||||
rights: {
|
rights: {
|
||||||
title: 'Права пользования',
|
title: "Права пользования",
|
||||||
subtitle: 'Использование этого открытого API третьими лицами разрешено со следующими ограничениями:',
|
subtitle:
|
||||||
bullet1: 'Aтрибуция: ',
|
"Использование этого открытого API третьими лицами разрешено со следующими ограничениями:",
|
||||||
bullet1text: 'Этот проект должен быть чётко описан либо ссылкой на этот репозиторий, либо ссылкой на returnyoutubedislike.com',
|
bullet1: "Aтрибуция: ",
|
||||||
bullet2: 'Ограничение',
|
bullet1text:
|
||||||
bullet2text: 'Существуют ограничения на скорость для каждого клиента - 100 в минуту и 10 000 в день. Это выдаст код ошибки 429, указывающее на то, что ваше приложение превысило лимит',
|
"Этот проект должен быть чётко описан либо ссылкой на этот репозиторий, либо ссылкой на returnyoutubedislike.com",
|
||||||
|
bullet2: "Ограничение",
|
||||||
|
bullet2text:
|
||||||
|
"Существуют ограничения на скорость для каждого клиента - 100 в минуту и 10 000 в день. Это выдаст код ошибки 429, указывающее на то, что ваше приложение превысило лимит",
|
||||||
},
|
},
|
||||||
url: {
|
url: {
|
||||||
title: 'Информация о URL-адресе',
|
title: "Информация о URL-адресе",
|
||||||
subtitle: 'API доступен по следующему URL-адресу: ',
|
subtitle: "API доступен по следующему URL-адресу: ",
|
||||||
},
|
},
|
||||||
endpoints: {
|
endpoints: {
|
||||||
title: 'Доступные конечные точки (эндпоинты)',
|
title: "Доступные конечные точки (эндпоинты)",
|
||||||
subtitle: 'Список доступных конечных точек доступен здесь: ',
|
subtitle: "Список доступных конечных точек доступен здесь: ",
|
||||||
},
|
},
|
||||||
fetching: {
|
fetching: {
|
||||||
title: 'Базовое руководство по выборке',
|
title: "Базовое руководство по выборке",
|
||||||
subtitle: 'Пример получения голосов на заданный видео идентификатор на YouTube ',
|
subtitle:
|
||||||
title2: 'Пример запроса: ',
|
"Пример получения голосов на заданный видео идентификатор на YouTube ",
|
||||||
url: 'URL-адрес запроса: ',
|
title2: "Пример запроса: ",
|
||||||
method: 'Способ запроса: ',
|
url: "URL-адрес запроса: ",
|
||||||
headers: 'Заголовок: ',
|
method: "Способ запроса: ",
|
||||||
response: 'Ответ: ',
|
headers: "Заголовок: ",
|
||||||
error1: 'Неверный идентификатор YouTube выдаст код ошибки 404 "Не найдено"',
|
response: "Ответ: ",
|
||||||
error2: 'Неправильно отформатированный идентификатор YouTube выдаст код ошибки 400 "Неверный запрос"'
|
error1:
|
||||||
|
'Неверный идентификатор YouTube выдаст код ошибки 404 "Не найдено"',
|
||||||
|
error2:
|
||||||
|
'Неправильно отформатированный идентификатор YouTube выдаст код ошибки 400 "Неверный запрос"',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
help: {
|
help: {
|
||||||
name: 'Помощь',
|
name: "Помощь",
|
||||||
title: 'Диагностика',
|
title: "Диагностика",
|
||||||
bullet1: 'Убедитесь, что у вас установлена последняя версия расширения, ',
|
bullet1: "Убедитесь, что у вас установлена последняя версия расширения, ",
|
||||||
bullet11: 'прямо сейчас',
|
bullet11: "прямо сейчас",
|
||||||
bullet2: 'Попробуйте удалить расширение и установить его снова, затем перезагрузите браузер (все активные окна, а не только одну вкладку).',
|
bullet2:
|
||||||
bullet3: 'Убедитесь, что эта ссылка открывается:',
|
"Попробуйте удалить расширение и установить его снова, затем перезагрузите браузер (все активные окна, а не только одну вкладку).",
|
||||||
bullet31: 'вы должны увидеть текст: ',
|
bullet3: "Убедитесь, что эта ссылка открывается:",
|
||||||
bullet4: 'Если ничего из вышеперечисленного не помогает - сообщите о своей проблеме в',
|
bullet31: "вы должны увидеть текст: ",
|
||||||
bullet41: 'в нашем',
|
bullet4:
|
||||||
bullet4a: 'Сообщите нам вашу операционную систему, Название браузера и версию браузера',
|
"Если ничего из вышеперечисленного не помогает - сообщите о своей проблеме в",
|
||||||
bullet4b: 'Сделайте снимок экрана страницы с проблемой (например, страницы видео на YouTube) с открытой консолью (нажмите ',
|
bullet41: "в нашем",
|
||||||
bullet4b1: ') - пример скриншота ниже.',
|
bullet4a:
|
||||||
bullet4c: 'Сделайте снимок экрана страницы расширений вашего браузера с установленным расширением.',
|
"Сообщите нам вашу операционную систему, Название браузера и версию браузера",
|
||||||
bullet4c1: 'Чтобы увидеть расширения, введите это в адресную строку: ',
|
bullet4b:
|
||||||
firefox: 'для Firefox',
|
"Сделайте снимок экрана страницы с проблемой (например, страницы видео на YouTube) с открытой консолью (нажмите ",
|
||||||
chrome: 'для Chrome, Edge, Brave, Opera, Vivaldi',
|
bullet4b1: ") - пример скриншота ниже.",
|
||||||
|
bullet4c:
|
||||||
|
"Сделайте снимок экрана страницы расширений вашего браузера с установленным расширением.",
|
||||||
|
bullet4c1: "Чтобы увидеть расширения, введите это в адресную строку: ",
|
||||||
|
firefox: "для Firefox",
|
||||||
|
chrome: "для Chrome, Edge, Brave, Opera, Vivaldi",
|
||||||
},
|
},
|
||||||
faq: {
|
faq: {
|
||||||
name: 'ЧаВО',
|
name: "ЧаВО",
|
||||||
title: 'Частые вопросы',
|
title: "Частые вопросы",
|
||||||
subtitle: 'Всё ещё есть вопросы? Не стесняйтесь заглянуть в наш Discord!',
|
subtitle: "Всё ещё есть вопросы? Не стесняйтесь заглянуть в наш Discord!",
|
||||||
bullet1: 'Откуда расширение получает данные?',
|
bullet1: "Откуда расширение получает данные?",
|
||||||
bullet1text: 'Комбинация архивных данных, полученных до закрытия официального API YouTube с отметками «Не нравится», и экстраполяция поведения пользователей расширения.',
|
bullet1text:
|
||||||
bullet2: 'Почему количество отметок «Не нравится» не обновляется?',
|
"Комбинация архивных данных, полученных до закрытия официального API YouTube с отметками «Не нравится», и экстраполяция поведения пользователей расширения.",
|
||||||
bullet2text: 'На данный момент видео отметки «Не нравится» кэшируются, и обновляются не очень часто. Это зависит от популярности видео, но обновление может занять от нескольких часов до нескольких дней.',
|
bullet2: "Почему количество отметок «Не нравится» не обновляется?",
|
||||||
bullet3: 'Как это работает?',
|
bullet2text:
|
||||||
bullet3text: 'Расширение берёт идентификатор видео которое вы смотрите, извлекает количество отметок «Не нравится» (и другие поля, такие как просмотры, отметки «Нравится» и т.д.) используя наш API. Затем расширение отображает количество отметок «Не нравится» на странице. Если если вы оставляете отметки «Нравится» или «Не нравится», это записывается и отправляется в базу данных, чтобы можно было экстраполировать точное количество отметок.',
|
"На данный момент видео отметки «Не нравится» кэшируются, и обновляются не очень часто. Это зависит от популярности видео, но обновление может занять от нескольких часов до нескольких дней.",
|
||||||
bullet4: 'Могу я поделиться с вами своим количеством отметок «Не нравится»?',
|
bullet3: "Как это работает?",
|
||||||
bullet4text: 'Скоро. Мы рассматриваем возможность использования Oauth или другого API, доступного только для чтения, с ограниченной областью действия, чтобы создатели могли делиться своим количеством отметок «Не нравится».',
|
bullet3text:
|
||||||
bullet5: 'Какие данные вы собираете и как они обрабатываются?',
|
"Расширение берёт идентификатор видео которое вы смотрите, извлекает количество отметок «Не нравится» (и другие поля, такие как просмотры, отметки «Нравится» и т.д.) используя наш API. Затем расширение отображает количество отметок «Не нравится» на странице. Если если вы оставляете отметки «Нравится» или «Не нравится», это записывается и отправляется в базу данных, чтобы можно было экстраполировать точное количество отметок.",
|
||||||
bullet5text: 'Расширение собирает только те данные, которые строго необходимы для его правильной работы, такие как IP-адрес или идентификатор видео которое вы смотрите. Ваши данные никогда не будут проданы третьим лицам. Если вы хотите узнать больше о том, как мы обеспечиваем безопасность и конфиденциальность, ознакомьтесь с нашим <a href="https://github.com/Anarios/return-youtube-dislike/blob/main/Docs/SECURITY-FAQru.md">ЧаВО по безопасности</a>.',
|
bullet4:
|
||||||
bullet6: 'Как работает API/серверная часть?',
|
"Могу я поделиться с вами своим количеством отметок «Не нравится»?",
|
||||||
bullet6text: 'Серверная часть использует архивные данные с тех пор, когда YouTube API всё ещё выдавал количество отметок «Не нравится», количество отметок «Нравится» и «Не нравится» пользователей расширения и экстраполяцию. В ближайшем будущем мы позволим создателям контента легко и безопасно отправлять количество своих отметок «Не нравится», и мы добавим архивные данные ArchiveTeam (4,56 миллиарда видео) в нашу текущую базу данных. Вы также можете просмотреть видео на эту тему.',
|
bullet4text:
|
||||||
bullet7: 'Почему счётчик отметок «Не нравится» показывает \'DISLIKES DISABLED\'?',
|
"Скоро. Мы рассматриваем возможность использования Oauth или другого API, доступного только для чтения, с ограниченной областью действия, чтобы создатели могли делиться своим количеством отметок «Не нравится».",
|
||||||
bullet7text: 'Иногда недавно загруженное видео может показывать "DISLIKES DISABLED", это связано с тем как мы определяем отключены ли отметки «Не нравится», и должно исчезнуть через несколько часов или после получения отметки «Нравится» или «Не нравится» и обновления страницы (надеюсь).',
|
bullet5: "Какие данные вы собираете и как они обрабатываются?",
|
||||||
|
bullet5text:
|
||||||
|
'Расширение собирает только те данные, которые строго необходимы для его правильной работы, такие как IP-адрес или идентификатор видео которое вы смотрите. Ваши данные никогда не будут проданы третьим лицам. Если вы хотите узнать больше о том, как мы обеспечиваем безопасность и конфиденциальность, ознакомьтесь с нашим <a href="https://github.com/Anarios/return-youtube-dislike/blob/main/Docs/SECURITY-FAQru.md">ЧаВО по безопасности</a>.',
|
||||||
|
bullet6: "Как работает API/серверная часть?",
|
||||||
|
bullet6text:
|
||||||
|
"Серверная часть использует архивные данные с тех пор, когда YouTube API всё ещё выдавал количество отметок «Не нравится», количество отметок «Нравится» и «Не нравится» пользователей расширения и экстраполяцию. В ближайшем будущем мы позволим создателям контента легко и безопасно отправлять количество своих отметок «Не нравится», и мы добавим архивные данные ArchiveTeam (4,56 миллиарда видео) в нашу текущую базу данных. Вы также можете просмотреть видео на эту тему.",
|
||||||
|
bullet7:
|
||||||
|
"Почему счётчик отметок «Не нравится» показывает 'DISLIKES DISABLED'?",
|
||||||
|
bullet7text:
|
||||||
|
'Иногда недавно загруженное видео может показывать "DISLIKES DISABLED", это связано с тем как мы определяем отключены ли отметки «Не нравится», и должно исчезнуть через несколько часов или после получения отметки «Нравится» или «Не нравится» и обновления страницы (надеюсь).',
|
||||||
},
|
},
|
||||||
donate: {
|
donate: {
|
||||||
name: 'Пожертвовать',
|
name: "Пожертвовать",
|
||||||
subtitle: 'Вы можете поддержать пожертвованием наши усилия по обеспечению свободного Интернета!',
|
subtitle:
|
||||||
|
"Вы можете поддержать пожертвованием наши усилия по обеспечению свободного Интернета!",
|
||||||
},
|
},
|
||||||
links: {
|
links: {
|
||||||
name: 'Ссылки',
|
name: "Ссылки",
|
||||||
title: 'Ссылки',
|
title: "Ссылки",
|
||||||
subtitle: 'Ссылки на проект и его разработчиков',
|
subtitle: "Ссылки на проект и его разработчиков",
|
||||||
contact: 'Связаться',
|
contact: "Связаться",
|
||||||
translators: 'Переводчики',
|
translators: "Переводчики",
|
||||||
sponsorBlockDescription: 'Проматывает рекламу, встроенную в видео',
|
sponsorBlockDescription: "Проматывает рекламу, встроенную в видео",
|
||||||
filmotDescription: 'Поиск по субтитрам YouTube'
|
filmotDescription: "Поиск по субтитрам YouTube",
|
||||||
},
|
},
|
||||||
}
|
};
|
||||||
+101
-78
@@ -1,104 +1,127 @@
|
|||||||
import { tr } from 'vuetify/src/locale'
|
import { tr } from "vuetify/src/locale";
|
||||||
// By Batuhan Kara & İlyas Zan
|
// By Batuhan Kara & İlyas Zan
|
||||||
export default {
|
export default {
|
||||||
...tr,
|
...tr,
|
||||||
home: {
|
home: {
|
||||||
name: 'Ana Sayfa',
|
name: "Ana Sayfa",
|
||||||
title: 'YouTube Dislike Sayısını Geri Getir',
|
title: "YouTube Dislike Sayısını Geri Getir",
|
||||||
subtitle: 'Tarayıcı uzantısı ve bir API, YouTube\'daki dislike sayınızı geri getirir',
|
subtitle:
|
||||||
ukraine: 'Ukrayna\'ya Destek Ol',
|
"Tarayıcı uzantısı ve bir API, YouTube'daki dislike sayınızı geri getirir",
|
||||||
sponsors: 'Sponsorlar',
|
ukraine: "Ukrayna'ya Destek Ol",
|
||||||
|
sponsors: "Sponsorlar",
|
||||||
},
|
},
|
||||||
install: {
|
install: {
|
||||||
name: 'Yükle',
|
name: "Yükle",
|
||||||
title: 'Platformunuzu Seçin',
|
title: "Platformunuzu Seçin",
|
||||||
subtitle: 'Firefox ve bütün Chromium tabanlı tarayıcılarda kullanılabilir',
|
subtitle: "Firefox ve bütün Chromium tabanlı tarayıcılarda kullanılabilir",
|
||||||
title2: 'Diğer Platformlar',
|
title2: "Diğer Platformlar",
|
||||||
subtitle2: 'Tarayıcınız henüz desteklenmiyorsa UserScript yöntemini deneyin',
|
subtitle2:
|
||||||
title3: 'Üçüncü Parti Uygulamalar',
|
"Tarayıcınız henüz desteklenmiyorsa UserScript yöntemini deneyin",
|
||||||
subtitle3: 'Riski tamamen size aittir, bizim tarafımızda sorumluluk kabul edilmemektedir',
|
title3: "Üçüncü Parti Uygulamalar",
|
||||||
|
subtitle3:
|
||||||
|
"Riski tamamen size aittir, bizim tarafımızda sorumluluk kabul edilmemektedir",
|
||||||
},
|
},
|
||||||
api: {
|
api: {
|
||||||
name: 'API',
|
name: "API",
|
||||||
title: 'Resmî RYD belgelerine hoş geldiniz!',
|
title: "Resmî RYD belgelerine hoş geldiniz!",
|
||||||
subtitle: 'Başlamak için menüden bir bölüm seçin.',
|
subtitle: "Başlamak için menüden bir bölüm seçin.",
|
||||||
rights: {
|
rights: {
|
||||||
title: 'Kullanım Hakları',
|
title: "Kullanım Hakları",
|
||||||
subtitle: 'Herkese açık API\'nin üçüncü parti kişilerin kullanımında aşağıdaki kısıtlamalara izin verir:',
|
subtitle:
|
||||||
bullet1: 'Atıf: ',
|
"Herkese açık API'nin üçüncü parti kişilerin kullanımında aşağıdaki kısıtlamalara izin verir:",
|
||||||
bullet1text: 'Bu proje, bu depoya ya da returnyoutubedislike.com sitesine bir bağlantı ile açıkça atfedilmelidir',
|
bullet1: "Atıf: ",
|
||||||
bullet2: 'Hız Sınırlaması: ',
|
bullet1text:
|
||||||
bullet2text: 'Kullanıcı başına dakikada 100 ve günde 10.000 hız sınırlaması vardır. Bu, uygulamanızın geri çekilmesi gerektiğini belirten 429 durum kodunu döndürür',
|
"Bu proje, bu depoya ya da returnyoutubedislike.com sitesine bir bağlantı ile açıkça atfedilmelidir",
|
||||||
|
bullet2: "Hız Sınırlaması: ",
|
||||||
|
bullet2text:
|
||||||
|
"Kullanıcı başına dakikada 100 ve günde 10.000 hız sınırlaması vardır. Bu, uygulamanızın geri çekilmesi gerektiğini belirten 429 durum kodunu döndürür",
|
||||||
},
|
},
|
||||||
url: {
|
url: {
|
||||||
title: 'URL Bilgisi',
|
title: "URL Bilgisi",
|
||||||
subtitle: 'API\'ye şu URL üzerinden ulaşılabilir: ',
|
subtitle: "API'ye şu URL üzerinden ulaşılabilir: ",
|
||||||
},
|
},
|
||||||
endpoints: {
|
endpoints: {
|
||||||
title: 'Kullanılabilir Endpoint\'ler',
|
title: "Kullanılabilir Endpoint'ler",
|
||||||
subtitle: 'Kullanılabilir endpoint\'lerin listesi burada mevcuttur: ',
|
subtitle: "Kullanılabilir endpoint'lerin listesi burada mevcuttur: ",
|
||||||
},
|
},
|
||||||
fetching: {
|
fetching: {
|
||||||
title: 'Temel Veri Alma Eğitimi',
|
title: "Temel Veri Alma Eğitimi",
|
||||||
subtitle: 'Belirli bir YouTube ID\'sinin oylamalarını elde etmek için bir örnek: ',
|
subtitle:
|
||||||
title2: 'Örnek İstek: ',
|
"Belirli bir YouTube ID'sinin oylamalarını elde etmek için bir örnek: ",
|
||||||
url: 'İstek URL\'si: ',
|
title2: "Örnek İstek: ",
|
||||||
method: 'İstek Yöntemi: ',
|
url: "İstek URL'si: ",
|
||||||
headers: 'Header\'lar: ',
|
method: "İstek Yöntemi: ",
|
||||||
response: 'Sonuç: ',
|
headers: "Header'lar: ",
|
||||||
|
response: "Sonuç: ",
|
||||||
error1: 'Geçersiz bir YouTube ID\'si, 404 "Not Found" olarak döndürülür',
|
error1: 'Geçersiz bir YouTube ID\'si, 404 "Not Found" olarak döndürülür',
|
||||||
error2: 'Yanlış biçimlendirilmiş bir YouTube ID\'si, 400 "Bad Request" olarak döndürülür'
|
error2:
|
||||||
|
'Yanlış biçimlendirilmiş bir YouTube ID\'si, 400 "Bad Request" olarak döndürülür',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
help: {
|
help: {
|
||||||
name: 'Yardım',
|
name: "Yardım",
|
||||||
title: 'Sorun Giderme',
|
title: "Sorun Giderme",
|
||||||
bullet1: 'Uzantının en son sürümü olan ',
|
bullet1: "Uzantının en son sürümü olan ",
|
||||||
bullet11: ' sürümünün kurulu olduğundan emin olun',
|
bullet11: " sürümünün kurulu olduğundan emin olun",
|
||||||
bullet2: 'Uzantıyı kaldırıp yeniden yüklemeyi deneyin, sonra tarayıcınızı yeniden başlatın (tüm aktif sekmeleri kapatın, sadece tek bir sekmeyi değil)',
|
bullet2:
|
||||||
bullet3: 'Şu bağlantıyı açtığınızdan emin olun: ',
|
"Uzantıyı kaldırıp yeniden yüklemeyi deneyin, sonra tarayıcınızı yeniden başlatın (tüm aktif sekmeleri kapatın, sadece tek bir sekmeyi değil)",
|
||||||
bullet31: 'şöyle bir düz metin görmelisiniz: ',
|
bullet3: "Şu bağlantıyı açtığınızdan emin olun: ",
|
||||||
bullet4: 'Yukarıdakiler yardımcı olmadıysa - Discord sunucumuzdaki ',
|
bullet31: "şöyle bir düz metin görmelisiniz: ",
|
||||||
bullet41: ' kanalından problemi bildirin (İngilizce bir şekilde) Discord sunucumuz: ',
|
bullet4: "Yukarıdakiler yardımcı olmadıysa - Discord sunucumuzdaki ",
|
||||||
bullet4a: 'Bize İşletim Sisteminizi, Tarayıcı Adınızı ve Tarayıcı Sürümünüzü söyleyin',
|
bullet41:
|
||||||
bullet4b: 'Konsol açıkken (açmak için ',
|
" kanalından problemi bildirin (İngilizce bir şekilde) Discord sunucumuz: ",
|
||||||
bullet4b1: ' tuşuna basın) sorunu yaşadığınız sayfanın ekran görüntüsünü alın (yani YouTube watch sayfasının) - Ekran görüntüsü örneği aşağıdadır.',
|
bullet4a:
|
||||||
bullet4c: 'Uzantı yüklüyken tarayıcınızın uzantılar sayfasının ekran görüntüsünü alın.',
|
"Bize İşletim Sisteminizi, Tarayıcı Adınızı ve Tarayıcı Sürümünüzü söyleyin",
|
||||||
bullet4c1: 'Uzantıları görmek için şu linki adres çubuğuna yapıştırın: ',
|
bullet4b: "Konsol açıkken (açmak için ",
|
||||||
firefox: '(Firefox için)',
|
bullet4b1:
|
||||||
chrome: '(Chrome, Edge, Brave, Opera ve Vivaldi için)',
|
" tuşuna basın) sorunu yaşadığınız sayfanın ekran görüntüsünü alın (yani YouTube watch sayfasının) - Ekran görüntüsü örneği aşağıdadır.",
|
||||||
|
bullet4c:
|
||||||
|
"Uzantı yüklüyken tarayıcınızın uzantılar sayfasının ekran görüntüsünü alın.",
|
||||||
|
bullet4c1: "Uzantıları görmek için şu linki adres çubuğuna yapıştırın: ",
|
||||||
|
firefox: "(Firefox için)",
|
||||||
|
chrome: "(Chrome, Edge, Brave, Opera ve Vivaldi için)",
|
||||||
},
|
},
|
||||||
faq: {
|
faq: {
|
||||||
name: 'SSS',
|
name: "SSS",
|
||||||
title: 'Sıkça Sorulan Sorular',
|
title: "Sıkça Sorulan Sorular",
|
||||||
subtitle: 'Hâlâ sorun mu yaşıyorsunuz? Discord sunucumuza katılmaktan çekinmeyin! (İngilizce)',
|
subtitle:
|
||||||
bullet1: 'Uzantı, verileri nereden alıyor?',
|
"Hâlâ sorun mu yaşıyorsunuz? Discord sunucumuza katılmaktan çekinmeyin! (İngilizce)",
|
||||||
bullet1text: 'Resmî YouTube dislike sayısı API\'si kapatılmadan önceki arşivlenmiş verilerden ve tahmin edilen uzantı kullanıcısı davranışının bir birleşimiyle.',
|
bullet1: "Uzantı, verileri nereden alıyor?",
|
||||||
bullet2: 'Dislike sayısı neden güncellenmiyor?',
|
bullet1text:
|
||||||
bullet2text: 'Şu anda dislike durumları önbelleğe alınır ve çok sık güncellenmez. Bir videonun popülerliğine bağlı olarak değişir ancak güncellenmesi birkaç saat ilâ birkaç gün sürebilir.',
|
"Resmî YouTube dislike sayısı API'si kapatılmadan önceki arşivlenmiş verilerden ve tahmin edilen uzantı kullanıcısı davranışının bir birleşimiyle.",
|
||||||
bullet3: 'Bu nasıl çalışıyor?',
|
bullet2: "Dislike sayısı neden güncellenmiyor?",
|
||||||
bullet3text: 'Uzantı, izlediğiniz videonun ID\'sini alır, API\'miz üzerinden dislike sayılarınızı geri getirir (aynı zamanda görüntülenmenizi, like\'ınızı vb. diğer alanları da). Uzantı daha sonra sayfada dislike sayısını ve oranını görüntüler. Bir videoya like veya dislike atarsanız bu kaydedilir ve veri tabanına gönderilir, böylece doğru dislike sayısını tahmin edebilir.',
|
bullet2text:
|
||||||
bullet4: 'Dislike sayımı sizinle paylaşabilir miyim?',
|
"Şu anda dislike durumları önbelleğe alınır ve çok sık güncellenmez. Bir videonun popülerliğine bağlı olarak değişir ancak güncellenmesi birkaç saat ilâ birkaç gün sürebilir.",
|
||||||
bullet4text: 'Çok yakında evet. İçerik üreticilerinin dislike sayıları için doğrulanabilirliğini paylaşabilmeleri amacıyla Oauth ya da sınırlı bir kapsamda farklı bir salt okunur API kullanmayı düşünüyoruz.',
|
bullet3: "Bu nasıl çalışıyor?",
|
||||||
bullet5: 'Hangi verileri topluyorsunuz ve bunlar nasıl işleniyor?',
|
bullet3text:
|
||||||
bullet5text: 'Uzantı, yalnızca izlediğiniz videonun IP adresi veya videonun ID\'si gibi düzgün çalışması için kesinlikle gerekli olan verileri toplar. Verileriniz asla 3. taraflara satılmayacaktır. Güvenliği ve gizliliği nasıl ele aldığımız hakkında daha fazla bilgi için <a href="https://github.com/Anarios/return-youtube-dislike/blob/main/Docs/SECURITY-FAQ.md">security FAQ</a>\'ya gidin.',
|
"Uzantı, izlediğiniz videonun ID'sini alır, API'miz üzerinden dislike sayılarınızı geri getirir (aynı zamanda görüntülenmenizi, like'ınızı vb. diğer alanları da). Uzantı daha sonra sayfada dislike sayısını ve oranını görüntüler. Bir videoya like veya dislike atarsanız bu kaydedilir ve veri tabanına gönderilir, böylece doğru dislike sayısını tahmin edebilir.",
|
||||||
bullet6: 'API/Yazılım(Backend) nasıl çalışıyor?',
|
bullet4: "Dislike sayımı sizinle paylaşabilir miyim?",
|
||||||
bullet6text: 'Yazılım, YouTube API\'sinin dislike sayısını ve uzantı kullanıcılarının like/dislike sayısı sonuçların genişletilmesinin döndürmeye devam ettiği zamana ait arşivlenmiş verileri kullanır. Yakın zamanda içerik üreticilerin dislike sayısını kolay ve güvenli bir şekilde göndermelerine izin vereceğiz ve ArchiveTeam\'in arşivlenmiş verilerini (4,56 milyar video) veri tabanımıza ekleyeceğiz. Ayrıca konu ile ilgili videoyu da izleyebilirsiniz.',
|
bullet4text:
|
||||||
bullet7: 'Dislike sayısı neden \'DISLIKES DISABLED\'(DISLIKE\'LAR AKTİF DEĞİL) olarak gözüküyor?',
|
"Çok yakında evet. İçerik üreticilerinin dislike sayıları için doğrulanabilirliğini paylaşabilmeleri amacıyla Oauth ya da sınırlı bir kapsamda farklı bir salt okunur API kullanmayı düşünüyoruz.",
|
||||||
bullet7text: 'Yazma sırasında like ve dislike sayısını devre dışı bırakan videoların dislike sayılarını göstermiyoruz. Uzantı, bu videolar için \'DISLIKES DISABLED\'(DISLIKE\'LAR AKTİF DEĞİL) mesajını görüntüler. Yakında tüm videolarda dislike sayısını göstereceğiz. Bu, yalnızca geçici bir çözümdür. Bu nedenle insanlar uzantının bozuk olduğunu düşünmez (zaten iyi çalışmıyor). Bazen yakın zamanda yüklenen bir videoda, içerik üreticisi onu devre dışı bırakmamış olsa bile \'DISLIKES DISABLED\' olarak gözükebilir. Bunun nedeni, dislike sayısını devre dışı bırakıp bırakmadığını tespit etmemizdir. Birkaç saat içinde videoyu like ya da dislike atarsanız veya sayfayı yenilerseniz kaybolması gerekir (umarız).',
|
bullet5: "Hangi verileri topluyorsunuz ve bunlar nasıl işleniyor?",
|
||||||
|
bullet5text:
|
||||||
|
"Uzantı, yalnızca izlediğiniz videonun IP adresi veya videonun ID'si gibi düzgün çalışması için kesinlikle gerekli olan verileri toplar. Verileriniz asla 3. taraflara satılmayacaktır. Güvenliği ve gizliliği nasıl ele aldığımız hakkında daha fazla bilgi için <a href=\"https://github.com/Anarios/return-youtube-dislike/blob/main/Docs/SECURITY-FAQ.md\">security FAQ</a>'ya gidin.",
|
||||||
|
bullet6: "API/Yazılım(Backend) nasıl çalışıyor?",
|
||||||
|
bullet6text:
|
||||||
|
"Yazılım, YouTube API'sinin dislike sayısını ve uzantı kullanıcılarının like/dislike sayısı sonuçların genişletilmesinin döndürmeye devam ettiği zamana ait arşivlenmiş verileri kullanır. Yakın zamanda içerik üreticilerin dislike sayısını kolay ve güvenli bir şekilde göndermelerine izin vereceğiz ve ArchiveTeam'in arşivlenmiş verilerini (4,56 milyar video) veri tabanımıza ekleyeceğiz. Ayrıca konu ile ilgili videoyu da izleyebilirsiniz.",
|
||||||
|
bullet7:
|
||||||
|
"Dislike sayısı neden 'DISLIKES DISABLED'(DISLIKE'LAR AKTİF DEĞİL) olarak gözüküyor?",
|
||||||
|
bullet7text:
|
||||||
|
"Yazma sırasında like ve dislike sayısını devre dışı bırakan videoların dislike sayılarını göstermiyoruz. Uzantı, bu videolar için 'DISLIKES DISABLED'(DISLIKE'LAR AKTİF DEĞİL) mesajını görüntüler. Yakında tüm videolarda dislike sayısını göstereceğiz. Bu, yalnızca geçici bir çözümdür. Bu nedenle insanlar uzantının bozuk olduğunu düşünmez (zaten iyi çalışmıyor). Bazen yakın zamanda yüklenen bir videoda, içerik üreticisi onu devre dışı bırakmamış olsa bile 'DISLIKES DISABLED' olarak gözükebilir. Bunun nedeni, dislike sayısını devre dışı bırakıp bırakmadığını tespit etmemizdir. Birkaç saat içinde videoyu like ya da dislike atarsanız veya sayfayı yenilerseniz kaybolması gerekir (umarız).",
|
||||||
},
|
},
|
||||||
donate: {
|
donate: {
|
||||||
name: 'Bağış Yap',
|
name: "Bağış Yap",
|
||||||
subtitle: 'İnterneti özgür bırakma çabamızda bize bağışınızla destek olabilirsiniz!',
|
subtitle:
|
||||||
|
"İnterneti özgür bırakma çabamızda bize bağışınızla destek olabilirsiniz!",
|
||||||
},
|
},
|
||||||
links: {
|
links: {
|
||||||
name: 'Bağlantılar',
|
name: "Bağlantılar",
|
||||||
title: 'Proje Bağlantıları',
|
title: "Proje Bağlantıları",
|
||||||
subtitle: 'Projeye ve geliştiricilerine bağlantılar',
|
subtitle: "Projeye ve geliştiricilerine bağlantılar",
|
||||||
contact: 'Bana Ulaşın',
|
contact: "Bana Ulaşın",
|
||||||
translators: 'Çevirmenler',
|
translators: "Çevirmenler",
|
||||||
coolProjects: 'Hoş Projeler',
|
coolProjects: "Hoş Projeler",
|
||||||
sponsorBlockDescription: 'Videolara gömülü reklamları pas geçer',
|
sponsorBlockDescription: "Videolara gömülü reklamları pas geçer",
|
||||||
filmotDescription: 'YouTube videolarını alt yazılara göre aramanızı sağlar'
|
filmotDescription: "YouTube videolarını alt yazılara göre aramanızı sağlar",
|
||||||
},
|
},
|
||||||
}
|
};
|
||||||
@@ -50,8 +50,7 @@ export default {
|
|||||||
// Vuetify module configuration: https://go.nuxtjs.dev/config-vuetify
|
// Vuetify module configuration: https://go.nuxtjs.dev/config-vuetify
|
||||||
vuetify: {
|
vuetify: {
|
||||||
lang: {
|
lang: {
|
||||||
|
locales: { en, es, tr, ru, cs, ja, fr /* de, ...*/ },
|
||||||
locales: { en, es, tr, ru, cs, ja, fr, /* de, ...*/ },
|
|
||||||
current: "en",
|
current: "en",
|
||||||
},
|
},
|
||||||
theme: {
|
theme: {
|
||||||
|
|||||||
+26
-14
@@ -54,10 +54,10 @@
|
|||||||
</v-btn>
|
</v-btn>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- <div class="mb-4" style="color: #999">-->
|
<!-- <div class="mb-4" style="color: #999">-->
|
||||||
<!-- Get dislikes manually: <input placeholder=" Video URL">-->
|
<!-- Get dislikes manually: <input placeholder=" Video URL">-->
|
||||||
<!-- <p id="output"></p>-->
|
<!-- <p id="output"></p>-->
|
||||||
<!-- </div>-->
|
<!-- </div>-->
|
||||||
|
|
||||||
<v-spacer />
|
<v-spacer />
|
||||||
<div id="support-ukraine" class="d-flex flex-column items-center py-2">
|
<div id="support-ukraine" class="d-flex flex-column items-center py-2">
|
||||||
@@ -77,7 +77,9 @@
|
|||||||
<v-row class="justify-center mx-auto">
|
<v-row class="justify-center mx-auto">
|
||||||
<p v-for="sponsor in sponsors" :key="sponsor.name" class="sponsor">
|
<p v-for="sponsor in sponsors" :key="sponsor.name" class="sponsor">
|
||||||
<a
|
<a
|
||||||
:style="sponsor.link ? { cursor: 'pointer' } : { cursor: 'default' }"
|
:style="
|
||||||
|
sponsor.link ? { cursor: 'pointer' } : { cursor: 'default' }
|
||||||
|
"
|
||||||
:href="sponsor.link"
|
:href="sponsor.link"
|
||||||
rel="sponsored"
|
rel="sponsored"
|
||||||
>
|
>
|
||||||
@@ -113,23 +115,33 @@ export default {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "PocketTube",
|
name: "PocketTube",
|
||||||
link: "https://yousub.info/?utm_source=returnyoutubedislike"
|
link: "https://yousub.info/?utm_source=returnyoutubedislike",
|
||||||
}, {
|
},
|
||||||
|
{
|
||||||
name: "Become our sponsor",
|
name: "Become our sponsor",
|
||||||
link: "https://www.patreon.com/join/returnyoutubedislike/checkout?rid=8008601"
|
link: "https://www.patreon.com/join/returnyoutubedislike/checkout?rid=8008601",
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
const YOUTUBE_REGEX = /(?:http:|https:)*?\/\/(?:www\.|)(?:youtube\.com|m\.youtube\.com|youtu\.|youtube-nocookie\.com).*(?:v=|v%3D|v\/|(?:a|p)\/(?:a|u)\/\d.*\/|watch\?|vi(?:=|\/)|\/embed\/|oembed\?|be\/|e\/)([^&?%#/\n]*)/;
|
const YOUTUBE_REGEX =
|
||||||
|
/(?:http:|https:)*?\/\/(?:www\.|)(?:youtube\.com|m\.youtube\.com|youtu\.|youtube-nocookie\.com).*(?:v=|v%3D|v\/|(?:a|p)\/(?:a|u)\/\d.*\/|watch\?|vi(?:=|\/)|\/embed\/|oembed\?|be\/|e\/)([^&?%#/\n]*)/;
|
||||||
let lastVideoId = "";
|
let lastVideoId = "";
|
||||||
window.oninput = (e) => {
|
window.oninput = (e) => {
|
||||||
const videoId = (e.target.value.match(YOUTUBE_REGEX) || {})[1] || e.target.value;
|
const videoId =
|
||||||
|
(e.target.value.match(YOUTUBE_REGEX) || {})[1] || e.target.value;
|
||||||
if (videoId !== lastVideoId && videoId.length === 11) {
|
if (videoId !== lastVideoId && videoId.length === 11) {
|
||||||
fetch("https://returnyoutubedislikeapi.com/votes?videoId=" + (lastVideoId = videoId))
|
fetch(
|
||||||
.then(resp => resp.json())
|
"https://returnyoutubedislikeapi.com/votes?videoId=" +
|
||||||
.then(data => document.getElementById("output").innerText = "Likes=" + data.likes + " Dislikes=" + data.dislikes);
|
(lastVideoId = videoId)
|
||||||
|
)
|
||||||
|
.then((resp) => resp.json())
|
||||||
|
.then(
|
||||||
|
(data) =>
|
||||||
|
(document.getElementById("output").innerText =
|
||||||
|
"Likes=" + data.likes + " Dislikes=" + data.dislikes)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|||||||
+13
-3
@@ -61,7 +61,9 @@
|
|||||||
:key="project.url"
|
:key="project.url"
|
||||||
class="d-flex justify-center"
|
class="d-flex justify-center"
|
||||||
>
|
>
|
||||||
<a class="attr-link" :href="project.url" target="_blank">{{ project.name }} - {{ $vuetify.lang.t(project.description) }} </a>
|
<a class="attr-link" :href="project.url" target="_blank"
|
||||||
|
>{{ project.name }} - {{ $vuetify.lang.t(project.description) }}
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -113,8 +115,16 @@ export default {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
coolProjects: [
|
coolProjects: [
|
||||||
{ name: "SponsorBlock", url: "https://sponsor.ajay.app/", description: "$vuetify.links.sponsorBlockDescription" },
|
{
|
||||||
{ name: "Filmot", url: "https://filmot.com/", description: "$vuetify.links.filmotDescription" }
|
name: "SponsorBlock",
|
||||||
|
url: "https://sponsor.ajay.app/",
|
||||||
|
description: "$vuetify.links.sponsorBlockDescription",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "Filmot",
|
||||||
|
url: "https://filmot.com/",
|
||||||
|
description: "$vuetify.links.filmotDescription",
|
||||||
|
},
|
||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
};
|
};
|
||||||
|
|||||||
+10
-7
@@ -2,18 +2,23 @@ const path = require("path");
|
|||||||
const CopyPlugin = require("copy-webpack-plugin");
|
const CopyPlugin = require("copy-webpack-plugin");
|
||||||
const FileManagerPlugin = require("filemanager-webpack-plugin");
|
const FileManagerPlugin = require("filemanager-webpack-plugin");
|
||||||
|
|
||||||
const entries = ['ryd.content-script', 'ryd.background', 'popup'];
|
const entries = ["ryd.content-script", "ryd.background", "popup"];
|
||||||
|
|
||||||
const ignorePatterns = [
|
const ignorePatterns = [
|
||||||
"**/manifest-**",
|
"**/manifest-**",
|
||||||
"**/dist/**",
|
"**/dist/**",
|
||||||
"**/src/**",
|
"**/src/**",
|
||||||
"**/readme.md",
|
"**/readme.md",
|
||||||
...entries.map(entry => `**/${entry}.js`)
|
...entries.map((entry) => `**/${entry}.js`),
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
entry: Object.fromEntries(entries.map(entry => [entry, path.join(__dirname, './Extensions/combined/', `${entry}.js`)])),
|
entry: Object.fromEntries(
|
||||||
|
entries.map((entry) => [
|
||||||
|
entry,
|
||||||
|
path.join(__dirname, "./Extensions/combined/", `${entry}.js`),
|
||||||
|
])
|
||||||
|
),
|
||||||
output: {
|
output: {
|
||||||
filename: "[name].js",
|
filename: "[name].js",
|
||||||
path: path.resolve(__dirname, "Extensions/combined/dist"),
|
path: path.resolve(__dirname, "Extensions/combined/dist"),
|
||||||
@@ -59,13 +64,11 @@ module.exports = {
|
|||||||
copy: [
|
copy: [
|
||||||
{
|
{
|
||||||
source: "./Extensions/combined/dist/**.js",
|
source: "./Extensions/combined/dist/**.js",
|
||||||
destination:
|
destination: "./Extensions/combined/dist/firefox/",
|
||||||
"./Extensions/combined/dist/firefox/",
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
source: "./Extensions/combined/dist/**.js",
|
source: "./Extensions/combined/dist/**.js",
|
||||||
destination:
|
destination: "./Extensions/combined/dist/chrome/",
|
||||||
"./Extensions/combined/dist/chrome/",
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user