Commit Graph

263 Commits

Author SHA1 Message Date
Can Arslan
70a055156e resetSpeed and fastSpeed conflict #221 (#222)
* resetSpeed and fastSpeed conflict #221
2018-04-01 20:51:24 -07:00
Can Arslan
b5426ef21b Fix for #296
new version of chrome gives error when 0.06 speed given.
0.0625.toFixed() gives 0.06 so we should give at least 0.07 to it.
2018-04-01 20:42:42 -07:00
Ilya Grigorik
7079bbf718 document upper & lowercase use of shortcuts 2018-04-01 13:36:36 -07:00
Adam Spiers
23f5c9735e document Shift+S workaround for Vimeo
Fixes #304.
2018-04-01 13:19:08 -07:00
Paul Irish
343a9573ff cache node.children[i] for 10% speedup. 2018-03-19 14:41:02 -07:00
Paul Irish
b31d53a4d0 enqueue the entire MuObs handler instead. 2018-03-19 14:41:02 -07:00
Paul Irish
8e199cd975 delay DOM node walking via requestIdleCallback 2018-03-19 14:41:02 -07:00
Ilya Grigorik
e85dad3280 update audio+video min/max references
Audio is no longer cutoff [1]. Video limits still in place.

[1] https://developers.google.com/web/updates/2017/12/chrome-63-64-media-updates#remove-muting-extreme-playbackrates

Closes #300.
2018-02-08 13:35:26 +00:00
Ilya Grigorik
e50c29c5dd verify doctype is present, pass in window's document
Fixes #309
2018-02-08 13:16:27 +00:00
Ilya Grigorik
7606224ec9 initialize on HTML docs
Closes #269.
2017-12-27 13:10:38 -05:00
Ilya Grigorik
73fb1d34d0 bump to 0.5.0 2017-12-27 13:08:14 -05:00
Roly Fentanes
371168636f better way of following mouse on controller drag 2017-12-10 11:49:56 -08:00
Fabio Espinosa
949b9157e4 Add info about remembering current playback speed 2017-12-10 11:47:12 -08:00
codebicycle
ae778d2901 Replace chrome.extension with chrome.runtime
The messaging APIs in `extension` module are deprecated in favor of
the equivalent APIs in the `runtime` module.

Sources:
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/extension
https://developer.chrome.com/extensions/extension#methods
2017-10-03 13:47:43 -07:00
Roly Fentanes
194fcc1076 Also remove className regardless of ctrl 2017-10-01 12:39:37 -07:00
Roly Fentanes
1004348a47 Remove vscid even if ctrl is not found 2017-10-01 12:39:37 -07:00
mariusi7
60599996ee Update inject.js
Some regional HBO GO sites don't use www anymore, so issue 199 reappeared.
2017-09-25 08:08:27 -07:00
zenwarr
2fe5547c64 fix wrong label in settings 2017-09-22 05:14:12 +09:00
Ilya Grigorik
d75552b280 bump to 0.4.9 2017-08-27 14:20:34 -07:00
Ilya Grigorik
66ffd62b76 update disable flash instructions
Closes #249
2017-08-27 11:37:47 -07:00
Ilya Grigorik
32a3c5392f Unify controller close (x) with display shortcut
Clicking (x) in controller is equivalent to hiding it via shortcut (v).

Closes #232
2017-08-27 11:31:43 -07:00
Ilya Grigorik
daec249e3f revert z-index override for facebook.com
Current logic conflicts with imgaus extension - see #241.

