Commit Graph
59 Commits
Author SHA1 Message Date
Dmitrii Selivanov f4e5591f66 Merge pull request #594 from cyrildtm/fixLikeUpdated
Fix like numbers re-format
2022-07-20 00:06:45 +02:00
Dmitrii Selivanov fe64c63f91 Merge pull request #593 from cyrildtm/fixUserLocalesUndefined
Restructure userLocales logic
2022-07-20 00:04:45 +02:00
Dmitrii Selivanov cb5f9474a2 Merge pull request #560 from ErykDarnowski/main
Implemented option to show like/dislike percentage instead of full like/dislike count
2022-07-20 00:01:10 +02:00
sy-b 228b8b9187 Decrease rate bar size
Signed-off-by: sy-b <94835959+sy-b@users.noreply.github.com>
2022-06-29 08:03:15 +05:30
sy-b bb3fdc62c2 import starRating in state.js
Signed-off-by: sy-b <94835959+sy-b@users.noreply.github.com>
2022-06-29 07:48:32 +05:30
sy-b 3fd5dd58b6 js to add 5 star rating 2022-06-29 07:47:39 +05:30
Aneimytis 1d3f71170b do not get Shorts like number
It does not work.
Also, in js zero is not false.
2022-05-08 05:53:07 -05:00
Aneimytis 41dd4e656e don't use storedData.likes
Since official like count is still available, avoid using API server response.
2022-05-08 05:50:54 -05:00
Aneimytis 260798d1a8 Update like number when like/dislike button is clicked
When like button is clicked, YT will update like count. This conflicts with user option "re-format like numbers". Force update like number.

attn #561 #584
2022-05-08 05:41:30 -05:00
Aneimytis df742d0566 Get the like number from proper place
When like button is clicked, only one of the two aria-label attributes gets updated. Use the correct one to reflect latest like count. Affects user option "re-format like numbers"

