Commit Graph

344 Commits

Author SHA1 Message Date
6b91444f3c Set, unset base class functions 2020-11-05 23:12:03 +01:00
78c34c77e0 Fix for cruncyhroll (#115) 2020-10-25 22:07:38 +01:00
28c12861e5 Change action handler 2020-10-21 23:52:16 +02:00
7fb9aad0d0 misc fixes 2020-10-21 23:51:58 +02:00
48167623ff Force user styles a bit harder 2020-10-21 21:42:22 +02:00
43b136ca46 Fix crashing when checking player size 2020-10-21 21:26:00 +02:00
ec83830e78 Force zero margins on <video> element.
This should fix issues with alignment on twitch and hulu, et al.
2020-10-21 19:49:26 +02:00
7093236237 fix some issues related to panning 2020-10-21 19:48:56 +02:00
c7d133ba3d ensure aspect ratio only gets changed on aspect ratio changes 2020-10-21 19:48:04 +02:00
4f478a4667 Calculate "real" displayed side of video instead of relying on offsetWidth 2020-09-23 00:23:24 +02:00
b55d9dd7b9 fix? 2020-09-23 00:19:42 +02:00
02fa4e2fe8 style fixes 2020-09-20 12:26:03 +02:00
d59a78b039 Hopefully this fixes #104. Turns out 'location.host' and 'location.hostname' aren't quite interchangeable 2020-06-04 22:47:04 +02:00
e7957b6503 Extra logging 2020-06-04 22:44:53 +02:00
3b4b52f6a1 logging fixes 2020-06-04 22:15:32 +02:00
a4bca8af45 Additional fixes for #101 — if illegal video dimensions are detected, tell VideoData to reset/reapply aspect ratio when video starts playing again 2020-06-04 21:51:22 +02:00
a271b4d63e fix observer 2020-06-02 00:52:23 +02:00
5c73f97c54 Add player dimension sanity check to resizer 2020-06-01 23:54:42 +02:00
ecc65676f2 cosmetic fix 2020-06-01 23:54:24 +02:00
619d89c4f5 Break videoData setup into two stages for improved stability 2020-06-01 23:54:10 +02:00
fe66c9dfbc Diversify logging: in addition to console.log, use .warn .info .error as well 2020-06-01 23:53:03 +02:00
95d8d8a8cb Fix minor issue 2020-06-01 23:52:29 +02:00
ee7d958224 Fix settings 2020-05-29 22:50:39 +02:00
4a761efaed Find all blacklisted origins in stack 2020-05-29 22:06:24 +02:00
fc8d011758 Additional fixes 2020-05-17 02:30:16 +02:00
7d8758d1ee Do old frame cleanup with polling 2020-05-16 22:50:29 +02:00
9019963597 fix single video control not working 2020-05-16 22:02:06 +02:00
7bb3d079f7 Fix issue with chrome not hiding frame/video numbers 2020-05-16 21:35:24 +02:00
84470846ef Typo fixes & addign words to dictionary 2020-05-16 20:52:37 +02:00
ed0e51114c Change timeouts again 2020-04-30 00:40:12 +02:00
e1b062f19e increase number of retries 2020-04-30 00:14:26 +02:00
ccde079aee If video dimensions are invalid, wait a little and check again before performing the crop calculation 2020-04-28 03:05:55 +02:00
10f1bae7de move sleep function to a separate fire 2020-04-28 03:04:15 +02:00
a7f654650d Logging when file loads 2020-04-13 15:20:29 +02:00
c2ebe34ab6 Disable logging + extra notes 2020-03-15 19:47:38 +01:00
f0cc710621 fix imports 2020-03-13 00:28:41 +01:00
06a2f67759 Fix saving logs 2020-03-13 00:19:39 +01:00
783684570c actually wait, we still need logger to save to vuex 2020-03-13 00:17:14 +01:00
5998b6c0b2 Functions for sending to specific frame/port 2020-03-13 00:13:00 +01:00
6a3cc8e03e Use sendmessage instead of vuex store in logger 2020-03-13 00:12:42 +01:00
a81c5765e1 Minor fixes for chrome 2020-03-09 21:41:31 +01:00
cf1cc3d87a Fix logger popup initialization. 2020-03-09 21:29:39 +01:00
5b417d3f47 cosmetic fix 2020-03-09 21:29:00 +01:00
bbc4247893 Don't overwrite existing ports on connect 2020-03-09 19:39:24 +01:00
26757c0b2d Remove redundant code 2020-03-09 19:11:23 +01:00
80c14f72be comment out dead imports and code 2020-03-08 18:47:01 +01:00
6ea2b0488d Fix console errors 2020-03-08 18:43:53 +01:00
e681a64f55 remove unnecessary code 2020-03-08 18:34:30 +01:00
92c4ba0c69 Remove paginfo and command declarations out of comms 2020-03-08 17:13:50 +01:00
c26744b9d9 handleMessage _always_ tries to execute command, even if it has forwarding flags set. Command is executed before forwarding. 2020-03-08 16:49:20 +01:00
77ee6be218 Fix getting extension version in the popup 2020-03-02 22:35:34 +01:00
1c978e61b7 Fix the bug with Settings.fixSiteSettings() 2020-03-01 21:52:57 +01:00
aba099d577 Disable unnecessary logging 2020-03-01 21:52:47 +01:00
c5f6868a63 Make sure aspect ratio makes sense before setting it. Don't set NaN for aspect ratio, that tends to break things 2020-03-01 16:55:52 +01:00
4b177a9724 initialize content script vue/ui only if there's a need 2020-02-26 00:45:35 +01:00
c88247df25 Fix problem with video sometimes being offset to the side 2020-02-11 19:54:41 +01:00
c4914b4e5b Improve handling of change listener on settings, fix bug that prevented callback from triggering 2020-02-09 01:16:46 +01:00
a5685fa420 Improve logging of storage listener in logger 2020-02-09 01:14:05 +01:00
c9f227c0f9 This appears to do exactly nothing? 2020-02-09 00:28:35 +01:00
8945226d24 Fixes for Edge 2020-02-08 00:41:10 +01:00
355108e0ef Ensure things don't crash on undefined settings 2020-02-06 23:53:31 +01:00
21e24cc226 Finalize logging 2020-02-06 22:29:59 +01:00
f0f02032cc cosmetic fixes 2020-02-04 23:15:06 +01:00
ef0a802c16 move export log to file to its own file 2020-02-04 22:05:29 +01:00
bd2fa787e1 work on logger popup 2020-02-04 00:56:48 +01:00
87e65a99d4 Messaging fixes 2020-02-04 00:56:31 +01:00
78364472ad Avoid logging too much unnecessary stuff 2020-02-03 22:13:03 +01:00
8eed3431c8 Show log results in popup 2020-02-02 00:57:54 +01:00
7cb77a7a58 whitespace 2020-02-01 17:48:40 +01:00
b1538e9a8c logger fixes and refactorting 2020-01-30 23:18:30 +01:00
646d98588a logging fixes 2020-01-30 23:17:43 +01:00
2ad5a7b205 consistent naming of 'eject-css' command 2020-01-30 01:07:15 +01:00
d2fdbe178c Implement finish logging and connect things to export 2020-01-30 01:07:00 +01:00
1cdf246919 Refactor comms server a little bit 2020-01-30 01:06:21 +01:00
810fbbdc97 fix bug in actionhandler that causes log to stop logging 2020-01-30 01:06:02 +01:00
97d97e022b Add onLogEnd callback to logger 2020-01-29 23:38:52 +01:00
78ff7d7e40 Fix logging 2020-01-29 01:36:23 +01:00
1899f486e1 Settings should only watch for uwSettings storage changes, Logger should only monitor for uwLogger changes 2020-01-29 01:36:09 +01:00
9ba1afebee Use optional chaining 2020-01-28 23:34:36 +01:00
c8d943da0b Fix logging bugs, add mousemove to blacklist by default 2020-01-28 23:11:59 +01:00
0cbd62352e [Logger] Track origin of the call stack. Allow blacklisting of some periodic calls 2020-01-28 01:27:30 +01:00
1588ebd274 Don't restore ar if player dimensions haven't changed 2020-01-27 23:42:55 +01:00
c62033fb28 typo fixes and whitespace/console.log removals 2020-01-27 23:42:17 +01:00
f770b0dbf1 fixes for logger 2020-01-27 23:20:38 +01:00
f3e5aeb9e6 Fix logger crashing the extension 2020-01-27 22:32:38 +01:00
f1d2881359 Add logger commands to comms server 2020-01-21 00:41:18 +01:00
8c78715271 additional logger functions 2020-01-21 00:41:06 +01:00
8b648fb4d7 Rework of command handling in CommsClient 2020-01-21 00:40:56 +01:00
d633cb3b97 Only allow in-code log overrides if we're running in dev 2020-01-20 20:07:01 +01:00
79e781dcd8 Support static save, load, subscribe to logger settings changes 2020-01-16 01:00:47 +01:00
d2c1b2de3e Get current site more reliably (hopefully) 2020-01-15 21:20:34 +01:00
d6201dc2ac Add override to log everything 2020-01-15 21:09:12 +01:00
73872d4188 Add timeout to logger 2020-01-06 21:38:10 +01:00
936cb78b26 typo fix 2 2020-01-06 21:38:10 +01:00
2dca756b20 typo fix 2020-01-06 21:38:10 +01:00
410cd4d7f3 Fix invalid site settings on settings.save 2020-01-04 02:36:46 +01:00
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
08460a923d Fix logger 2019-11-04 22:14:41 +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
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
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
85fa314bb4 change some variable names for readability 2019-10-20 21:11:09 +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
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