Commit Graph
213 Commits
Author SHA1 Message Date
Dmitrii Selivanov 2475a701a4 Merge pull request #366 from oSumAtrIX/format-dislikes
Format numbers the same way as the extension for the UserScript
2021-12-27 13:30:45 +03:00
Dmitrii Selivanov 2339b46101 Merge pull request #351 from UnderscoreX5/patch-1
Add version number to extension's menu
2021-12-27 11:04:00 +03:00
oSumAtrIX a4916110a0 Format numbers the same way as the extension for the UserScript 2021-12-23 20:28:12 +01:00
AndrewUnderscore 559a2e8305 taking the chrome manifest's version
It seems to work on firefox 95 but stable compatibility is not yet confirmed. Furthermore FF is not the only browser to use the 'browser' namespace, there's also safari. A cross-compatible version is to be preferred.
2021-12-20 13:35:01 +01:00
AndrewUnderscore 10c2f10e5c adding popup.js 2021-12-20 13:30:51 +01:00
AndrewUnderscore 69d207b113 Update popup.js 2021-12-20 13:29:02 +01:00
AndrewUnderscore 722ed0e8b7 working on implementation of non-hardcoded version 2021-12-20 13:25:08 +01:00
Dmitrii Selivanov 7fd4904c39 Merge branch 'main' of https://github.com/Anarios/return-youtube-dislike 2021-12-20 13:57:55 +03:00
Dmitrii Selivanov a211bec12f Removed eslint rules, because site build was failing. Added sponsor to links 2021-12-20 13:56:43 +03:00
AndrewUnderscore 748073cc90 add faq button 2021-12-19 16:15:29 +01:00
AndrewUnderscore b901a76e22 Add button for faq 2021-12-19 16:14:40 +01:00
AndrewUnderscore f95ada4908 Add version number to extension's menu
I added the version number I found in the manifest. Currently testing different text sizes and placements but I think this placement can work.
2021-12-19 16:08:44 +01:00
Dmitrii Selivanov 90f5526853 Merge pull request #326 from himanshudabas/feature-292
Feature 292 - add option to disable vote submission
2021-12-19 03:21:28 +03:00
Dmitrii Selivanov d13aa3f051 Webpack fixes, build now builds both FF and chrome versions 2021-12-19 03:12:11 +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
Dmitrii Selivanov 96f063838d Merge branch 'main' of https://github.com/Anarios/return-youtube-dislike 2021-12-19 01:42:49 +03:00
Leon Bubova 4342f7e36f move setInitialState to events.js 2021-12-18 01:28:43 +01:00
Leon Bubova ed9a950d12 move sendVote, sendVideoIds, likeClicked, dislikeClicked to events.js 2021-12-18 01:19:00 +01:00
Leon Bubova e6a1716e7e move isVideoLoaded to utils.js 2021-12-18 00:48:44 +01:00
Leon Bubova 689b0b7f8c add setState, processResponse to state.js, getVideoId to utils.js 2021-12-18 00:41:12 +01:00
Leon Bubova d51a5a58b0 move createRateBar to bar.js 2021-12-18 00:24:22 +01:00
Leon Bubova 81dbd52e21 move cLog to utils.js 2021-12-18 00:10:50 +01:00
Leon Bubova 954967e701 move getBrowser to utils.js 2021-12-18 00:07:15 +01:00
Leon Bubova 4d9f706904 create state.js, button.js and move functions into their own files, import at origin 2021-12-17 23:50:25 +01:00
Leon Bubova 3bc47f9e56 move roundDown and numberFormat utils.js and import at origin 2021-12-17 23:48:29 +01:00
Leon Bubova 782cd1eab1 fix format 2021-12-17 23:42:06 +01:00
Leon Bubova b599f889cd replace leftover RYDTools call with function call 2021-12-17 23:41:30 +01:00
Leon Bubova d20483737a move states to state.js and import them in origin 2021-12-17 23:37:30 +01:00
Leon Bubova f1e15b076c remove confusing RYD class structure and make everything function 2021-12-17 23:32:33 +01:00
Dmitrii Selivanov 1d33b7c5a2 Removed old files, temporary disabled webpack because it was not working 2021-12-17 19:57:47 +03:00
Dmitrii Selivanov c745a3566d Merge pull request #311 from leonbubova/feature/implement-webpack
Implement webpack to use ES6 modules
2021-12-16 02:05:31 +03:00
himanshudabas 7d3ab78ef1 remove unused functions from extension 2021-12-15 19:41:37 +05:30
Leon Bubova 64fb3595d2 add doc to Get Started on how to create bundled source files 2021-12-15 10:14:19 +01:00
Leon Bubova 7b9c1781b4 implement webpack and create scripts to bundle source 2021-12-15 10:14:17 +01:00
tech234a 08640d2bb8 Remove unused function 2021-12-14 22:16:28 -05:00
Dmitrii Selivanov edb19da747 chrome v 2.0.0.0.2 released 2021-12-15 03:26:07 +03:00
Dmitrii Selivanov 3cb09e6fd2 Old extensions removed, sponsors added to website 2021-12-15 03:10:33 +03:00
Dmitrii Selivanov 2b7ef364ff Removed calls to youtube from userscript 2021-12-15 02:18:37 +03:00
Dmitrii Selivanov 78c7563410 Merge pull request #281 from evanreichard/patch-2
[fix] YouTube Mobile Locale URL Doesn't Exist
2021-12-15 01:23:13 +03:00
evanreichard 15215558ae Update Return Youtube Dislike.user.js 2021-12-14 07:56:18 -05:00
Nightcat b844b5f004 Replace old logo in combined extension folder 2021-12-13 23:42:43 -05:00
Dmitrii Selivanov 483060b38b Merge pull request #289 from glenlalo/fix/negative-zero-likes
#288 fix negative zero dislikes
2021-12-14 02:03:09 +03:00
Dmitrii Selivanov d8ae9129dc Bugfixes, 2.0.0.1 2021-12-14 01:50:35 +03:00
evanreichard 01df1d741b Update Return Youtube Dislike.user.js 2021-12-13 13:03:26 -05:00
Glen Lalo 2779497a69 fix negative zero dislikes 2021-12-13 13:00:13 +01:00
Dmitrii Selivanov c36a0ab58d FF and chrome are now combined, version 2.0 - votes counting, proof of work 2021-12-13 04:55:36 +03:00
evanreichard a7c8731564 [fix] YouTube Mobile Locale URL Doesn't Exist
On m.youtube.com, the locale URL doesn't exist. This will throw an invalid URL (passes undefined to the URL constructor).

On quick glance it doesn't appear that there's a good alternative on mobile, so I just fallback to 'en'.
2021-12-12 17:57:44 -05:00
DARKDRAGON532 a1ca95231d Merge pull request #277 from leonbubova/feature/refactor-check-for-user-avatar-button
refactor function checkForUserAvatarButton()
2021-12-13 02:22:52 +05:30
Leon Bubova a9658654ef use double bang operator for refactored method 2021-12-12 21:49:39 +01:00
DARKDRAGON532 868355b0d0 Fixed using assignment operator instead of equal operator 2021-12-13 01:30:10 +05:30