Merge branch '4.2.4'
This commit is contained in:
commit
7ef8c21e63
@ -17,6 +17,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/).
|
* 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]** 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.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
|
### v4.2.3 / 4.2.3.x
|
||||||
* Fixed twitchy behaviour on Twitch, Facebook and Twatter. Here's a [blog post](https://stuff.tamius.net/sacred-texts/2019/08/24/ultrawidify-the-twitchy-twitch-problem/) that covers the issue in more detail.
|
* Fixed twitchy behaviour on Twitch, Facebook and Twatter. Here's a [blog post](https://stuff.tamius.net/sacred-texts/2019/08/24/ultrawidify-the-twitchy-twitch-problem/) that covers the issue in more detail.
|
||||||
|
@ -932,7 +932,7 @@ whatsNewChecked: true,
|
|||||||
},
|
},
|
||||||
"www.twitch.tv": {
|
"www.twitch.tv": {
|
||||||
mode: ExtensionMode.Enabled,
|
mode: ExtensionMode.Enabled,
|
||||||
autoar: currentBrowser.firefox ? ExtensionMode.Enabled : ExtensionMode.Disabled,
|
autoar: ExtensionMode.Enabled,
|
||||||
override: true,
|
override: true,
|
||||||
type: 'official',
|
type: 'official',
|
||||||
stretch: Stretch.Default,
|
stretch: Stretch.Default,
|
||||||
@ -966,7 +966,7 @@ whatsNewChecked: true,
|
|||||||
},
|
},
|
||||||
"old.reddit.com" : {
|
"old.reddit.com" : {
|
||||||
mode: ExtensionMode.Enabled,
|
mode: ExtensionMode.Enabled,
|
||||||
autoar: currentBrowser.firefox ? ExtensionMode.Enabled : ExtensionMode.Disabled,
|
autoar:ExtensionMode.Enabled,
|
||||||
override: false,
|
override: false,
|
||||||
type: 'testing',
|
type: 'testing',
|
||||||
stretch: Stretch.Default,
|
stretch: Stretch.Default,
|
||||||
@ -983,7 +983,7 @@ whatsNewChecked: true,
|
|||||||
},
|
},
|
||||||
"www.reddit.com" : {
|
"www.reddit.com" : {
|
||||||
mode: ExtensionMode.Enabled,
|
mode: ExtensionMode.Enabled,
|
||||||
autoar: currentBrowser.firefox ? ExtensionMode.Enabled : ExtensionMode.Disabled,
|
autoar: ExtensionMode.Enabled,
|
||||||
override: false,
|
override: false,
|
||||||
type: 'testing',
|
type: 'testing',
|
||||||
stretch: Stretch.Default,
|
stretch: Stretch.Default,
|
||||||
|
@ -201,7 +201,7 @@ class PlayerData {
|
|||||||
const allSelectors = document.querySelectorAll(this.settings.active.sites[host].DOM.player.querySelectors);
|
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
|
// 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
|
// Let's see how this works
|
||||||
if (this.collectionHas(allSelectors, element)) {
|
if (this.collectionHas(allSelectors, element)) {
|
||||||
@ -235,7 +235,7 @@ class PlayerData {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
while (element != undefined){
|
while (element){
|
||||||
// odstranimo čudne elemente, ti bi pokvarili zadeve
|
// odstranimo čudne elemente, ti bi pokvarili zadeve
|
||||||
// remove weird elements, those would break our stuff
|
// remove weird elements, those would break our stuff
|
||||||
if ( element.offsetWidth == 0 || element.offsetHeight == 0){
|
if ( element.offsetWidth == 0 || element.offsetHeight == 0){
|
||||||
|
Loading…
Reference in New Issue
Block a user