Commit Graph

77 Commits

Author SHA1 Message Date
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
e36689e708 Unhardcoded the classes, which are used to determine the sample button, player, and place where UI gets anchored. We can now add the ability for user to add rules for custom pages. 2017-02-28 20:02:20 +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
10f0c6c92d dynamically setting position of a submenu 2017-02-18 20:19:24 +01:00
Tamius Han
dcac96dcd1 Getting bounding rectangles of parent menu, submenu and player 2017-02-16 23:59:11 +01:00
Tamius Han
7bf2c65315 Fixed menu (submenus still somewhat broken) 2017-02-15 20:34: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
dddde8d4d1 README update 2017-01-23 18:46:11 +01:00
Tamius Han
e73d90090e Cleaned up/rewrote readme.md 2017-01-22 17:06:41 +01:00
Tamius Han
69c01e83ed Updated README, disabled debugging. 2017-01-22 01:15:03 +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
ebbd575d67 Automatic aspect ratio seems to be sufficiently polished on firefox. TODO: testing in Chrome. 2017-01-21 21:09:36 +01:00
Tamius Han
f64bc325f3 Chrome support. 2017-01-21 18:31:47 +01:00
Tamius Han
442db20e4e Updated readme 2017-01-19 22:37:02 +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
39d8139e0c It appears that auto-aspect-ratio thingy on Netflix approximately works. 2017-01-17 22:35:04 +01:00
Tamius Han
f64993a0d1 For a brief moment, I got this extension to autoremove unnecessary black bars. Progress! 2017-01-17 00:15:03 +01:00
Tamius Han
90fdfe1a2c Updated README 2017-01-16 00:13:11 +01:00
Tamius Han
7727a8886d Tried (and failed) to get 'settings' menu to work on netflix 2017-01-15 23:36:47 +01:00
Tamius Han
080dbc303c 'Settings' menu now works on youtube (but _still_ not on netflix) 2017-01-15 18:56:36 +01:00
Tamius Han
43cded9f31 Fixed video resetting after zoom 2017-01-14 15:48:46 +01:00
Tamius Han
39a1dbad40 Fixed the issue where zooming in would go forever. 2017-01-14 15:17:26 +01:00
Tamius Han
101a772df3 Fixed the zooming issue on netflix. 2017-01-14 11:03:53 +01:00
Tamius Han
43a3da6c56 Keyboard shortcuts of this extension now override everything else. 2017-01-09 20:31:07 +01:00
Tamius Han
8163ade387 Fixed settings page. 2017-01-09 20:27:38 +01:00
Tamius Han
22adef3405 Updated README.MD 2017-01-09 18:48:43 +01:00
Tamius Han
109ff89351 It's now official. Netflix support is a go. 2017-01-09 18:24:09 +01:00
Tamius Han
e7b0f80eb2 onUpdated doesn't work the way we want (at least not for netflix), so instead of relying on that we just check for changes periodically. 2017-01-04 23:23:41 +01:00
Tamius Han
2fd4cb6701 Netflix is nearly prod-ready 2017-01-04 00:07:34 +01:00
Tamius Han
d69f7009b0 Netflix support, 3/4 of the way there. 2017-01-03 20:56:01 +01:00
Tamius Han
991759f0a0 Keypresses are fixed again. Probably. 2017-01-02 17:45:51 +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
fe4fdcf0fe Updated README.md to include changelog. uw-bg.js and uw.js should only contain minor cosmetic changes. 2016-12-29 20:41:23 +01:00
Tamius Han
9fc6e058b2 Fixed the 'sometimes extension doesnt load' bug some more: background script sends updates about page updates at most once every two seconds. If the UI is found when the content script is notified of the change, the UI doesn't get reloaded anymore (unless debugmsg
is set to 'true').
2016-12-29 19:41:54 +01:00
Tamius Han
9e79048c64 Roughly fixed the issue when extension wouldn't work in certain cases. Roughly fixed because the event that triggers UI redrawing fires all the time. 2016-12-21 23:25:05 +01:00
Tamius Han
c6b3ac7723 Updated README.md 2016-12-09 19:10:37 +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
5fa15a7fca README.md didn't have changes for a previous minor version in its changelog. 2016-12-08 00:02:01 +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
Tamius Han
7856f993a4 When extension is reloaded, it now cleans youtube's UI after itself. If buttons can't fit on the player's control bar, all buttons except the 'settings' one get hidden. (So
at the moment, they DO NOT get re-enabled when switching to fullscreen and back again. TODO!). If the settings popup is taller than player, it gets scaled down. (Aspect
ratio submenu doesn't. FIXME!)
2016-12-04 00:43:05 +01:00
Tamius Han
e5314bfe9f Some README changes weren't included in previous commit. 2016-12-02 23:34:36 +01:00
Tamius Han
6224e3209c Fixed bug where advanced options popup (wrench) wouldn't hide when an item on the popup was clicked. Gave README.MD a long-due update regarding which version of the
extension is on AMO
2016-12-02 23:30:21 +01:00