Commit Graph

231 Commits

Author SHA1 Message Date
3d7a47662e minor fix for autoar 2020-01-04 02:04:32 +01:00
73b1a57749 Added extra stretch/squish options, hopefully fixed disney+, fixed bug that prevented removal of actions added by user 2019-12-06 00:17:09 +01:00
289baf73e5 Force player re-detection when setting aspect ratio 2019-11-29 01:33:58 +01:00
0eadb1aac6 Don't set aspect ratio pointlessly 2019-11-04 23:53:28 +01:00
5fc867b4a3 Fix for vk 2019-11-04 23:53:08 +01:00
414bf7b36f Update logger output 2019-11-04 23:52:37 +01:00
4fc68db7f8 Disable logging 2019-11-04 23:50:54 +01:00
08460a923d Fix logger 2019-11-04 22:14:41 +01:00
b2f6a1fddd Auto-collect extension/browser info in mailto/reddit compose links (and hopefully fix them) 2019-11-02 21:58:55 +01:00
970b9b6b1d Reset panning on aspect ratio change. 2019-11-02 02:45:24 +01:00
83a4dd08ac remove console litter 2019-11-02 02:21:21 +01:00
f806d154ee Fix panning 2019-11-02 02:20:09 +01:00
dbc35ccbd1 Patching for v4.4.0 2019-11-02 01:05:36 +01:00
04c33956a1 changelog update 2019-10-30 17:47:15 +01:00
42d85f75f7 Logging, prepare code for when browsers finally implement ArrayBuffer.transfer() 2019-10-29 18:15:46 +01:00
18f0c7540b Fix incorrect crop resets 2019-10-29 18:15:10 +01:00
ab42557283 Fixes for crop mode persistence on the popup side of things 2019-10-28 22:10:15 +01:00
5e20925ec5 Fix fit to width / fit to height for portrait monitors 2019-10-28 20:33:40 +01:00
9b8e500927 Prevent action on contentEditable divs. 2019-10-27 23:37:13 +01:00
83d84e5a93 Fix popup not displaying 2019-10-27 23:20:45 +01:00
470a7e8883 Fix video fit on portrait orientations 2019-10-27 22:11:07 +01:00
2422cec1e9 update formatting 2019-10-27 22:08:48 +01:00
bde7eb6327 Fix autodetecting not starting 2019-10-27 16:51:47 +01:00
6af771e1ff Restrict which kind of mutation events are allowed to trigger player refresh 2019-10-27 16:51:31 +01:00
828ded6b29 Fix overly aggressive forced player refreshes 2019-10-27 16:48:05 +01:00
f05a0813d2 Fix minor issues 2019-10-27 00:10:49 +02:00
854bc05d14 Pass set-ar-persistence between CommsClient and pageInfo 2019-10-26 02:38:47 +02:00
cda5d87735 Display new options in popup, update ExecAction 2019-10-25 00:59:02 +02:00
d0058cedb9 Changes to how crop mode persistence works, extra persistence options 2019-10-24 23:27:43 +02:00
d5a6e8d707 change reload prevention to something a bit less contrived 2019-10-24 21:13:45 +02:00
8fde5bb3d6 Implement crop persistence in content script 2019-10-24 00:45:11 +02:00
ab06f0bd41 Add saveWithoutReload() to settings.js 2019-10-24 00:44:27 +02:00
261f9a6b8d Use event.code instead of event.keyCode. Add key codes to default settings 2019-10-23 19:34:58 +02:00
3768575bad Allow default keyboard shortcuts to work on non-ASCII layouts 2019-10-22 01:33:56 +02:00
fdc4fc8dc9 fix the fix 2019-10-20 21:11:17 +02:00
85fa314bb4 change some variable names for readability 2019-10-20 21:11:09 +02:00
7a9c341bf8 Version update stuff 2019-10-20 14:13:58 +02:00
cec427d9ab fix for twitch 2019-10-20 14:09:19 +02:00
Tamius Han
20161207b9 just making presence check more in line with my style, otherwise this is fine 2019-09-25 09:34:14 +02:00
EzzAK
282f8350dd Fix error for new users. 2019-09-24 22:10:36 -07:00
2ad4e79bf3 Fix 2019-09-22 02:49:40 +02:00
46bc4bfd8d Fixes for reddit 2019-09-22 02:07:04 +02:00
7b73a42e5c Force fallback mode, always. 2019-09-21 23:50:06 +02:00
b983b6e4ec Mutation observer doesn't always detect changes correctly, so we still need to periodically check for changes in player/video sizes. 2019-09-21 21:49:31 +02:00
b91fc2e422 Turn debugging on 2019-09-18 01:05:17 +02:00
0bed77bafa Fix new reddit 2019-09-18 01:05:07 +02:00
e1e962df04 If no element fits the criteria for the video player, have extension ignore such videos.
Also, sometimes mutationObserver doesn't catch all mutations/we miss some mutations. Added a delay that validates offsets. If validation fails, retrigger aspect ratio correction to make sure there's no misalignments. (That last bit was mostly needed for new reddit)
2019-09-18 01:05:07 +02:00
536e726f4b Disable logging 2019-09-17 22:18:02 +02:00
7d63245136 Remove unnecessarsy console.logs 2019-09-17 22:15:00 +02:00
7454b278a4 Fix settings patching and version number saving 2019-09-17 22:14:42 +02:00
d89db7a5a1 This low-key shouldn't be in logger 2019-09-17 22:13:31 +02:00
705d4c2e6d remove some dead code 2019-09-14 23:50:48 +02:00
b1af778656 dunno what that is, but it doesn't seem to break anything 2019-09-14 23:23:52 +02:00
44caa5f492 Fixed issues with mutation observers 2019-09-14 23:23:00 +02:00
66bcc40fb4 Minor fixes 2019-09-03 23:49:22 +02:00
59df28029f logger import reordering 2019-09-03 23:01:23 +02:00
7ac5e17415 Fix passing logger some more 2019-09-03 22:55:10 +02:00
c08033fba6 One of the merges fucked up the fix for twitchy twich. Re-fix this bug. 2019-09-03 22:46:28 +02:00
0ab1f558e1 Changes to logger insert (from videoData.logger instead as consructor param) 2019-09-03 22:42:38 +02:00
3c1b5f4b1a Move everything to logger, but for real 2019-09-03 22:17:10 +02:00
0f14d9c7dd Fix missing imports 2019-09-03 21:30:18 +02:00
df5b2b5165 Finished converting console.logs to logger 2019-09-03 00:48:18 +02:00
2de8d64b29 cummulative patching of settings 2019-09-03 00:28:35 +02:00
7ef8c21e63 Merge branch '4.2.4' 2019-09-01 03:56:16 +02:00
cd25cfbf8f minor fixes 2019-09-01 03:23:19 +02:00
6d77b7818d Merge branch '4.2.4' 2019-09-01 01:54:41 +02:00
a67dbad21c Fix player detection rules — for sites where query selector is defined as well 2019-09-01 01:40:39 +02:00
8cfc699fe6 Fix default extensionconf for reddit 2019-09-01 01:18:13 +02:00
fc2515d5c8 Fix default extensionconf for reddit 2019-09-01 01:17:49 +02:00
19cf8477ca Merge branch '4.2.4' 2019-08-31 22:58:59 +02:00
149b9cb7de Reverse query selectors order in extconfpatches for reddit 2019-08-31 22:45:56 +02:00
67f031e549 Additional fixes for player element discovery. Force player element refresh on every video element size change. 2019-08-31 22:10:51 +02:00
1dacc66ead Fix "what's new" notification not going away (hopefully) 2019-08-31 18:22:13 +02:00
c1012c59a6 Fix player detection 2019-08-31 18:21:49 +02:00
8e7c3ce2ac Merge branch '4.2.3' 2019-08-28 18:29:15 +02:00
29e78c7833 Hotfix for memory leak (hopefully) & failed first time install 2019-08-28 18:28:22 +02:00
e2df9285ff Fixed logger issues 2019-08-25 22:00:57 +02:00
0be0e2a265 Use mutationobserver-based ways to detect player changes instead of the old pleb-loop based method 2019-08-25 21:19:56 +02:00
0d641a98e3 Merge branch 'stable' 2019-08-25 01:57:23 +02:00
9f2880c802 Hotfix for popup 2019-08-25 01:52:04 +02:00
24dcbdf770 Merge branch 'stable' 2019-08-24 23:21:53 +02:00
dba9b054d4 Fix issue with 1px letterbox in atuodetection 2019-08-24 22:35:56 +02:00
d7b3508f85 Replace (video) cssWatcher with mutation observer 2019-08-24 17:05:04 +02:00
13104609cd Only replace CSS if the CSS changed 2019-08-24 17:04:53 +02:00
eeddbe9cc6 Combine ejectCss and injectCss into a single function 2019-08-24 00:28:08 +02:00
68b3589e77 Twitching issue was fixed but performance is shite 2019-08-23 02:25:48 +02:00
6d564e2f98 Readied some things for the player selector thing, but in content scripts 2019-08-13 22:31:25 +02:00
c1ba6ffac2 Merge branch '4.2.2' 2019-07-20 20:57:10 +02:00
76d6551bc7 Update redit player classlists. 2019-07-20 20:41:03 +02:00
338afad417 Replace consoles in ext with custom logger 2019-07-18 21:25:58 +02:00
f0fa6aa9a8 Replaced console.logs with logger in ArDetect. Other places still need changing. 2019-07-16 22:46:16 +02:00
9072183dd1 Added logger 2019-07-16 20:59:12 +02:00
723881d09d ExtConfPatches update 2019-07-07 21:14:12 +02:00
a3d01f7fb4 Fixed issue where user-defined css wasn't loading. 2019-07-07 21:13:28 +02:00
3c3e8b409c Removed unnecessary whitespace 2019-07-07 21:13:10 +02:00
cce3a677bb Light up "what's new" when upgrading extension. 2019-07-07 15:12:15 +02:00
04a6c11cf5 Super ghetto patching 2019-07-05 23:45:29 +02:00
d5acab1c40 Fix player defaults for youtube 2019-07-05 23:00:15 +02:00
04fe2a6c6a autoar: presume video aspect ratio as default (rather than null) 2019-07-04 22:46:18 +02:00
5329f0a600 Show warning when some frames on a given site are disabled 2019-07-03 22:35:17 +02:00