diff --git a/js/uw.js b/js/uw.js index 4b83b97..5560115 100644 --- a/js/uw.js +++ b/js/uw.js @@ -473,20 +473,7 @@ function addCtlButtons(provider_id){ savekb.onclick = function() { saveKeybinds() }; savekb.innerHTML = "Save"; settings_content.className = "uw-ext-settings-content"; - settings_content.innerHTML = "

SETTINGS

\ -
\ -
Shortcuts
\ - \ -
About
\ -
Close settings
\ -
\ -
\ -
\ -
NOTE: some keys can't be rebound here (namely: keys in use by the player and some other quirky keys). Use the settings page instead.
\ -
" + form + "
\ -
Back
\ -
\ -
" + settings_content.innerHTML = ""; e_player.appendChild(menu_panel); // menu_panel.appendChild(settings_content); diff --git a/manifest.json b/manifest.json index 4143e25..9ec013d 100644 --- a/manifest.json +++ b/manifest.json @@ -32,9 +32,15 @@ "res/img/ytplayer-icons/reset.png", "res/img/ytplayer-icons/settings.png", + "res/img/settings/about-bg.png", + "res/css/uw_common.css", "res/css/uw_yt.css", "res/css/uw_netflix.css", "res/css/uw_settings.css" - ] + ], + + "options_ui" : { + "page": "res/settings.html" + } } diff --git a/res/img/settings/about-bg.png b/res/img/settings/about-bg.png new file mode 100644 index 0000000..d309baf Binary files /dev/null and b/res/img/settings/about-bg.png differ diff --git a/res/settings.html b/res/settings.html new file mode 100644 index 0000000..92cbcbf --- /dev/null +++ b/res/settings.html @@ -0,0 +1,244 @@ + + + Ultrawidify :: settings + + + + + + +
+
+
+
+

Ultrawidify :: settings

+
+
+
+
+
Shortcuts
+
About
+
+
+
+
+
+
+ +
+
Fit to width
+ Ctrl + + Shift + + Alt + + +
+ + +
+
Fit to height
+ Ctrl + + Shift + + Alt + + +
+ + +
+
Reset
+ Ctrl + + Shift + + Alt + + +
+ + +
+
Zoom
+ Ctrl + + Shift + + Alt + + +
+ + +
+
Unzoom
+ Ctrl + + Shift + + Alt + + +
+ + +
+
Fit to height
+ Ctrl + + Shift + + Alt + + +
+ + +
+
Fit to height
+ Ctrl + + Shift + + Alt + + +
+ + +
+
Fit to height
+ Ctrl + + Shift + + Alt + + +
+ + +
+
Fit to height
+ Ctrl + + Shift + + Alt + + +
+
+
Cancel | Close
+
+
Note: keyboard shortcut conflicts aren't handled by this extension. You must know your shortcuts.
Pro tip: If you don't want to have a keybind for a shortcut, just uncheck all boxes for the action and remove the letter
+
+
+ +
+
+

Ultrawidify - an aspect ratio fixer for youtube

+

Created by Tamius Han (me). If something is broken, you can shout at me on github (shout nicely, though. Open an issue or bug report or something). If you're curious to see the source code, github's here. If you're looking at this page because you're bored and want to be bored some more, my website's here.

+

Plans for the future

+

Netflix support, probably.

+

Acknowledgements

+

This extension uses font Oxygen.

+

Special thanks to CD Project Red (The Witcher 2), Anet (Guild Wars 2), and Valve (CS:GO), which made it possible for me to untrigger myself after seeing so many improperly encoded videos.

+

More or less.

+

GW2 is also roughly how the avatar was obtained. Noone tell Anet, though.

+

Special one-finger salute to all incompetent people who don't know how to properly encode videos and upload them to youtube (to word it most nicely).

+

Special thanks to me for making this extension. You're welcome.

+
+
+ + +