Commit Graph
391 Commits
Author SHA1 Message Date
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
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
Dmitrii Selivanov 4340de8cd6 Merge pull request #282 from leonbubova/feature/split-main-script-into-helper-files
Split chrome script into several helper files
2021-12-18 21:14:25 +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 f1daa81686 Merge pull request #333 from leonbubova/main
Update  build scripts, .gitignore and docs
2021-12-17 12:54:12 +03:00
Leon Bubova 4e2773f7b9 update docs with new scripts 2021-12-17 01:16:41 +01:00
Leon Bubova c46065fdc0 rename bundle script to start with file watcher, create build script without watcher 2021-12-17 01:06:23 +01:00
Leon Bubova f3fad5cce1 remove watch from webpack options 2021-12-17 01:04:20 +01:00
Leon Bubova 84e1852f28 add build file to gitignore 2021-12-17 01:03:25 +01: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
Dmitrii Selivanov e159eb32e1 Merge pull request #323 from himanshudabas/cleanup
remove unused functions from extension code
2021-12-16 02:02:53 +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
Dmitrii Selivanov e39b52e8e7 Merge pull request #312 from tech234a/patch-1
Remove unused function from userscript
2021-12-15 11:08:27 +03:00
Dmitrii Selivanov 2a075eaf4c Merge pull request #317 from PickleNik/main
moving action .yml to its folder
2021-12-15 10:44:26 +03:00
Nikita Krupin ed5222db50 workflow whoopsie 2021-12-15 02:27:22 -05:00
Dmitrii Selivanov d0881b7cba Merge pull request #280 from PickleNik/ESLint-Integration
ESLint Integration
2021-12-15 10:16:07 +03:00
Nikita Krupin 78c2292ce3 Merge branch 'Anarios-main' into ESLint-Integration 2021-12-15 02:12:49 -05:00
Nikita Krupin 9437770785 resolved my own conflict, files relinted 2021-12-15 02:12:16 -05:00
Dmitrii Selivanov 77e769c65d Merge pull request #316 from PickleNik/main
Website sponsors section prettified
2021-12-15 10:05:54 +03:00
Nikita Krupin eeafd0c19a Website sponsors section prettified 2021-12-15 02:04:11 -05:00
Nikita Krupin a795899736 renamed lint to weblint 2021-12-15 01:34:38 -05:00
Nikita Krupin 202b8c94c6 autolint action for the website 2021-12-15 01:29:48 -05:00
tech234a 08640d2bb8 Remove unused function 2021-12-14 22:16:28 -05:00
Nikita Krupin 177b620f77 files relinted 2021-12-14 21:06:09 -05:00
Nikita Krupin efd9f9029a Merge branch 'Anarios-main' into ESLint-Integration 2021-12-14 20:54:46 -05:00
Nikita Krupin dca6f0eb0c conflict resolved x2 2021-12-14 20:54:19 -05:00
Dmitrii Selivanov edb19da747 chrome v 2.0.0.0.2 released 2021-12-15 03:26:07 +03:00
Dmitrii Selivanov d785a387da Merge branch 'main' of https://github.com/Anarios/return-youtube-dislike 2021-12-15 03:11:58 +03:00