Also, looks like FB may have changed their stacking? Can't reproduce old
problem (#210), testing:

- https://www.facebook.com/facebook/videos/10106941168235097/
- https://www.facebook.com/pg/facebook/videos/
- Videos in newsfeed

Closes #241
2017-08-27 11:14:55 -07:00
Ilya Grigorik
d30fc88f32 update Google Photos fullscreen selector
Previous configuration was misfiring on YouTube and shifting controller
down.
2017-08-27 10:56:20 -07:00
Johannes Pfrang
58e032b14a Use event-driven or direct script initialization
Chrome may inject the script immediately after the readystatechange/load events fired, so we need to explicitly check the readyState after script injection.
Also unconditionally listen to the window.onload event for further cross-browser robustness (we have init-once logic either way).
2017-08-27 10:21:24 -07:00
mariusi7
2818103c7d Update inject.js (#252)
* Special case hbogo.* inject (same as Amazon)

Closes: https://github.com/igrigorik/videospeed/issues/199
2017-08-08 08:07:25 -07:00
Vova Yatsyuk
8e2cf853a5 Fixed error when using Chrome Autofill. Closes #250 2017-08-07 07:30:21 -07:00
Ilya Grigorik
bbb8a7354b Ignore ratechange events on unitialized videos
Closes #233.
2017-07-25 07:47:31 -07:00
Ilya Grigorik
5472786b19 add logic and check for init-once
closes #230, kudos to @xftroxgpx for the detective work and patch.
2017-07-04 23:41:10 +02:00
Ilya Grigorik
18455d521f move controller check into initialization 2017-07-04 23:41:10 +02:00
Ilya Grigorik
212616da72 refine/scope down Google Photos CSS selector
Current iteration also matched YouTube. Closes #234.
2017-07-03 09:26:00 +02:00
Ilya Grigorik
2b06fa7982 bump to 0.4.8 2017-07-02 11:01:51 +02:00
Ilya Grigorik
7ea778d3ec special-case inject prototype for FB and amazon
Some sites inject overlays over their videos to intercept clicks and
provide own on-screen controls, etc. Unfortunately this makes the VC
controls inaccessible and without any generic workaround... well, short
of relying on keyboard shortcuts.

This is an experiment for special-casing FB and Amazon
- FB we modify stacking context of the parent
- Amazon we inject the controller one level higher, above the overlay

The gotcha here is that this type of behavior is not uncommon, and
special-casing each and every origin like this is not long-term
sustainable. If this sticks.. we'll have to be very selective
about which sites we enable this for.

Closes #210
Closes #134
2017-06-26 18:37:48 +02:00
Ilya Grigorik
07f43acf2e exclude new meet.google.com
I wish we could speed up real-time.. alas, perhaps as part of HTML6.
2017-06-25 13:36:39 -07:00
Ilya Grigorik
7a790d449e custom rules to offset controller on Google Photos
Closes #215.
2017-06-25 13:09:10 -07:00
Can Arslan
704b3b42c5 Not updating speed correctly #214 (#220)
I tested for several times with/without throttling in different videos and nothing effected/no console error and fixed issue.
2017-06-25 12:15:51 -07:00
Sergey Orlov
65ca4e7bcb Fix link to media.mit.edu article (#224) 2017-06-02 07:36:42 -07:00
Ilya Grigorik
f060863459 remove outdated content 2017-05-29 18:25:19 -07:00
Ilya Grigorik
c157f0e8a5 fix escaping in readme 2017-05-29 18:22:38 -07:00
Ilya Grigorik
0f5f6c3aab refactor "reset speed" functionality 2017-05-25 20:48:00 -04:00
canarslan12
735785fd06 #217 - Reverting Preferred Speed 2017-05-25 20:48:00 -04:00
Ilya Grigorik
d6f4c3415a bump to 0.4.7 2017-05-25 20:48:00 -04:00
canarslan12
427a19fb74 suggestion #216 - Reset use fastSpeed initially (#218) 2017-05-24 08:56:08 -07:00
Ilya Grigorik
27b6898be6 Revert "use mouse wheel scroll to increase/decrease speed" (#211) 2017-05-04 22:29:59 -07:00
J. B. Rainsberger
b3db296c0a Playback at "fast" speed (#203)
Added new custom key ("G") to jump to a favorite "fast speed", which is also configurable.
2017-04-17 22:03:29 -07:00
Ilya Grigorik
7437c3a2c9 Merge pull request #188 from metaist/master
use mouse wheel scroll to increase/decrease speed
2017-04-16 17:09:32 -07:00
Ilya Grigorik
d72ae44d26 Merge pull request #204 from jbrains/use-idea
Allow IntelliJ IDEA for development
2017-04-16 16:57:05 -07:00
J. B. Rainsberger
2ff37416c5 We can now use IDEA for development. 2017-04-16 19:18:38 -03:00
Ilya Grigorik
bfac777c5a Merge pull request #200 from xftroxgpx/fix198_2
speed inc. from 0.06 to 0.10 not to 0.16, fixes #198
2017-04-11 08:12:16 -07:00
xftroxgpx
d36a82eea5 speed inc. from 0.06 to 0.10 not 0.16, fixes #198 2017-04-11 12:54:38 +02:00
Ilya Grigorik
f9d4e556df remove lynda.com from blacklist
Closes #180.
2017-03-19 10:50:10 -07:00