Commit Graph

456 Commits

Author SHA1 Message Date
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
3e565ddbfc fix logger in popup 2020-01-28 01:26:40 +01:00
1588ebd274 Don't restore ar if player dimensions haven't changed 2020-01-27 23:42:55 +01:00
691f45fbcc remove log to console 2020-01-27 23:42:35 +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
46fc868109 fix settings for logger 2020-01-20 20:07:18 +01:00
d633cb3b97 Only allow in-code log overrides if we're running in dev 2020-01-20 20:07:01 +01:00
c7980ab892 Update github username 2020-01-16 01:02:19 +01:00
753a9348f4 Add rudamentary logger section to 'about' tab of popup 2020-01-16 01:01:04 +01:00
79e781dcd8 Support static save, load, subscribe to logger settings changes 2020-01-16 01:00:47 +01:00
6b9bf1b70f New logging property! 2020-01-16 01:00:12 +01:00
76b1da1b1c Change email template in hopes for illiterate twats to not edit or remove my precious process.env and generated version number
smh my head
2020-01-15 23:37:34 +01:00
7fdb15821a Changelog updates 2020-01-15 22:23:22 +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
bc51505727 Version bump, changelog 2020-01-06 21:38:10 +01:00
c8418f0373 Fix extension failing to load 2020-01-06 21:38:10 +01:00
4cd0eac01b Changelog update 2020-01-04 02:47:09 +01:00
c08ffa9c58 disney+ conf patch 2020-01-04 02:37:00 +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
e37ad4ba7a Version bump (todo: release notes) 2020-01-04 00:42:13 +01:00
b9e8d111e6 Version update stuff 2019-12-06 00:17:20 +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
fcd9deac6f Version update 2019-11-05 00:09:08 +01:00
97ef4c2fec Changelog updates 2019-11-05 00:08:27 +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
5f4abcec1f version bump 2019-11-02 22:43:11 +01:00
1157a8a8e2 Update readme 2019-11-02 22:42:36 +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
0e09ae771c Update readme 2019-11-02 02:45:30 +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
b128f97a7c Fixed readme 2019-11-02 01:11:57 +01:00
dbc35ccbd1 Patching for v4.4.0 2019-11-02 01:05:36 +01:00
5becf0bdf0 Version bump is gonna be a bit more major 2019-11-01 23:51:51 +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
f652bce8fe Prepare version update stuff, readme updates 2019-10-23 20:01:11 +02:00
261f9a6b8d Use event.code instead of event.keyCode. Add key codes to default settings 2019-10-23 19:34:58 +02:00
cd4e3768e2 Make compiler a bit happier. 2019-10-22 01:40:46 +02:00
4a9ef1f9db Fix 'clear shortcut' button (probably) 2019-10-22 01:40:38 +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
2d6a020c5b Version update stuff 2019-09-28 00:14:03 +02:00
afe7b8e692 minor rework of settings options 2019-09-28 00:13:50 +02:00
408b771656 Fix settings page 2019-09-27 22:06:28 +02:00
4e67902c56 version update stuff 2019-09-25 18:44:01 +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
bf9ee47527 Some tweaks to release notes 2019-09-22 02:39:24 +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
469c607568 Fix changelog 2019-09-21 23:48:17 +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
685cfc9466 Popup: Fix issue where 'sites' tab would be disabled if extension mode was set to whitelist only 2019-09-21 19:55:47 +02:00
4f830e2a37 Update changelog. Update includes a promise (popup bit needs to be fixed) 2019-09-18 01:08:07 +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
dacd1f7a9c Version upgrade stuff 2019-09-17 22:26:43 +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
f495cec5ba fox type 2019-09-17 18:51:19 +02:00
824fe7993e Disabled unfinished features 2019-09-17 18:47:09 +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
842851197e Version bump related stuff 2019-09-01 01:41:12 +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
c275e389a1 Updating version numbers & stuff 2019-08-31 18:22:57 +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
0918c8b86d Undo version bump in manifest.json 2019-08-25 21:23:59 +02:00
e03a4adc9e readme update 2019-08-25 21:23:04 +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
68e2b276df Version update & fix build 2019-08-24 22:36:38 +02:00
5f1f14f8ca Update what's new 2019-08-24 22:36:24 +02:00
31f0e2165e Fix HTML 2019-08-24 22:36:10 +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
5b3ee66066 Start some work on player selector 2019-08-13 21:21:35 +02:00
f41ffb3155 Readme updates for 4.3.0, version bump 2019-07-20 21:33:15 +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
e08a7eea74 Export settings but for chrome. Also some fixes for FF 2019-07-15 23:18:12 +02:00
060d644487 Version update 2019-07-15 23:17:55 +02:00
84eed2fa13 Import/export settings 2019-07-15 22:54:41 +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
57463e01ec Version & readme update 2019-07-07 21:12:57 +02:00
cce3a677bb Light up "what's new" when upgrading extension. 2019-07-07 15:12:15 +02:00
4cd67161ba Popup: remove bullshit scrollbars in Chrome. Move scrollbar in site lists to the left. 2019-07-06 22:39:59 +02:00
9cbd2fc34c Changelog update 2019-07-05 23:45:57 +02:00
0ef36f64d3 Version update 2019-07-05 23:45:40 +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
ca8eeffc12 design update 2019-07-05 22:58:29 +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
67d45d265b remove logging some more 2019-07-03 22:35:01 +02:00
4260e36ade Allow re-enabling of sites in embedded frames 2019-07-03 21:55:08 +02:00
2b281b292f Change player element detection on reddit as well 2019-07-03 21:37:03 +02:00
90d646ba25 remove dead code 2019-07-03 21:03:12 +02:00
478d4a8795 Select player elements on youtube and twitch with query selector 2019-07-03 20:17:55 +02:00
8ad0250d7e Scrollbars styled for chrome as well, but chrome is fucky-wucky 2019-07-02 01:23:43 +02:00
3e627f5fed Thin scrollbar for FF, UX update (what's new, report problem, donate menu entries are at the bottom) 2019-07-02 01:02:22 +02:00
4d83b8260e Merge branch 'stable' 2019-06-24 14:30:14 +02:00
67ffd483b6 readme update but in popup 2019-06-24 14:29:47 +02:00
1e4f32aee5 version bump 2019-06-24 14:27:23 +02:00
47e20721e6 Reddit: detect player manually, fix site details popup 2019-06-24 14:05:37 +02:00
18a86bc815 Merge branch '4.1.1' 2019-06-15 23:29:29 +02:00
7a987c57d2 disable extension for gfycat 2019-06-15 23:03:19 +02:00
a4ad5f0dde Prepare for version update 2019-06-15 23:01:18 +02:00
33590aa353 UX: In popup, indicate which sites (and corresponding frames) are disabled. This will need additional work on content scripts tho 2019-06-15 22:58:19 +02:00
746a883e07 Prepare for release 2019-06-14 23:21:03 +02:00
2eaab6d3a4 Update default settings: fix old.reddit, vimeo, disable imgur 2019-06-14 23:20:47 +02:00
031c5d8e4c Add changelog to extension popup 2019-06-14 23:10:21 +02:00
d7f6cd1271 Add 'experimental' tag to site details tab in popup 2019-06-14 22:37:31 +02:00
060278a972 Fix site details panel 2019-06-14 22:36:21 +02:00
8bb5f30e71 Rename 'about' to 'report a problem' in the popup for better visibility of issue reporting options 2019-06-14 22:05:29 +02:00
69114cc47e Update manifest description for that sweet SEO 2019-06-14 21:56:40 +02:00
bc89a9c116 Fix bugs 2019-06-14 21:53:48 +02:00
2df3c3c9be Don't insert CSS on player element. Insert CSS into page instead. Popup doesn't work, still. 2019-06-14 02:15:24 +02:00
afefed7f34 Manually assigning players sorta works, but is bugged 2019-06-12 23:55:15 +02:00
26610f2e00 Start working on applying extra css to player and video elements 2019-06-11 01:34:02 +02:00
08c257ec00 Detecting manually determined video and player elements implemented 2019-06-10 23:45:15 +02:00
03d8a99885 Popup for setting site-specific options is roughly done 2019-06-08 03:45:35 +02:00