Commit Graph

31 Commits

Author SHA1 Message Date
9ba1afebee Use optional chaining 2020-01-28 23:34:36 +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
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
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
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
7d63245136 Remove unnecessarsy console.logs 2019-09-17 22:15:00 +02:00
44caa5f492 Fixed issues with mutation observers 2019-09-14 23:23:00 +02:00
59df28029f logger import reordering 2019-09-03 23:01:23 +02:00
0ab1f558e1 Changes to logger insert (from videoData.logger instead as consructor param) 2019-09-03 22:42:38 +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
19cf8477ca Merge branch '4.2.4' 2019-08-31 22:58:59 +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
c1012c59a6 Fix player detection 2019-08-31 18:21:49 +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
338afad417 Replace consoles in ext with custom logger 2019-07-18 21:25:58 +02:00
04fe2a6c6a autoar: presume video aspect ratio as default (rather than null) 2019-07-04 22:46:18 +02:00
bc89a9c116 Fix bugs 2019-06-14 21:53:48 +02:00
afefed7f34 Manually assigning players sorta works, but is bugged 2019-06-12 23:55:15 +02:00
08c257ec00 Detecting manually determined video and player elements implemented 2019-06-10 23:45:15 +02:00
7b5157a48d Aspect ratio types were enumified. 2019-03-10 23:27:50 +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
9c3ca3744b Reorganized stuff for content script & get it working (preliminary; performance issues on YT) 2018-12-31 01:03:07 +01:00