Граф коммитов

36 Коммитов

Автор SHA1 Сообщение Дата
Jan Henning 234b1bf3eb v1.7.0 2023-05-01 13:50:56 +02:00
Jan Henning 50f203aaf0 Add Romanian localisation 2021-04-23 00:01:19 +02:00
Kryštof Černý f77422cd98 Add Czech translation 2023-04-30 22:19:42 +02:00
Jan Henning d0a5498f67 v1.6.0 2021-04-22 22:23:54 +02:00
Jan Henning d1642dc8df Improve domain detection regex 2021-03-17 18:36:57 +01:00
Jan Henning 29fa03b9d6 Try different method of preventing the inactivity warning from triggering 2021-03-17 16:05:56 +01:00
Jan Henning 0e71ee5320 v1.5.1
Version bump for addons.mozilla.org.
2020-08-22 22:44:24 +02:00
Jan Henning 7d54cf6fa6 v1.5 2019-07-10 20:32:42 +02:00
Jan Henning 3771a04fdc v1.5b1 2019-05-23 22:32:02 +02:00
Jan Henning 086be4ac68 Issue #13 - Try disabling Page Visibility API override on desktop Youtube in desktop browsers
Apparently this causes some weird issues regarding (mix) playlists. Pending some
further investigation into the true cause, the easiest solution seems to be to
disable this bit of code, seeing as it's currently not required for desktop
anyway.

We can't just detect m.youtube.com, though, because
a) embedded videos are always served from the main domain, and
b) mobile browsers visiting the desktop page (even in desktop mode) still
   use the mobile video player with the background pausing behaviour (unless
   they are completely spoofing their user agent).
so we need a slightly more complex solution.

For detecting whether we're running on Android or not we simply check the user
agent, as
1.) the Webextension API is async and therefore a pain to use here, and
2.) given point b) above, this neatly matches how Youtube presumably decides
    whether to send users the desktop or mobile video player, so with any luck
    we'd also correctly handle spoofed user agents, too.
2019-05-23 22:31:50 +02:00
Jan Henning 3a65dd0df2 Improve domain detection code
The previous version could be fooled by random domains that happen to end in
youtube.com and suchlike.
2019-05-23 22:20:00 +02:00
Mozilla-GitHub-Standards 9b3476df0e Add Mozilla Code of Conduct file
Fixes #14.

_(Message COC002)_
2019-04-01 22:24:44 +02:00
Jan Henning 32ed93e1a5 v1.4.3
Bungled the add-on upload, so new version number required.
2019-01-14 21:41:48 +01:00
Jan Henning a900da4981 v1.4.1 2019-01-14 21:25:58 +01:00
Jan Henning da7a022ffd Include logo in readme 2019-01-14 21:25:29 +01:00
Jan Henning 0710658f10 Clean up user activity refreshing code 2018-12-26 17:40:15 +01:00
Jan Henning b85653d0e3 Update readme 2018-12-25 17:52:13 +01:00
Jan Henning be8e8b3b75 v1.4 2018-12-25 17:04:52 +01:00
Jan Henning 731b15c4af Add icon 2018-12-25 17:01:40 +01:00
Jan Henning df6dab45e0 Update add-on description, make strings localisable, add German localisation 2018-12-25 16:14:25 +01:00
Jan Henning 99c089cee1 Prettify makefile file listing (a little) 2018-12-25 15:38:06 +01:00
Jan Henning b8f9eda118 Bump time of last user activity where required 2018-12-25 15:16:05 +01:00
Jan Henning d43633bbde Define constants for site-specific features 2018-12-25 13:01:08 +01:00
Jan Henning b84067c6ef v1.3 2018-12-24 22:17:56 +01:00
Jonathan García 43bfd9d1ef Update manifest.json
Adding this can reproduce youtube videos in others sites like duckduckgo
2018-12-24 21:33:47 +01:00
Jan Henning 0b3197b841 Fix Fullscreen API override.
For simple background playback, neither Youtube nor Vimeo require it at the
moment.

Vimeo also generally seems to stop playback on mobile when you exit fullscreen,
but to avoid this, it is enough to simply block the corresponding event. The
Fullscreen API properties themselves need to be left alone so that the
fullscreen button in the UI still works correctly.
2018-12-24 21:09:59 +01:00
Timothy Guan-tin Chien 3dee891f82 v1.2.1 2017-07-30 17:34:38 +08:00
Timothy Guan-tin Chien e73428a3b7 Merge pull request #1 from aroskuski/master
Add all_frames flag so that embedded videos are fixed, too
2017-07-30 17:31:34 +08:00
Andrew Roskuski 6450a81e2f Add all_frames flag so that embedded videos are fixed, too 2017-06-02 23:32:01 -04:00
Timothy Guan-tin Chien b77f0a9d3d Add LICENSE and mention API blocked, and mention technical detail 2017-05-14 10:49:44 +08:00
Timothy Guan-tin Chien 0dc31ea863 v1.2 2017-05-14 10:49:44 +08:00
Timothy Guan-tin Chien 6477ecd015 Make sure events are stopped at the capturing phase, instead of the target phase. 2017-05-14 10:49:33 +08:00
Timothy Guan-tin Chien 5c02cf103f v1.1 2017-05-05 17:01:42 +08:00
Timothy Guan-tin Chien 7412889ab6 Also work with fullscreen API 2017-05-05 17:00:42 +08:00
Timothy Guan-tin Chien e2d48e2c49 zip -> xpi 2017-05-05 17:00:35 +08:00
Timothy Guan-tin Chien b33b62f6fb Initial version that works with YouTube 2017-05-05 11:49:55 +08:00