Commit Graph

168 Commits

Author SHA1 Message Date
Josh Patra
893c811802 CPU usage fix since nudging didn't stop properly 2025-07-22 12:17:54 -04:00
Josh Patra
3fed3b425e add feature in popup to force search for videos, on websites that it doesn't show up on 2025-07-18 18:00:06 -04:00
Josh Patra
d89853b4d2 Better speed controlling logic, more selective speed reapplication 2025-07-06 22:56:48 -04:00
Josh Patra
d94ab958d5 failing to appear, making it more consistent 2025-07-06 19:40:25 -04:00
Josh Patra
247a46d430 I'm stupid, the problem was resuming, not pausing 2025-07-03 15:14:19 -04:00
Josh Patra
3dfee251ec fix pause reset 2025-07-03 14:42:25 -04:00
Josh Patra
8e0183d8af general fixes, mistake versioning 2025-07-03 13:49:56 -04:00
Josh Patra
b07e7cb394 youtube embeds fixed and shortcuts 2025-07-02 14:36:39 -04:00
Josh Patra
3fee61d2b6 fixed the reset to 1.0 on pause 2025-05-22 16:22:15 -04:00
Josh Patra
43dc8b773b fix appear after hiding 2025-05-19 13:15:20 -04:00
Josh Patra
2d8a4fc25f add nudge to settings 2025-05-19 12:54:35 -04:00
Josh Patra
278baa1a05 youtube subtitle fix 2025-05-17 02:16:11 -04:00
BreezeZin
d652e4ec18 Fixed controls not showing on youtube videos.
Only add the nosource class if the video has no
src or currentSrc.
2021-03-25 10:41:20 +10:00
codebicycle
f06bc38253 Revert to rounded-square buttons 2021-02-07 21:17:02 +02:00
codebicycle
b1b3b2b36a Revert to fix positioning issue 2021-02-06 21:50:47 +02:00
codebicycle
86545a6a34 Merge upstream 0.6.3 2021-02-06 10:01:27 +02:00
Aristotelis Dossas
732e07e30d Replace onLoad with addEventListener
Addresses #16
2020-04-22 17:32:31 +03:00
codebicycle
3a289e30aa Remove getShadow() 2020-04-09 22:50:32 +03:00
cristiancundari
44fda63a53 Fixing #609 2020-03-28 16:46:57 +01: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
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
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
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
Timothy Lim
23591c6077 Check for both .src and .currentSrc in mutation (#567) 2019-12-26 11:32:49 -05: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
jacobcolbert
17bff8affb Check target of keyEvent instead of activeElement for text editability 2019-11-19 01:58:01 -05: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
jacobcolbert
ec9f3f6d20 Merge pull request #533 from thewheat/show-hide-controller-disable-website-keybinds
Add ability to disable website keybindings for show/hide controller (Fixes: #526)
2019-10-20 15:38:26 -04:00
Timothy Lim
c3f44db1bf Add ability to enable/disable from toolbar (#528)
* Add ability to enable/disable from toolbar
2019-10-18 21:28:52 +02:00
Timothy Lim
29788ba82a Make shortcuts consistent 2019-10-18 20:05:58 +08:00
Timothy Lim
823a24475c Add ability to disable website keybindings for show/hide controller 2019-10-11 17:29:55 +08:00
Timothy Lim
49e9f4b78d Use .currentSrc instead of .src to correctly identify video (#529) 2019-10-05 16:54:11 -07:00
Joe Lencioni
5641369385 Add teams.microsoft.com to default blacklist (#495)
Microsoft Teams is used for video conferencing, and this extension
causes all of the videos to be half cut off. I think it would be a good
idea to add it to the default blacklist.
2019-08-03 11:09:23 -07:00
Gabriel Mawhinney
e84878d215 Add feature to change controller opacity (#478)
* Add option for changing controller opacity
2019-05-21 21:23:22 -07:00
jacobcolbert
568282a106 Use built in pause() and play() (#475)
Fix #474 and #428
2019-05-18 07:56:39 -07:00
jacobcolbert
d8965f644c Add feature to jump to marker (#471)
* Add options for setting marker and jumping to marker
* Correct "mute" to "muted"
2019-05-05 21:41:16 -07:00
jacobcolbert
e91b4c9cdb Fix whitespace issue in blacklist (#472)
* Change regex to no longer merge on blank lines
2019-05-05 21:38:12 -07:00
jacobcolbert
e6835f39ff Hide controller for videos with no source (#467)
* Check for source upon initialization
* Hide controllers for videos with no source.
  - Create a MutationObserver for each video to watch for source changes.
2019-05-04 09:26:43 -07:00
jacobcolbert
04eaa51cda Fully remove videoController on video removal (#469)
* Check if video is part of DOM before removing
* Fully remove controller when video is removed
 - Remove eventListeners registered by controller when deleted. 
 - Store reference to functions to allow this
* Give each videoController object a reference to the visible controller div
2019-05-01 23:06:06 -07:00
Ilya Grigorik
2310423c94 cleanup formatting + comments 2019-04-26 21:38:18 -07:00
jacobcolbert
3c133810b9 Let each controller can track its own speed (#463)
Prevent source changes from changing speed in same video container.
2019-04-26 21:32:18 -07:00
jacobcolbert
4b112362f4 Check that controller still exists before showing (#452)
* Check that controller still exists before showing
2019-04-26 21:30:53 -07:00