Merge branch 'stable'

This commit is contained in:
Tamius Han 2019-06-24 14:30:14 +02:00
commit 4d83b8260e
6 changed files with 38 additions and 6 deletions

View File

@ -7,7 +7,12 @@
* Settings page looks ugly af right now. Maybe fix it some time later
### v4.1.1 (current)
### v4.1.2 (current)
* Fixed video alignment issues on www.reddit as well (for people who use old reddit without going to old.reddit)
* Fixed bug with 'player detection' tab
### v4.1.1
* Disabled gfycat

View File

@ -1,6 +1,6 @@
{
"name": "ultravidify-git",
"version": "4.0.0-a1",
"name": "ultravidify",
"version": "4.1.2",
"description": "Aspect ratio fixer for youtube that works around some people's disability to properly encode 21:9 (and sometimes, 16:9) videos.",
"author": "Tamius Han <tamius.han@gmail.com>",
"scripts": {

View File

@ -941,6 +941,28 @@ var ExtensionConf = {
},
css: '',
},
"www.reddit.com" : {
mode: ExtensionMode.Enabled,
autoar: currentBrowser.firefox ? ExtensionMode.Enabled : ExtensionMode.Disabled,
override: false,
type: 'official',
stretch: Stretch.Default,
videoAlignment: VideoAlignment.Default,
keyboardShortcutsEnabled: ExtensionMode.Default,
DOM: {
video: {
manual: false,
querySelectors: '',
additionalCss: '',
},
player: {
manual: true,
useRelativeAncestor: true,
videoAncestor: 1,
}
},
css: '',
},
"vimeo.com": {
mode: 3,
autoar: 3,

View File

@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "Ultrawidify",
"description": "Removes black bars on ultrawide videos and offers advanced options to fix aspect ratio.",
"version": "4.1.1",
"version": "4.1.2",
"applications": {
"gecko": {
"id": "{cf02b1a7-a01a-4e37-a609-516a283f1ed3}"

View File

@ -200,13 +200,13 @@ export default {
toggleVideoManualQs() {
this.ensureSettings('video');
this.videoManualQs = !this.videoManualQs;
this.settings.active.sites[this.site].DOM.video.enabled = this.videoManualQs;
this.settings.active.sites[this.site].DOM.video.manual = this.videoManualQs;
this.settings.save();
},
togglePlayerManualQs() {
this.ensureSettings('player');
this.playerManualQs = !this.playerManualQs;
this.settings.active.sites[this.site].DOM.player.enabled = this.playerManualQs;
this.settings.active.sites[this.site].DOM.player.manual = this.playerManualQs;
this.settings.save();
},
toggleByNodeIndex() {

View File

@ -2,6 +2,11 @@
<div>
<h2>What's new</h2>
<p>Full changelog for older versions <a href="https://github.com/xternal7/ultrawidify/blob/master/CHANGELOG.md">is available here</a>.</p>
<p class="label">4.1.1 & 4.1.2</p>
<ul>
<li>Disabled extension on gfycat.</li>
<li>Fix for old.reddit.com applied to www.reddit.com</li>
</ul>
<p class="label">4.1.0</p>
<ul>
<li>This</li>