Commit Graph

203 Commits

Author SHA1 Message Date
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
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