Commit Graph

48 Commits

Author SHA1 Message Date
afb595d8c0 popup picks up current zoom level 2018-09-21 00:26:08 +02:00
51c1255eed disable other buttons in 'extension settings' tab if extension is disabled 2018-09-20 22:02:15 +02:00
e05eb27e6a updating popup url 2018-09-20 21:30:45 +02:00
06cfb9a04e Fixes for minor popup bugs 2018-09-19 23:34:47 +02:00
c7cf9b4be7 logging 2018-09-18 23:48:05 +02:00
c8f65f7fca Popup: functional. TODO: implement command handling in CommsClient 2018-09-18 00:40:05 +02:00
f6899be0ce Popup: extra buttons, console output beautify, changed experimental notice, disabled text selection 2018-09-16 23:24:01 +02:00
89ebae315a Popup: fixed buttons in site settings tab not getting selected 2018-09-16 19:28:40 +02:00
1efcc83b44 Popup: fixed menus not getting disabled 2018-09-16 14:22:08 +02:00
76b5f6eca1 Fixed switching menus 2018-09-16 14:14:16 +02:00
354b987cb4 start popup redesign 2018-09-14 22:21:39 +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
38a94e3bd3 Changing persistent settings (the ones _not_ limited to current page) bypasses comms 2018-08-29 21:23:08 +02:00
83aef6ac79 #40: Settings persist over page reload 2018-08-21 23:48:47 +02:00
da18f5a5c4 Extension at least starts now 2018-08-07 23:31:28 +02:00
b01e5ebcec Renamed stuff for consistency with ExtensionConf. Cleanup. 2018-08-03 00:44:37 +02:00
5ce0c51018 Fixed autodetection menu 2018-07-16 20:38:16 +02:00
6c458d7590 fixed issue with video alignment not working 2018-07-15 16:22:32 +02:00
8a73d8c6a4 validation feedback on autoar timer input field 2018-07-09 23:40:26 +02:00
cf813cf6f8 Popup seems to be more or less fixed. 2018-07-09 23:30:11 +02:00
0eb70babf3 Popup: moved stretching settings to a new tab 2018-06-29 00:30:42 +02:00
029efd92ed Popup is now approximately functional 2018-06-28 23:43:52 +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
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
Tamius Han
c35a8c5f59 Added a safety thingy that disables autodetection if autodetection consistenly causes lag. 2018-05-05 23:06:39 +02:00
Tamius Han
c35774c36f Chrome kinda works according to 1 beta tester. Fixed few other chrome-specific bugs I've noticed. Fixed the font inclusion (hopefully) 2018-03-14 21:19:15 +01:00
Tamius Han
e6efaf52d8 Split settings between Settings.js (handles loading and saving) and ExtensionConf.js (actual configuration). All settings are now handled in background script (content scripts get ExtensionConf from background script). Saving seems to work. 2018-03-13 23:55:38 +01:00
Tamius Han
51f2df930d end of the day commit. settings for autoAr ARE NOT getting saved. 2018-03-13 00:36:10 +01:00
Tamius Han
13a928b90e ar fixed, disabling/enabling sites roughly works. 2018-03-11 18:00:47 +01:00
Tamius Han
d78fa346ce register-video in ghettoOnChange didn't always work. background script now polls content script of current tab every 5 or so seconds. Popup script polls for has-video changes once every two seconds or so. 5s and 2s seem reasonable. 2018-02-06 00:36:48 +01:00
Tamius Han
2c0f0ed607 Release v2.1.0 (sans readme) 2018-02-04 17:39:26 +01:00
Tamius Han
b13eff44e3 Reworked popup warnings. Chrome doesn't work again. 2018-02-02 00:21:29 +01:00
Tamius Han
174c987690 Keyboard shortcuts get loaded in popup, fixed 'reset' button in popup. 2018-02-01 00:26:16 +01:00
Tamius Han
e51faaf934 New comms between [uw.js <==> uw-bg.js <==> popup.js] established. Working in Firefox, not in Chrome — potentially due to Promise.all() (try replacing with for(promise of promises) await promise) 2018-01-26 00:09:08 +01:00
Tamius Han
551bee1724 reintroducing background script, which will keep track of frames and videos in currently opened tab (not yet implemented) 2018-01-24 23:15:54 +01:00
Tamius Han
9265a336bc Trying to add blanket support for theater mode. Changing aspect ratio works in youtube theater mode, but only when manually launched. Chaning to full screen mode stops it. This commit breaks vimeo support. 2018-01-18 00:11:03 +01:00
Tamius Han
d4a6901d7d Popup now works on Chrome as well. 2018-01-11 22:43:25 +01:00
Tamius Han
33acbe5015 Okay then. Turns out background script might not be necessary. (Even though not yet removed from the projects, popup now communicates directly with the tab as opposed to background page which forwards everything to the tab. I think. But this means even Chrome — as shit as it is — might be able to do the popup stuff without me having to maintain another
version of code that does the same thing.)
2018-01-10 23:16:07 +01:00
Tamius Han
45c986d66d Chrome is fucking cancer and its sendMessage() (both in chrome.tabs as well as chrome.runtime) sucks major ass. 2018-01-08 22:48:45 +01:00
Tamius Han
4b61325c58 Attempt at fixing Chrome's UI. Not successful because Chrome documentation is TL;DR 2018-01-06 22:58:31 +01:00
Tamius Han
d8ee278491 Fixed bug with popup buttons for forcing aspect ratio not always working. Autodetection can no longer get triggered by small changes in aspect ratio (but will get triggered if change is a small amount over the treshold still) 2018-01-02 03:36:29 +01:00
Tamius Han
ec6dfadb41 Some basic settings for keyboard shortcuts. 2017-12-30 20:53:15 +01:00
Tamius Han
d0373820fe Popup is working properly now. 2017-12-30 18:36:08 +01:00
Tamius Han
0f2d786780 Popup menus are showing properly. 2017-12-30 02:58:24 +01:00
Tamius Han
de2677fdd6 Added ui/popup window (and it kinda works) 2017-12-29 23:34:40 +01:00
Tamius Han
66cc44ab6d Reshaped popup 2017-12-02 21:09:08 +01:00