minor fixes

This commit is contained in:
Tamius Han 2019-09-01 03:23:19 +02:00
parent 49872ae16d
commit cd25cfbf8f
5 changed files with 8 additions and 7 deletions

View File

@ -11,7 +11,7 @@
* Improvements to player detection. More details in the [blog post](https://stuff.tamius.net/sacred-texts/2019/08/31/ultrawidify-and-the-improper-cropping/).
* **[4.2.4.1]** Fixed default video settings for reddit
* **[4.2.4.1]** Manually specified query selectors will also be checked for compliance with player detection rules.
* **[4.2.4.2]** Additional bugfixes. Updated/fixed default settings.
### v4.2.3 / 4.2.3.x

View File

@ -931,7 +931,7 @@ whatsNewChecked: true,
},
"www.twitch.tv": {
mode: ExtensionMode.Enabled,
autoar: currentBrowser.firefox ? ExtensionMode.Enabled : ExtensionMode.Disabled,
autoar: ExtensionMode.Enabled,
override: true,
type: 'official',
stretch: Stretch.Default,
@ -965,7 +965,7 @@ whatsNewChecked: true,
},
"old.reddit.com" : {
mode: ExtensionMode.Enabled,
autoar: currentBrowser.firefox ? ExtensionMode.Enabled : ExtensionMode.Disabled,
autoar:ExtensionMode.Enabled,
override: false,
type: 'testing',
stretch: Stretch.Default,
@ -982,7 +982,7 @@ whatsNewChecked: true,
},
"www.reddit.com" : {
mode: ExtensionMode.Enabled,
autoar: currentBrowser.firefox ? ExtensionMode.Enabled : ExtensionMode.Disabled,
autoar: ExtensionMode.Enabled,
override: false,
type: 'testing',
stretch: Stretch.Default,

View File

@ -271,7 +271,7 @@ class PlayerData {
const allSelectors = document.querySelectorAll(this.settings.active.sites[host].DOM.player.querySelectors);
// actually we'll also score this branch in a similar way we score the regular, auto branch
while (element !== undefined) {
while (element) {
// Let's see how this works
if (this.collectionHas(allSelectors, element)) {
@ -305,7 +305,7 @@ class PlayerData {
while (element != undefined){
while (element){
// odstranimo čudne elemente, ti bi pokvarili zadeve
// remove weird elements, those would break our stuff
if ( element.offsetWidth == 0 || element.offsetHeight == 0){

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.2.4.1",
"version": "4.2.4.2",
"applications": {
"gecko": {
"id": "{cf02b1a7-a01a-4e37-a609-516a283f1ed3}"

View File

@ -7,6 +7,7 @@
<li>Improvements to player detection. More details in the <a href="https://stuff.tamius.net/sacred-texts/2019/08/31/ultrawidify-and-the-improper-cropping/" target="_blank">blog post</a>.</li>
<li><b>[4.2.4.1]</b> Fixed default settings for reddit</li>
<li><b>[4.2.4.1]</b> Manually specified query selectors are now also checked for compliance with player detection rules.</li>
<li><b>[4.2.4.2]</b> Additional bugfixes. Updated/fixed default settings.</li>
</ul>
<p v-if="BrowserDetect.chrome"><b>Chrome users:</b> as a result of Chrome's shortcomings, there now exists one potential performance issue.
If you notice any performance issues, please contact me via github, email or reddit (see: 'report a problem' tab