Commit Graph

128 Commits

Author SHA1 Message Date
e05eb27e6a updating popup url 2018-09-20 21:30:45 +02:00
0f996f3067 registering tab — working with youtube only 2018-09-20 01:11:18 +02:00
c713977bb6 Fixed popup zoom 2018-09-19 22:52:53 +02:00
f265799e3c commands for setting zoom from the popup, zoom is logarithmic/exponential rather than linear 2018-09-18 23:37:33 +02:00
4965529de9 Updating settings backthing stuff for new popup 2018-09-17 00:39:32 +02:00
d7946d4098 fix zoom 2018-09-14 00:10:57 +02:00
063a803933 Zooming and panning kinda works 2018-09-13 23:47:20 +02:00
165790db7e fixed issue where resizer.js didn't get killed properly 2018-08-30 23:03:47 +02:00
0c37c5a0e1 Popup and settings work, but all scripts can run doubly if uw.init() was called twice 2018-08-30 00:56:26 +02:00
6c93a19248 Misc fixes 2018-08-29 00:41:26 +02:00
1feeaed257 Some more attempts at making comms/setting saving behave 2018-08-23 01:04:37 +02:00
107c9b12bd Comms: accounted for the possibility of pageInfo missing when extension is disabled 2018-08-22 23:46:59 +02:00
83aef6ac79 #40: Settings persist over page reload 2018-08-21 23:48:47 +02:00
a5aa282a01 CSS watcher reimplemented, seems to be working (fix #43) 2018-08-21 00:48:15 +02:00
b3079a81ea #42: GlobalVars is gone. 2018-08-20 22:45:43 +02:00
da18f5a5c4 Extension at least starts now 2018-08-07 23:31:28 +02:00
966f8a034d Rewrote Settings.js, did some cleanup with legacy stuff. 2018-08-05 23:48:56 +02:00
8ba028a5b2 git commit -am doesn't add new files 2018-07-19 23:05:57 +02:00
6c458d7590 fixed issue with video alignment not working 2018-07-15 16:22:32 +02:00
8579d25d5f fixed an issue where autodetection wouldn't sometimes trigger even when it should 2018-07-15 15:18:40 +02:00
30c94975c1 reenabled ghetto url check 2018-07-12 23:27:10 +02:00
43d1b02303 using basic stretching should pause aspect ratio autodetection 2018-07-11 23:13:40 +02:00
37b59f19ab Fixed aspect ratio flip-flopping in fallbackMode (kinda. it's a workaround) 2018-07-11 00:01:44 +02:00
0825dacdb8 fixed autodetection on netflix (and anywhere with fallbackMode, hopefully) 2018-07-10 21:58:26 +02:00
a4f0c9db4d basic stretch mode fixed 2018-07-10 20:36:12 +02:00
ea86721321 Fixed some minor bugs, rewrote some bits of the popup 2018-06-27 23:55:37 +02:00
c5debb40a7 Fixed basic stretching 2018-06-15 00:33:10 +02:00
8e1687a5b6 stretch mode is in stretcher now 2018-05-30 23:20:23 +02:00
9478b5af15 half of possibilities to stretch a video checked and working 2018-05-29 00:36:14 +02:00
2bf5a07bc5 started some work on stretcher 2018-05-28 23:56:44 +02:00
0871ad6d97 Stretch mode buttons work 2018-05-27 21:41:08 +02:00
293b784704 Popup: aspect ratio buttons are working. Fixed some bugs with crop calculation. 2018-05-27 01:29:02 +02:00
dd319551bc Comms minimally functional again, with one ugly workaround. 2018-05-26 23:08:49 +02:00
e2d43fb46d Cropping video now uses scale() and translate() 2018-05-25 21:37:09 +02:00
f5035b933d applyConditionalStretch() now accepts factors and actualAr as arguments. 2018-05-24 23:50:46 +02:00
748ed8293d Fixed function calls in Resizer.js (zoom and stretcher). ApplyConditionalStretch, computeOffsets and applyCss are still TODO 2018-05-24 23:29:30 +02:00
547ef7ad7b Stretcher.js instanced, can calculate aspect ratio factors from aspect ratios alone 2018-05-24 22:49:32 +02:00
7d89f41e40 Moved keybinds options to ExtensionConf. Rewrote Keybinds in a bit more OOP way 2018-05-24 20:50:37 +02:00
8f201e1ee0 PageInfo can start and stop all periodic functions (to be implemented when switching tabs) 2018-05-23 23:57:51 +02:00
8d7cefd420 Scaler.js - calculateCrop() and modeToAr() no longer take 'video' and 'playerDimensions' as arguments, instead reading those properties from videoData 2018-05-23 00:34:18 +02:00
a7aef8856d PlayerData object gets destroyed when videoData does. Scaler now takes video from videoData instead of function arguments 2018-05-22 00:19:50 +02:00
69d665f6fd PageInfo: rescan doesn't compare found <video> elements to elements in destroyed VideoData objects, fixing the issue where autodetection broke upon visiting youtube's search page 2018-05-21 22:43:56 +02:00
ad1436289b Fixed some problems with recursion in autodetection startup. Fixed problems with autodetection sometimes not starting. 2018-05-20 23:17:09 +02:00
009a440ce8 but really, now 2018-05-19 22:21:28 +02:00
c53780e619 If video doesn't have width or height, we do nothing. 2018-05-19 22:20:35 +02:00
08b10220e1 Scaler no longer static 2018-05-18 23:26:20 +02:00
c442f9e01c Fixed autodetection crash on drm-protected sites 2018-05-17 23:09:04 +02:00
4fe5ce6bcb Autodetection persists over multiple videos 2018-05-16 23:26:47 +02:00
82abee42bd autodetection works more or less properly. Removed some console.logs 2018-05-16 20:59:39 +02:00
4914a0dc1c video is now centered correctly 2018-05-16 20:42:00 +02:00