Attn #561
2022-05-08 05:40:20 -05:00
Aneimytis 2cd383dd12 restructure userLocales logic
re-structure number formatter functions.
Use userLocales more properly, so it's never undefined.
2022-05-08 05:00:24 -05:00
Eryk Darnowski 94cc5734cb Merge branch 'Anarios:main' into main 2022-05-03 14:08:15 +02:00
ErykDarnowski fee5ed916c Bug fix (insertAdjacentHTML err when viewing shorts) 2022-05-03 13:30:47 +02:00
Dmitrii Selivanov 0df5bb75e7 3.0.0.1 2022-04-27 00:56:05 +02:00
Dmitrii Selivanov a4806c1f47 sendVideoIds removed, sponsor links updated 2022-04-26 23:07:05 +02:00
Eryk Darnowski f34ee8eda3 Merge branch 'main' into main 2022-04-26 19:57:20 +02:00
Dmitrii Selivanov 43380c83c3 Merge branch 'main' into extOptionFormatLikes 2022-04-26 19:00:09 +02:00
Dmitrii Selivanov ce751af4db Merge branch 'main' into shortButtonColorFix 2022-04-26 18:55:03 +02:00
Eryk Darnowski ddcca0017e Merge branch 'main' into main 2022-04-26 18:52:33 +02:00
Aneimytis f752d02e51 (extension) fix shorts thumb colors
fix #565
2022-04-24 15:57:19 -05:00
ErykDarnowski 7ce1b68a64 Feat #211 replace percentage display mode dict with switch 2022-04-23 17:36:09 +02:00
ErykDarnowski 50466e2a2b Implement feature #211 2022-04-21 18:45:42 +02:00
ErykDarnowski 0db29c557f Feature #211 dirty implementation 2022-04-21 17:25:29 +02:00
Yvon Cui 09b29d7cab Add user option to re-format likes
fixes #543
This feature does not force-display likes when uploader has disabled like number display. Consult with other issues.
2022-04-19 00:57:28 -05:00
CreaZyp154 43a7167e2b Closes #472 2022-04-12 13:43:50 +02:00
Cyril Strahm 1d2f89a38c Display 'temporarily unavailable' when the API can't be reached 2022-04-06 21:50:39 +02:00
Tobias Speicher 73448d2bd1 Replace deprecated String.prototype.substr()
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated

Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-03-25 15:41:48 +01:00
Dmitrii Selivanov f5650fcc4e Bugfixes, author name changed 2022-03-21 01:26:42 +03:00
Dmitrii Selivanov 00f03095c6 Some more merge issues fixed, fixed webpack watch 2022-03-21 00:00:50 +03:00
Dmitrii Selivanov b7029ce426 Merge issues fixed, core reformatted with prettier 2022-03-20 23:40:46 +03:00
Dmitrii Selivanov f218443b4c Merge branch 'main' into ColorizedButtonsAndBar-New 2022-03-20 23:24:08 +03:00
Dmitrii Selivanov e97b4a75af Merge branch 'main' into CustomNumberFormat 2022-03-20 20:32:21 +03:00
RyanBurgert219 73e58beac4 Mobile Extensions: Supports YouTube Shorts 2022-03-20 07:31:41 -04:00
RyanBurgert219 1cc579d00d Extensions: Supports YouTube Shorts 2022-03-20 05:54:20 -04:00
sy-b 9d7f29eff7 Update bar.js 2022-02-22 23:52:23 +05:30
sy-b af17d258c3 Removed rate bar from mobile
https://github.com/Anarios/return-youtube-dislike/issues/477
2022-02-20 09:46:54 +05:30
sy-b 62501e0207 Fixed a small typo
replaced "diabled" with "disabled"
2022-02-11 23:58:00 +05:30
Yvon Cui b4bf27bbde bug fix: colors were swapped for certain videos
Rewind 2018 has "if (!rateBar)" to be false in createRateBar()
2022-01-19 00:58:54 -05:00
Yvon Cui 54e9267655 finish implementation 2022-01-19 00:40:06 -05:00
Yvon Cui b476c60fe0 cherry pick from previously broken and abandoned branch
colorize buttons and ratio bar

Resolves #218
Using user options (#387)

edit color schemes

logistics for the added options

handles storage, change, initialize
2022-01-18 09:54:17 -05:00
Yvon Cui a2bc4ca92e Add custom number formats
Fix Issues #201 #364 #407
Using plugin options (Issue #387)
2022-01-18 09:43:46 -05:00
Dmitrii Selivanov cebe938ce0 2.1.0 release 2022-01-08 23:22:29 +03:00
Dmitrii Selivanov 08d11decf7 Merge pull request #395 from thesusian/issue-389
Fixed issue #389
2022-01-08 18:46:42 +03:00
thesusian 6db73d26ba Reformated code in src 2022-01-08 18:36:54 +03:00
DARKDRAGON532 2e9d64584b added likes 2022-01-02 03:33:43 +05:30
DARKDRAGON532 f1bd608395 Update events.js 2022-01-02 02:01:32 +05:30
thesusian 51ff16fa34 fixed bar still showing on like-disabled videos 2022-01-01 10:47:57 +03:00
thesusian 9ac8d312f9 Fixed issue #389
Fixed issue #389 with dislikes count showing up as 0 on videos that have the like and dislike count hidden by the creator
2022-01-01 08:37:16 +03:00
himanshudabas 819c59c5b7 add option to disable vote submission
also change the icon of the extension when voting is disabled
popup.js, content-script, bg-script listenes to storage change event
so that they can all stay in sync without passing messages
icon_hold is addded
advanced setting is enabled in popup.html

add fallback for changing extension icon

refactor stateData
2021-12-19 05:05:00 +05:30
Leon Bubova 4342f7e36f move setInitialState to events.js 2021-12-18 01:28:43 +01:00