551 Commits

Author SHA1 Message Date
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
Leon Bubova 0d73da29ca refactor function checkForUserAvatarButton() 2021-12-12 20:15:31 +01:00
Nikita Krupin a22de0a28b Merge pull request #252 from Nightcaat/main
Replace old logo
2021-12-12 01:09:14 -05:00
Glen Lalo 9c23666d41 fixes signed-in status check 2021-12-11 16:31:37 +01:00
Dmitrii Selivanov ab99ce7046 Merge pull request #253 from KalinkaGit/main
Variable declaration and useless file
2021-12-11 18:13:32 +03:00
DARKDRAGON532 f3159a4113 Merge pull request #267 from mphelp/fix-clips
Fix Issue 180: clips not working
2021-12-11 20:24:27 +05:30
mphelp a303356d8c WormChickenWizard found typo: clip not clips for video id retrieval 2021-12-11 08:52:13 -06:00
DARKDRAGON532 7cd8f68c98 resolve #262 2021-12-10 23:17:27 +05:30
Kalinka 72a43af882 Fixed redeclaration error
Redeclaration error for theses variables: 'LIKED_STATE', 'DISLIKED_STATE', 'NEUTRAL_STATE' and 'storedData'
2021-12-10 18:23:14 +01:00
Kalinka d917142772 Fixed global declaration error
Variable 'jsInitChecktimer' wasn't declared globally, so it was causing a problem with the new declaration 'let' (instead of 'var' for a better compliance with ES2015 standards).
2021-12-10 17:22:13 +01:00
Kalinka 2e7958ee76 Commented Advanced Toggle line (Firefox)
Advanced Toggled isn't implemented in HTML yet, so it causes an error in the console.
2021-12-10 17:18:31 +01:00
Kalinka 2a8be195db Commented Advanced Toggle line
Advanced Toggled isn't implemented in HTML yet, so it causes an error in the console.
2021-12-10 16:42:02 +01:00
Kalinka 65aeb28922 Useless line
Import an empty file that has been deleted
2021-12-09 19:46:57 +01:00