Commit Graph
520 Commits
Author SHA1 Message Date
bbf29fb2c2 Add Hungarian localization (#692)
* Translate readme to Hungarian

* Translate extension description to Hungarian

* Add Hungarian localization for website

* Add Hungarian locale to the extension

* Fixes after merge conflicts

---------

Co-authored-by: Gergely Pap <pgege42@gmail.com>
Co-authored-by: Anarios <selivano.d@gmail.com>
2024-06-16 20:20:40 +02:00
Leon BubovaandDmitrii Selivanov d62130b898 Feature/add unit testing framework and start writing unit tests (acceptance tests) (#708)
* add jest and rewire for testing

* wrap loose code for initMutationObserver() in function and call it instead of just executing it

Otherwise this code is executed everytime state.js is imported somewhere in a file.
This leads to not being able to test properly, since state.js is imported in a lot
of the src files and fails when running the tests since we are missing global environment
settings such as document, window etc in the jest environment.

* export roundDown and getNumberformatter to make them testable as well

* add basic acceptance tests for utils.js, create snapshots and add jest config

* add failing test for buggy behaviour in a separate test case and skip it until fixed

* Fixes after merge conflicts

---------

Co-authored-by: Dmitrii Selivanov <selivano.d@gmail.com>
2024-06-16 19:52:58 +02:00
Divyansh Agrawal fbf00e474d Added Option to Disable Logging By Default (#474)
* Added Option to Disable Logging By Default

* Added Userscript Support to Disable Logging

* Formatting and Fixed Compiling

* Updated Description of Setting Option

* Whitespace 😅

* Dot in Description of Setting option

* Typo in JAVASCRIPT
2024-06-16 18:52:41 +02:00
Kenny 3d788b3d31 Update Popup UI to Material 3 (#986)
* basic retheme on homepage

* basic material 3 theme

* fix slider head
2024-06-16 18:39:08 +02:00
dmantioneandDmitrii Selivanov 1339af1378 Improve translation and fix spelling errors (#1021)
Co-authored-by: Dmitrii Selivanov <selivano.d@gmail.com>
2024-06-16 18:27:19 +02:00
ThomasTech bf98563c17 fix: getVideoId() with clip (#1055) 2024-06-16 14:24:21 +02:00
Anarios f1a2cd54c2 Userscript version bump 2024-04-18 13:14:21 +02:00
Enguerran P 1ed03f7cc9 Extension - New (spring 2024) UI support (#1045)
* Extension - new (spring 2024) UI support

Add new player selector for isVideoLoaded() (fixes #1043)

* Githook tasks for fd45f86f (in a separate commit for readability)
2024-04-18 13:06:57 +02:00
Enguerran P 63a8b2868b Userscript - New (spring 2024) UI support (#1046)
* Userscript - new (spring 2024) UI support

Add new player selector for isVideoLoaded() (fixes #1043)

* Githook tasks for 17f5bdf0 (in a separate commit for readability)
2024-04-18 09:12:44 +02:00
Carlos LuizandDmitrii Selivanov 27d97a8b5a Update to Brazillian portuguese (#1028)
* Updato Brazillian portuguese

* 000000000

---------

Co-authored-by: Dmitrii Selivanov <selivano.d@gmail.com>
2024-02-25 17:29:12 +01:00
Artis 6e15426637 Add 100% german translation (#1034)
* Add german FAQ translation

* Add german Security-FAQ translation

* Add missing german messages translation

* Add german Contributing translation

* Fix german README translation

* Add german extension description translation

* Add german README translation

* Add german README store translation

* Add german as language
2024-02-25 17:16:47 +01:00
Moondarker 7da80768dd Implemented centralized versioning (#1016) 2024-01-15 09:10:35 +01:00
Anarios b133adeecb Prettier applied to whole project, prettier added to pre-commit hook 2024-01-15 01:39:46 +01:00
Anarios 47517ce0bd Testing prettier commit hooks 2024-01-14 21:41:37 +01:00
Anarios fbf80ab174 3.0.0.14 release - YouTube UI fixes 2023-12-12 23:25:17 +01:00
Moondarker 6791543617 Extension fix - disappearing dislike counter (#999)
* Fix rate bar jumping around in width

* Fix disappearing dislike counter

* Fix disappearing dislike count on button focus/unfocus by @kokonguyen191

* Fix event listeners being thrown away by YouTube in some cases

* Extension fix for disappearing dislikes while smartimations play

* Check if smartimationContainer exists
2023-12-12 19:33:37 +01:00
MoondarkerandFelix Nguyen 2f2153ed37 Userscript fix - disappearing dislike counter (#1000)
* Fix disappearing dislike counter - userscript

* Fix rate bar in userscript, disable it by default (it has been broken for ages)

* Fix event listeners being thrown away by YouTube in some cases

* Fix disappearing dislike count on button focus/unfocus

* Remove repetitive code from the userscript

* Userscript fix for disappearing dislikes while smartimations play

* Check if smartimationContainer exists

* Properly handle non-existing dislike button

In some cases, dislike button doesn't exist when we're trying to
interact with it. For end users, it manifested as dislike counter
appearing on both dislike button and share button (because
getDislikeButton was falling back to the second child of getButtons()).
I don't see an elegant way of fixing this without creating a fake button
in DOM specifically for this case or rewriting the whole userscript.
Ignoring this would result in errors appearing in console.

---------

Co-authored-by: Felix Nguyen <kokonguyen191@gmail.com>
2023-12-12 19:30:17 +01:00
Anarios b6367ae334 3.0.0.13 release - dynamic selectors config loading from server added. 2023-12-04 11:04:14 +01:00
Dmitrii Selivanov 0105c6c141 Update manifest-chrome.json 2023-12-01 13:21:39 +01:00
Dmitrii Selivanov fc76589e77 Update manifest-firefox.json 2023-12-01 13:21:25 +01:00
Moondarker 1e2935b2fa Extension fix for the latest YouTube update (#991)
* Extension fix for the latest YouTube update

* Bump version to reflect real state of things
2023-12-01 10:51:15 +01:00
Moondarker c4961aeb4b Userscript fix for the latest YouTube update (#992) 2023-12-01 10:49:55 +01:00
a6289794d2 Add Polish translation (#884)
* initial polish translation

* add polish translation files

* add missing space

* improved pl extension translations

* improved translations

* website translation

* fixed typos

* add link to polish on READMEgr

* don't litteraly translate endpoints

---------

Co-authored-by: itsbudyn <kuba@m3.perkele.int>
Co-authored-by: Dmitrii Selivanov <selivano.d@gmail.com>
2023-11-05 18:52:13 +01:00
Anarios 6239453b9d Big ternary replaced with if-else 2023-11-05 18:30:57 +01:00
Marcel Guzik adbd0fd947 don't show dislike count on share button - fixes #948 (#978) 2023-11-05 18:29:24 +01:00
Anarios 2c7dd8d8ca New YouTube UI fix - 3.0.0.12 2023-10-18 11:46:37 +02:00
Anarios fdf3c7fc11 New YouTube UI fix 2023-10-12 22:12:51 +02:00
Anarios ccbc9a71b4 New YouTube UI fix 2023-10-12 22:05:55 +02:00
Anarios 8f879dbd25 New YouTube UI fix 2023-08-02 14:01:30 +02:00
Anarios 889089ad1d New YouTube UI fix 2023-08-02 14:00:40 +02:00
Anarios 5c73825aad New YouTube UI fix for userscript and extension 2023-05-10 10:47:27 +02:00
Theofanis Sarmidis 2cb137ddf6 Updated locale for Greek language to correct 'el'. Create READMEgr.md file (#894)
* Create READMEgr.md

* Create CONTRIBUTINGgr.md

* Create extension-description-store-greek.txt

* Rename Extensions/combined/_locales/gr/messages.json to Extensions/combined/_locales/el/messages.json

* Update messages.json

correct locale for the GREEK language is 'el'

* Update READMEgr.md

* Update READMEgr.md

* Update READMEgr.md

* Update README.md

* Update READMEde.md

* Update READMEes.md

* Update READMEfr.md

* Update READMEja.md

* Update READMEnl.md

* Update READMEru.md

* Update READMEtr.md

* Update READMEuk.md

* Update extension-description-store-greek.txt

* Update extension-description-store-greek.txt

* Delete CONTRIBUTINGgr.md
2023-04-02 14:32:13 +02:00
Suhail Khan f680bf6d81 Add Safari extension build target (#896) 2023-04-02 14:17:18 +02:00
Anarios 0c39488852 Styling, version bump, options popup 2023-03-11 21:56:07 +01:00
Roman Ushakov a6c945a4eb fix get count dislikes on mobile version of youtube (#888)
* fix (ryd.content.script.js, events.js) fix get count likes on mobile version of yt (tested on android device)

* fix fallback solution for get dislikes
2023-03-10 19:40:57 +01:00
sy-b 9a44acf89d Show dislikes again on new YT UI (01) (2) (#886)
Signed-off-by: sy-b <94835959+sy-b@users.noreply.github.com>
2023-03-10 19:38:11 +01:00
Anarios 931006a00b Revert "added margin for the dislike text (#808)"
This reverts commit 8802b9c76f.
2023-02-18 18:49:20 +01:00
Baraa HalabiandDmitrii Selivanov 8802b9c76f added margin for the dislike text (#808)
Co-authored-by: Dmitrii Selivanov <selivano.d@gmail.com>
2023-02-18 18:45:38 +01:00
JxxITandDmitrii Selivanov a2490de5fe Add Dutch translation. (#768)
* Add Dutch translation.

* Fixed the typos. Thanks to @YassineGherbi

---------

Co-authored-by: Dmitrii Selivanov <selivano.d@gmail.com>
2023-02-18 18:43:42 +01:00
Moondarker cf10eeaad3 Create dislike text container based on existing style classes (#793) 2023-02-18 17:40:54 +01:00
Mohit Arora 6d441a2932 Dislike text disabled on click fix. (#828)
The dislike number text got disabled whenever we clicked on the dislike button, it was because the addEventListener wasn't being attached to the correct like and dislike buttons (new).

Tested in chrome windows 11, version: 107.0.5304.107
2023-02-18 17:38:01 +01:00
Oleksandr 0f5cab74b0 Fixed few typos in Ukrainian (#877)
* Fixed typos

* Fixed typos

* Fixed typos
2023-02-18 17:36:20 +01:00
1nterp 75a4fd51d6 Increase text left margin (#827) 2023-02-18 14:09:07 +01:00
Liberal dev 7d6e3a14c8 Add Korean translation (#865)
* Fix "ReferenceError: uk is not defined"

* Add Korean language support to website

* Korean translation of the webpage completed.

* Added Korean translation for the extension.
2023-02-18 14:06:10 +01:00
Dmitrii Selivanov 45734421df Merge pull request #836 from ErykDarnowski/bug/790/fix-color-themes-have-double-quotes
Fix color themes have double quotes
2023-02-18 11:55:46 +01:00
Dmitrii Selivanov 3276eb7474 Update popup.html
fixed tabulation
2023-02-18 11:55:20 +01:00
Dmitrii Selivanov a4c763d586 Revert "Show dislikes again on new YT UI (01) & fix workflow faliure" 2023-02-18 11:14:58 +01:00
Dmitrii Selivanov 4a7615cb20 Merge pull request #829 from hyperstown/fix_disappearing_rate_bar
Fix disappearing rate bar
2023-02-18 11:08:10 +01:00
Dmitrii Selivanov bcf8288584 Merge pull request #858 from prestancedesign/patch-1
Fix translate typo
2023-02-18 11:00:21 +01:00
sy-b 44d1ea390f Show dislikes again on new YT UI (01)
Signed-off-by: sy-b <94835959+sy-b@users.noreply.github.com>
2023-02-16 17:54:12 +05:30