Commit Graph
11 Commits
Author SHA1 Message Date
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
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 d20483737a move states to state.js and import them in origin 2021-12-17 23:37:30 +01:00