Commit Graph

89 Commits

Author SHA1 Message Date
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
ee626fd5dd Extra videos, BrowserDetect is getting set up for Edge 2018-01-17 20:57:24 +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
5ad7144e67 Version 2.0! Woohoooo! 2017-12-31 18:28:03 +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
Tamius Han
b1fcb233a3 Added popup (no functionality at this time). 2017-11-13 23:34:24 +01:00
Tamius Han
602c5f3418 We have semi-working version. Keybinds aren't rebindable yet. Settings page needs to be remade to accomodate new options. 2017-10-17 22:17:51 +02:00
Tamius Han
9d3e16dc58 form for editing site options was turned into a textarea. todo: proper saving 2017-05-23 21:00:38 +02:00
Tamius Han
09ef70e96f Some minor fixes. 2017-04-18 20:48:29 +02:00
Tamius Han
0d943df844 Fixed up iframe detection. Noticed that 'force aspect ratio' menu doesn't work. 2017-03-21 21:23:03 +01:00
Tamius Han
d41f06ccf8 Saving custom sites works ... kinda. 2017-03-15 22:25:38 +01:00
Tamius Han
505995f83f Site configs are hidden by default. Wrote functions for gathering/setting the values from the edit form of a given site. 2017-03-14 23:51:03 +01:00
Tamius Han
f5d3711b4c Settings/sites: 'edit' button now actually enables the form. 2017-03-13 20:34:59 +01:00
Tamius Han
486ca08e89 Started adding options to configure websites from settings. 2017-03-02 20:06:53 +01:00
Tamius Han
d22dd18a9d Extension UI can now be hidden. 2017-02-22 13:53:40 +01:00
Tamius Han
89f9b82b4b UI rewrite complete. TODO: test on netflix, enable UI customization by user. 2017-02-20 23:40:47 +01:00
Tamius Han
dfa51ab925 Refactoring/rewriting UI generating functions 2017-02-13 23:04:21 +01:00
Tamius Han
e7fbf6231d 'more settings' menu now shows on youtube, but offset isn't calculated properly in fullscreen 2017-01-23 21:18:01 +01:00
Tamius Han
4a331e0010 It took some persuading to make it work both in Chrome and Firefox at the same time. Fuck Chrome. 2017-01-21 22:53:12 +01:00
Tamius Han
f64bc325f3 Chrome support. 2017-01-21 18:31:47 +01:00
Tamius Han
16e855e4ac Netflix autoAR: polished, working and in settings. Ready to submit to AMO. 2017-01-19 21:29:54 +01:00
Tamius Han
8163ade387 Fixed settings page. 2017-01-09 20:27:38 +01:00
Tamius Han
5bd797895c Netflix is now supported (kinda, there's some issues with extension loading). Keyboard shortcuts are broken across the board. 2017-01-02 12:29:43 +01:00
Tamius Han
069a8a6f83 Changed background image a bit, disabled 'settings' option in player popup, disabled debugging messages. 2016-12-08 22:34:32 +01:00
Tamius Han
5062f7f7bb Settings page is more or less finished and works. Might need minor fixes before v1.0rc1 becomes v1.0. 2016-12-07 23:58:43 +01:00
Tamius Han
9daac678a0 Settings page is now nearly operational, missing only saving and loading of the keyboard shortcuts. 2016-12-06 23:33:29 +01:00
Tamius Han
27742d31a6 Removed fonts, using webfonts instead. Kinda-finished css, uw.js now also loads CSS. 2016-12-04 23:02:15 +01:00
Tamius Han
ca33454677 Taking CSS out of the uw.js and placing it into its own file, laid out the foundations for this change in manifest.json. NOTE: this commit just laid the groundwork,
uw_common.css is unfinished (font-face block isn't even properly closed) and uw.js wasn't updated to include CSS files yet.
2016-12-04 12:01:38 +01:00