Commit graph

222 commits

Author SHA1 Message Date
Ajay Ramachandran
ca8404147d Made clicking upload hide the clear button 2019-08-01 15:19:58 -04:00
Ajay Ramachandran
b0929e2431 Remade the popup menu to support Firefox and not use IFrames. 2019-07-30 13:27:20 -04:00
Ajay Ramachandran
e205447968 Added ability to hide info and delete button. 2019-07-29 21:40:13 -04:00
Ajay Ramachandran
d93d475c1f Added error messages to video player submission. 2019-07-29 21:09:10 -04:00
Ajay Ramachandran
0d0b919106 Added better error messages to voting. 2019-07-29 21:06:15 -04:00
Ajay Ramachandran
1119adffb7 Added clear button. 2019-07-29 20:54:10 -04:00
Ajay Ramachandran
e0d2436372 Added support for old youtube theme 2019-07-29 16:35:30 -04:00
Ajay Ramachandran
e4c94aa5c5 Added more info the confirmation button. 2019-07-29 16:29:20 -04:00
Ajay Ramachandran
6b6e74b5a0 Added popup as an info menu that is opened on the side. 2019-07-29 15:42:14 -04:00
Ajay Ramachandran
6275c2d62c Added info about popup. 2019-07-29 11:41:43 -04:00
Ajay Ramachandran
feea7aa51d Added what the sponsor times being submitted are to the confirmation message. 2019-07-29 11:36:57 -04:00
Ajay Ramachandran
7a9af6cbcf Alt-text now updates with state on player button 2019-07-28 18:51:46 -04:00
Ajay Ramachandran
51a389284d Made video player controls state properly update when the video changes. 2019-07-28 18:48:28 -04:00
Ajay Ramachandran
aefc880486 Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into experimental
# Conflicts:
#	content.js
#	firefox_manifest.json
#	manifest.json
2019-07-28 17:24:25 -04:00
Ajay Ramachandran
a2312a10be Fixed an issue on Firefox where the old video's sponsors would sometimes play on the next video. 2019-07-28 17:22:05 -04:00
Official Noob
7100831956
getYouTubeVideoID Video ID Parser 2019-07-27 22:18:43 +01:00
Ajay Ramachandran
84b8e59b39
Merge branch 'master' into patch-1 2019-07-27 11:12:27 -04:00
Ajay Ramachandran
600365d998 Made it not possible to submit from the hotkey when not ready. 2019-07-27 11:08:29 -04:00
Official Noob
08cb324125
Added confirm for submitSponsorTimes 2019-07-27 12:57:44 +01:00
Ajay Ramachandran
45f0d65f69 Fixed old unsponsored times sometimes being used. 2019-07-26 20:19:51 -04:00
Ajay Ramachandran
33fe63084b Added support for hotkeys to submit data. 2019-07-26 16:20:07 -04:00
Ajay Ramachandran
30f2f638fe Added support for sponsors at the zero second mark.
Also fixed some issues on the old YouTube theme.
2019-07-25 20:00:07 -04:00
Ajay Ramachandran
725ab783e3 Made it work when multiple tabs are opened in the background.
Now uses the focused tab instead of last tab updated.
2019-07-25 18:25:50 -04:00
Ajay Ramachandran
0f561d4a5a Added option to disable the view count tracking. 2019-07-23 21:06:36 -04:00
Ajay Ramachandran
b7764fc634 Added feature to prevent tons of sponsors reported next to each other from annoying the user. 2019-07-23 19:37:33 -04:00
Ajay Ramachandran
9913e99a6a Fixed curly bracket that for some reason was in the wrong place. 2019-07-23 19:33:12 -04:00
Ajay Ramachandran
c91c08a17f Made it send a request to the server to sponsor skip views. 2019-07-23 18:42:44 -04:00
Ajay Ramachandran
21220bf2d3 Added support for Firefox. 2019-07-22 21:11:37 -04:00
Ajay Ramachandran
b7a35f0823 Fixed clear times button having incorrect behavior. 2019-07-22 16:46:50 -04:00
Ajay Ramachandran
baefc59954 Switched it from using local storage to synced storage. 2019-07-22 16:42:57 -04:00
Ajay Ramachandran
14121af900 Made it finish the current animation on the submit button before hiding it. 2019-07-22 15:59:21 -04:00
Ajay Ramachandran
52ec50a132 Made it keep checking for submitted sponsor times every 10 seconds on recent videos. 2019-07-21 21:08:23 -04:00
Ajay Ramachandran
2d00cfffdf Added submit button on the video player. 2019-07-21 18:19:56 -04:00
Ajay Ramachandran
91f0b65d06 Switched all xmlhttp requests to use new dedicated function. 2019-07-20 15:33:52 -04:00
Ajay Ramachandran
4cc44258e8 Added a loading indicator when voting. 2019-07-20 13:41:13 -04:00
Ajay Ramachandran
4bb6cd0dcf Add message when connection failed when trying to vote. 2019-07-20 13:26:55 -04:00
Ajay Ramachandran
b319729da8 Added error message for a duplicate vote. 2019-07-19 22:24:59 -04:00
Ajay Ramachandran
888a03a708 Added button to popup to allow you to vote from the popup. 2019-07-17 22:53:42 -04:00
Ajay Ramachandran
01b61f6192 Made it possible for multiple notices to appear, added an animation for it. 2019-07-17 19:42:13 -04:00
Ajay Ramachandran
255f049c96 Made upvote button close menu and downvote show message 2019-07-15 20:38:26 -04:00
Ajay Ramachandran
987b7b036c Made upvote system submit data to the server. 2019-07-15 19:13:09 -04:00
Ajay Ramachandran
6cd01108f4 Save UUIDs of the sponsors times along with sponsor times. 2019-07-15 18:56:16 -04:00
Ajay Ramachandran
f3cc497bd6 Added thumbs up and down buttons. 2019-07-15 16:28:41 -04:00
Ajay Ramachandran
762039e2f6 Fixed sponsor getting added each time a video was loaded even though it's already in the player. 2019-07-14 13:10:53 -04:00
Ajay Ramachandran
a1d51656c5 Updated background.js to use config server as well 2019-07-13 19:15:47 -04:00
Ajay Ramachandran
6af1f11a6f Added option to hide the video player controls button in the popup. 2019-07-12 19:04:24 -04:00
Ajay Ramachandran
baa85cc7d3 Made the onvideo control start with the stop icon if needed. 2019-07-12 18:28:41 -04:00
Ajay Ramachandran
8e783e8466 Made clear times button toggle the video controls if necessary. 2019-07-12 17:45:20 -04:00
Ajay Ramachandran
ac2864a3ef Made popup toggle image of player control as well. 2019-07-12 16:50:26 -04:00
Ajay Ramachandran
f265ad9173 Made the player controls change icon when needed 2019-07-12 16:48:07 -04:00
Ajay Ramachandran
932b8cf4bb Made player controls work 2019-07-12 16:44:50 -04:00
Ajay Ramachandran
c6cd092c87 Added button on YouTube player and new icons to support that 2019-07-12 10:42:39 -04:00
Ajay Ramachandran
7ea2c2b974 Added border to notice and increased timeout more, also added a notice about the timeout. 2019-07-11 18:47:03 -04:00
Ajay Ramachandran
9abec6bcba Increased margin on logo and increased length of time of notice. 2019-07-11 18:31:53 -04:00
Ajay Ramachandran
370a1d1fb2 Added logo and changed up colours to support logo.
Logo by @munadikieh
2019-07-11 16:15:47 -04:00
Ajay Ramachandran
efd9b925dc Made it generate and submit a userID defining this user. 2019-07-10 19:25:29 -04:00
Ajay Ramachandran
42f1d05fe8 Added background color to notice and font.
Also improved the notice's buttons a little.
2019-07-10 15:11:55 -04:00
Ajay Ramachandran
cfcd94d177 Made the button's nice on the notice. 2019-07-10 14:43:14 -04:00
Ajay Ramachandran
872ea9fcef Changed the server URL to use new content-config.js file. 2019-07-09 22:52:59 -04:00
Ajay Ramachandran
8d7b66d7d4 Moved don't show again button to a better spot 2019-07-09 22:12:47 -04:00
Ajay Ramachandran
257c045f7b Added "don't show this again" button to the notics 2019-07-09 22:10:25 -04:00
Ajay Ramachandran
ca9aa130f8 Added hide button to notice 2019-07-09 21:46:11 -04:00
Ajay Ramachandran
4edab5f9a9 Added go back button 2019-07-09 21:44:41 -04:00
Ajay Ramachandran
4d4103f053 Made the popup appear when you skip a sponsor and made it disappear after 2.5 seconds 2019-07-09 21:31:21 -04:00
Ajay Ramachandran
8710fdab22 Added popup window that will be able to show when a sponsor has been skipped. 2019-07-09 21:15:43 -04:00
Ajay Ramachandran
a1f645ea0e Added warning if you leave a page before submitting your sponsor times. 2019-07-09 18:59:27 -04:00
Ajay Ramachandran
63ecc88392 Made it display the downloaded sponsor times in the popup as well. 2019-07-09 18:03:56 -04:00
Ajay Ramachandran
9b370af340 Fixed sponsor data found check 2019-07-09 17:03:44 -04:00
Ajay Ramachandran
7baff32b55 Made everything now use the proper per video local storage 2019-07-09 16:36:06 -04:00
Ajay Ramachandran
3869049088 Added basic time submission code 2019-07-09 15:55:33 -04:00
Ajay Ramachandran
b9f321f3f7 Updates sponsor skipping to support decimal place times 2019-07-09 15:05:16 -04:00
Ajay Ramachandran
4221d341dd Updated it to use my database 2019-07-09 14:50:19 -04:00
Renamed from ContentScript.js (Browse further)