Commit Graph

193 Commits

Author SHA1 Message Date
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
Ilya Grigorik
ccdc4a9523 bump to 0.4.6 2017-03-19 10:47:42 -07:00
Ilya Grigorik
20c8952c1a Merge pull request #189 from sainaen/patch-1
Fix browser_action.default_icon paths in manifest.json
2017-03-19 10:45:36 -07:00
Ilya Grigorik
59b2118716 Merge pull request #190 from sainaen/patch-3
Update screenshot in readme
2017-03-19 10:44:17 -07:00
Ivan Vyshnevskyi
ed6850b1ba Update screenshot in readme 2017-03-19 01:15:33 +02:00
Ivan Vyshnevskyi
8e7963d02d Fix browser_action.default_icon paths in manifest.json 2017-03-18 21:53:48 +02:00
The Metaist
02b2da0f97 use mouse wheel scroll to increase/decrease speed 2017-03-16 10:19:14 -04:00
Ilya Grigorik
37bd015112 add offset rule for Netflix
Closes #178.
2017-02-25 21:50:38 -08:00
Ilya Grigorik
684a516bad update controller position selector for YT embeds
New player, new styles.. Closes #178.
2017-02-25 21:50:37 -08:00
Ilya Grigorik
686d2a1944 bump to 0.4.5 2017-02-25 21:50:37 -08:00
Ilya Grigorik
d4a466b2d1 Merge pull request #173 from siadat/remember-toggle-speed
save and restore toggleSpeed using chrome storage
2017-02-05 10:48:28 -08:00
Sina Siadat
472d84471e save and restore resetSpeed using chrome storage
Fixes #169, again.
2017-02-01 13:30:53 +03:30
Ilya Grigorik
78ec8eeaf4 Merge pull request #170 from siadat/make-reset-key-toggle-speed
Make reset key toggle between 1x and last speed
2017-01-28 16:05:29 -08:00
Sina Siadat
9f00b5bec1 make reset key toggle between 1x and last speed
Fixes #169
2017-01-29 03:03:08 +03:30
Ilya Grigorik
d94f3cc58a set minimum speed to 0.0625
Values below this threshold break some players - closes https://github.com/igrigorik/videospeed/issues/166.
2017-01-22 13:22:37 -08:00
Ilya Grigorik
70147ea97a force controller visibility on mouse input
Closes https://github.com/igrigorik/videospeed/issues/160.
2017-01-02 22:28:49 -08:00
Ilya Grigorik
4a3d170f84 new option to hide controller by default
When enabled controller visibility in 'manual' mode: to hide/unhide the
user needs to use the configured shortcut keys.

Closes https://github.com/igrigorik/videospeed/issues/156.
2016-12-22 17:13:48 -08:00
Ilya Grigorik
8300c3a8e9 bump to 0.4.4 2016-12-07 14:25:18 -08:00
Ilya Grigorik
05790085ff clear dataset ID when removing controller
closes #155.
2016-12-06 19:30:09 -08:00
Ilya Grigorik
976210a2eb bump to 0.4.3 2016-12-04 12:06:02 -08:00
Ilya Grigorik
ea7b013534 move the WebGL controller further down on YT
https://github.com/igrigorik/videospeed/issues/134
2016-12-04 12:02:35 -08:00