Commit Graph

785 Commits

Author SHA1 Message Date
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
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
4d83b8260e Merge branch 'stable' 2019-06-24 14:30:14 +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
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
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
2bfa3e8dfc Site settings: allow user to select a site 2019-06-07 01:50:13 +02:00
a3375eb289 Remove unnecessary logging 2019-06-06 19:47:43 +02:00
d6a9ea4831 Remove unnecessary logging, fix bug that didn't seem to have any effect 2019-06-05 23:37:12 +02:00
f5b9311225 Fix settings not returning correct default mode. Ensure that update 4.0.0 -> 4.0.1 won't reset settings, while giving people on pre-4.x a clean slate 2019-06-05 23:36:47 +02:00
ae98b0aa92 Fix extension sometimes not working on netflix 2019-06-05 23:35:25 +02:00
a2f28f738a rogue console.log removal 2019-06-03 00:50:08 +02:00
98703c30d2 Disable debugging 2019-06-03 00:41:06 +02:00
65e41e575d Force override existing settings for 4.0 2019-06-03 00:37:57 +02:00
b8a6e9e0b3 Allow disabling of shortcuts 2019-06-02 23:54:32 +02:00
ebea657f8c Fix settings bug, rework autoar page in extension settings 2019-06-02 23:54:22 +02:00
cbf38424e4 Tweak default settings 2019-06-02 23:49:48 +02:00
50b16b0893 Made saving settings a bit less of a pain 2019-06-02 03:00:07 +02:00
2e6d33bc79 Plebified settings 2019-06-02 02:44:02 +02:00
66f9c1b9e3 Allow setting aspect ratio detection sensitivity 2019-06-02 00:34:37 +02:00
72dc5ed372 EdgeDetect: respect minimum number of samples 2019-06-01 23:33:21 +02:00
98413534be Fix bug with fallback autodetection 2019-05-26 02:54:02 +02:00
ce30c6faa8 Fix #64 2019-05-26 02:53:29 +02:00
f0b7e619e4 Fix settings, update package.json 2019-05-10 19:21:17 +02:00
358863e7ef Settings.get fix for chrome and edge 2019-05-09 23:41:07 +02:00
280e9cfa62 minor fixes 2019-05-09 21:10:26 +02:00
47b1bc68e0 BrowserDetect gets browser from env. Package.json updated to provide BROWSER in env 2019-05-09 21:08:39 +02:00
8f4c201bb1 Convincing the popup to work in Chrome again. Consolidating processMessage_nonpersistent_chrome and .._ff into same function cos that was the problem 2019-05-09 21:07:40 +02:00
2f5acd9d9e Fixed multiple instances running on Twitch/clips.twitch. Fixed lockups on reddit/embedded. Fixed aspect ratio calculations on fitw and fith modes 2019-05-07 23:40:13 +02:00
a783c75b98 Fixed new actions not saving 2019-05-05 00:39:36 +02:00
0eba96af08 Fixed scaling problems from #48 and #54 2019-05-05 00:09:49 +02:00
5fbdb3822c Improvements to gradient detection 2019-05-04 21:33:48 +02:00
54ae79c320 Moving to storage.local instead of storage.sync, because our settings object is too big for chrome 2019-05-03 00:58:06 +02:00
8cef734926 Autodetection/black frame check: use more strict/lax rules depending on color variance 2019-05-03 00:49:33 +02:00
d647046aee Autodetection sorta functional again 2019-05-02 22:43:40 +02:00
eaa1a0975a Rewrote column test, again (todo: actually analyse results) 2019-05-02 00:57:37 +02:00
d51ce8add7 Fixed cropping via popup 2019-04-25 22:02:10 +02:00
598dd6cab5 Fix iframe marking 2019-04-13 03:09:29 +02:00
6435862daa Settings/control: save keyboard shortcuts 2019-04-12 00:49:56 +02:00
f3e0a48471 Automatic detection fix 2019-03-10 23:35:13 +01:00
7b5157a48d Aspect ratio types were enumified. 2019-03-10 23:27:50 +01:00
f07a1e529e add-edit-command component is capable of adding commands 2019-02-27 21:59:57 +01:00
d4cd1fd92e Typo fixes 2019-02-22 23:02:48 +01:00
aa4dbc15f6 Gradient detect mode 2019-02-21 21:51:35 +01:00
978bd41386 Minor tweaks 2019-02-21 21:35:21 +01:00
3d0c6926db Automatic detection is now checking for gradients. Autodetection is slower because of that. 2019-02-21 21:21:25 +01:00
a0f1a27271 Stretch mode fixes 2019-02-19 21:10:49 +01:00
4eba239da9 Made extgension remember default stretch mode 2019-02-16 01:54:41 +01:00
5b9080c1c7 Fixes for autoar 2019-02-16 01:19:29 +01:00
9f3a7ba418 Fixed autodetection to the point it sorta works 2019-02-15 20:40:56 +01:00
9cc03d0900 First batch of fixes 2019-02-15 00:26:54 +01:00
a0900a7dad Fixed autodetection to the point it at least starts 2019-02-15 00:00:22 +01:00
2e65e26cf9 Merge remote-tracking branch 'origin/Testing' 2019-02-14 00:01:50 +01:00
c1d34fceb1 Popups sorta work 2019-02-13 23:58:19 +01:00
Alziratt
d8376b39ce Minor work on the buttons and some of the text. 2019-02-13 13:15:56 -02:00
295c363d60 Minor fixes and reworks of ExtensionConf. Fixed 'general settings' page 2019-01-26 17:52:50 +01:00
e0482084f0 Rounded up some stragglers from refactor 2019-01-20 23:36:08 +01:00
9ec6973cc0 Fix typo 2019-01-20 23:05:04 +01:00
3336e62ae6 Fix import for extension mode enum 2019-01-20 23:01:45 +01:00
d2a8a177a7 Enumification, reorg of ExtensionConf 2019-01-20 22:59:06 +01:00
a2f1c8eba2 Sending commands to single frames seems to work, kinda 2019-01-20 20:36:24 +01:00
b49f8c6d26 Functionality that lists embedded videos has been restored. TODO: css, make it work 2019-01-20 19:58:26 +01:00
e1467cd6d7 attempt at fixing frames 2019-01-18 00:26:15 +01:00
3ff00e629d UI fixes, re-implemented zoom 2019-01-03 02:07:16 +01:00
a9fb93966a Commands from popup to content script seem to work 2019-01-02 20:36:00 +01:00
10a8746338 Made keyboard shortcuts work again, changed videoFloat -> videoAlignment for consistency, roughly completed ActionList.js 2018-12-31 03:34:26 +01:00
9c3ca3744b Reorganized stuff for content script & get it working (preliminary; performance issues on YT) 2018-12-31 01:03:07 +01:00
20030f1679 Comms broken into separate files, fixed uw-bg to the point there's no errors in console 2018-12-30 23:41:44 +01:00
e2df78aa78 Started using vue for settings and popup, start of rewrite for settings page 2018-12-30 23:16:09 +01:00