Commit Graph

401 Commits

Author SHA1 Message Date
Ilya Grigorik
884be009a4 update chrome action 2020-03-25 22:12:36 -07:00
Chad Bailey
b1cc599812 Merge pull request #604 from ChadBailey/bugfix/584-twitch-not-working
Added ratechange cooldown to fix #72 #521 and #584
2020-03-22 12:08:26 -05:00
Chad Bailey
b4f6bcc292 Removed redundant rateChanged() function 2020-03-08 19:19:56 -05:00
Chad Bailey
c32eec1bb2 Moved ratechange listener into its own function
Placed call for adding listener after call to document ready/disabled check
Placed setupListener within try/catch block
2020-03-07 18:23:55 -06:00
Chad Bailey
ff3ea3113b Added logging function and logging entries
Moved all on ratechange logic to document level listener
Removed dead .getSpeed method
Fixed bug causing controller to sometimes initialize with NaN
2020-03-06 22:44:01 -06:00
Chad Bailey
73d5673031 Fixed issue preventing last speed from being properly stored 2020-03-06 19:59:04 -06:00
Chad Bailey
588a04fe58 Added node_modules to .gitignore
- We may or may not use later, but no harm in adding
2020-03-06 18:26:04 -06:00
Chad Bailey
00781ceaa3 Moved logic in rate change event listener into its own function to be triggered by setSpeed() 2020-03-05 19:08:30 -06:00
Chad Bailey
dde52368a2 Far better fix now utilizes a short cooldown window after issuing a speed change command 2020-03-03 22:58:13 -06:00
Chad Bailey
9b8f9dfbae Added ratechange blocklist to fix #72 #521 and #584 2020-03-01 22:11:55 -06:00
Chad Bailey
5a53f81cba Merge pull request #601 from jedawson/apple-tv-plus
fixes #595
2020-02-28 20:38:14 -06:00
Jonathan Dawson
72c4e49fbc bump to 0.6.0 in order to run the github action to upload to the store. 2020-02-28 12:48:14 -06:00
Jonathan Dawson
b5c48abfce check if aria-hidden exists before seeing if its value is false. 2020-02-28 12:37:35 -06:00
Jonathan Dawson
9920b80801 big performance gains by deleting .concat and adding in .push and .flat! 2020-02-28 12:30:02 -06:00
Jonathan Dawson
201d99c990 Merge branch 'master' of into apple-tv-plus 2020-02-28 12:15:17 -06:00
Chad Bailey
eaf5ac47f3 A few small fixes #586 (#591)
* Trimmed trailing whitespace
* Fixed erroneous newline at beginning of blacklist
* Fixed erroneous instructions for adding remote in contribution guide (Fixes #586)
2020-02-15 14:11:57 -08:00
Chad Bailey
55500fc010 Feature/578 prettier.io formatting (#585)
* Reformatted codebase using prettier.io (should not change functional behavior)
* Formatted README.md, added CONTRIBUTING.md, .prettierrc configuration file, and installed pre-commit hook
2020-02-08 23:26:10 +01:00
jedawson
4ac2e458f5 Apple tv plus (#541)
* add support for traversing shadowRoot's; enables apple tv support.
2020-02-06 14:07:33 -08:00
Ilya Grigorik
0389c61db7 bump to 0.5.9 2020-01-13 21:45:05 -08:00
Jonathan Dawson
4871ded5b5 remove apple-tv tag, but add in a check for video tag. 2020-01-03 15:34:04 -06:00
Jonathan Dawson
aa055a5e8f refactor code. create getController 2020-01-03 12:33:04 -06:00
Timothy Lim
23591c6077 Check for both .src and .currentSrc in mutation (#567) 2019-12-26 11:32:49 -05:00
deef
9b48bfa7c0 Update chrome-store-upload.yaml to use proper name (#563)
Also add exclude to exclude .git files.
2019-12-24 10:36:57 -05:00
Ilya Grigorik
98d938741d fix zip params, again! 2019-12-23 15:03:50 -05:00
Ilya Grigorik
fc4d713be8 add include param on zip 2019-12-23 15:00:14 -05:00
Ilya Grigorik
9f23270bf2 bump to v0.5.8 2019-12-23 14:53:47 -05:00
deef
eb4d2b9968 Create Github Action to upload to chrome web store on version tagging (#555)
* Create Github Action to upload to chrome web store on version tagging
2019-12-23 13:06:41 -05:00
Aaron Evan-Browning
c7f72f5d5b Add width styling to .customForce class. (#561)
Width of customForce class is too narrow to display the full text
of the experimental options ("Do not disable website keybindings.",
"Disables websites keybindings").  250px might be too wide still
but it seems like a good start.
2019-12-21 20:17:31 -08:00
Jonathan Dawson
2c3cd57dc5 Merge branch 'master' of github.com:igrigorik/videospeed into apple-tv-plus 2019-12-02 15:21:42 -06:00
Chad Bailey
ac7471edfc Allow regex in blacklist fixes #167 #542 (#546)
* Allow regex in blacklist fixes #167 #542
* Added protection against invalid regex causing failed initialization
* Added regex input validation
2019-11-25 13:43:05 -08:00
Jonathan Dawson
58e0912712 place controller inside scrim div & better filter to find old controller 2019-11-22 16:07:50 -06:00
Jonathan Dawson
d08563305a get rid of errant newline 2019-11-21 17:54:58 -06:00
Jonathan Dawson
50eaa92bdd remove errant console.log 2019-11-21 17:41:50 -06:00
Jonathan Dawson
196e6ba7b2 remove old controller when changing to a new video 2019-11-21 17:40:23 -06:00
Jonathan Dawson
91cf313f52 change from tabs to spaces 2019-11-21 17:03:40 -06:00
Jonathan Dawson
20a15f8da5 change recursive function and change variables that use querySelector. 2019-11-21 16:54:09 -06:00
Jonathan Dawson
ad86b01cc6 add comment explaining insertion location. 2019-11-20 18:39:38 -06:00
Jonathan Dawson
5c1f4b8f6d Merge branch 'master' of github.com:igrigorik/videospeed into apple-tv-plus 2019-11-20 17:57:52 -06:00
Jonathan Dawson
30d9d40ecb put div wrapper in the video's parent node light dom for correct context 2019-11-19 19:08:14 -06:00
jacobcolbert
c4a26e3da2 Merge pull request #544 from jacobcolbert/fix-543
Prevent disabling default keybindings from disabling text input.
2019-11-19 19:28:14 -05:00
jacobcolbert
17bff8affb Check target of keyEvent instead of activeElement for text editability 2019-11-19 01:58:01 -05:00
Jonathan Dawson
d38daa5ffa only look for aria-hidden attributes rather than all attribute changes. 2019-11-15 13:11:44 -06:00
Jonathan Dawson
4de8ae4a0b refactor apple tv specific mutationObserver into second mutationObserver 2019-11-14 18:05:56 -06:00
Jonathan Dawson
48eca5b060 Merge branch 'master' of github.com:igrigorik/videospeed into apple-tv-plus
merge with master
2019-11-14 16:04:07 -06:00
Yang
ac53d3ea2b Adding feature - Show the controller briefly when adjusting speed and the controller is set to hidden. (#538)
Adding new feature: when the controller is hidden and the user changes rate, show the controller briefly. A new action called `blink` is added, and is called when the rate changes. Then if the controller is hidden, remove `vsc-hidden` and add it back after `value` millisecends.
2019-11-13 22:55:25 -08:00
Jonathan Dawson
123f37e516 extra whitespace deletion 2019-11-12 13:26:16 -06:00
Jonathan Dawson
1bd0635325 ignore keydown event when there is no video on apple tv 2019-11-12 12:57:22 -06:00
Jonathan Dawson
4b42da106a revert the second mutation observer back to the one in the master 2019-11-12 12:53:24 -06:00
Jonathan Dawson
ee3b0ae19e use treewalker to find shadow videos 2019-11-12 12:47:57 -06:00
Jonathan Dawson
764ecca262 completely change the logic. keydown events and controls don't work 2019-11-10 13:07:42 -06:00