Skip to content

Commit 801b7f2

Browse files
Release build 4.4.4 [ci release]
1 parent 03be8be commit 801b7f2

File tree

8 files changed

+107
-107
lines changed

8 files changed

+107
-107
lines changed

Sources/ContentScopeScripts/dist/contentScope.js

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8679,14 +8679,14 @@
86798679
// Solves re-entrancy issues from React
86808680
if (this.#connected) return
86818681
this.#connected = true;
8682-
if (!this.#transplantElement) {
8682+
if (!this._transplantElement) {
86838683
// Restore the 'this' object with the DDGRuntimeChecks prototype as sometimes pages will overwrite it.
86848684
Object.setPrototypeOf(this, DDGRuntimeChecks.prototype);
86858685
}
8686-
this.#transplantElement();
8686+
this._transplantElement();
86878687
}
86888688

8689-
#monitorProperties (el) {
8689+
_monitorProperties (el) {
86908690
// Mutation oberver and observedAttributes don't work on property accessors
86918691
// So instead we need to monitor all properties on the prototypes and forward them to the real element
86928692
let propertyNames = [];
@@ -8719,7 +8719,7 @@
87198719
* The element has been moved to the DOM, so we can now reflect all changes to a real element.
87208720
* This is to allow us to interrogate the real element before it is moved to the DOM.
87218721
*/
8722-
#transplantElement () {
8722+
_transplantElement () {
87238723
// Creeate the real element
87248724
const el = initialCreateElement.call(document, this.#tagName);
87258725

@@ -8779,7 +8779,7 @@
87798779
this.insertAdjacentElement('afterend', el);
87808780
} catch (e) { console.warn(e); }
87818781

8782-
this.#monitorProperties(el);
8782+
this._monitorProperties(el);
87838783
// TODO pollyfill WeakRef
87848784
this.#el = new WeakRef(el);
87858785

@@ -8789,14 +8789,14 @@
87898789
}, elementRemovalTimeout);
87908790
}
87918791

8792-
#getElement () {
8792+
_getElement () {
87938793
return this.#el?.deref()
87948794
}
87958795

87968796
/* Native DOM element methods we're capturing to supplant values into the constructed node or store data for. */
87978797

87988798
set src (value) {
8799-
const el = this.#getElement();
8799+
const el = this._getElement();
88008800
if (el) {
88018801
el.src = value;
88028802
return
@@ -8805,7 +8805,7 @@
88058805
}
88068806

88078807
get src () {
8808-
const el = this.#getElement();
8808+
const el = this._getElement();
88098809
if (el) {
88108810
return el.src
88118811
}
@@ -8822,7 +8822,7 @@
88228822
if (supportedSinks.includes(name)) {
88238823
return this[name]
88248824
}
8825-
const el = this.#getElement();
8825+
const el = this._getElement();
88268826
if (el) {
88278827
return el.getAttribute(name)
88288828
}
@@ -8835,7 +8835,7 @@
88358835
this[name] = value;
88368836
return
88378837
}
8838-
const el = this.#getElement();
8838+
const el = this._getElement();
88398839
if (el) {
88408840
return el.setAttribute(name, value)
88418841
}
@@ -8848,7 +8848,7 @@
88488848
delete this[name];
88498849
return
88508850
}
8851-
const el = this.#getElement();
8851+
const el = this._getElement();
88528852
if (el) {
88538853
return el.removeAttribute(name)
88548854
}
@@ -8857,7 +8857,7 @@
88578857

88588858
addEventListener (...args) {
88598859
if (shouldFilterKey(this.#tagName, 'listener', args[0])) return
8860-
const el = this.#getElement();
8860+
const el = this._getElement();
88618861
if (el) {
88628862
return el.addEventListener(...args)
88638863
}
@@ -8866,7 +8866,7 @@
88668866

88678867
removeEventListener (...args) {
88688868
if (shouldFilterKey(this.#tagName, 'listener', args[0])) return
8869-
const el = this.#getElement();
8869+
const el = this._getElement();
88708870
if (el) {
88718871
return el.removeEventListener(...args)
88728872
}
@@ -8889,15 +8889,15 @@
88898889
}
88908890

88918891
remove () {
8892-
const el = this.#getElement();
8892+
const el = this._getElement();
88938893
if (el) {
88948894
return el.remove()
88958895
}
88968896
return super.remove()
88978897
}
88988898

88998899
removeChild (child) {
8900-
const el = this.#getElement();
8900+
const el = this._getElement();
89018901
if (el) {
89028902
return el.removeChild(child)
89038903
}

build/android/contentScope.js

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8679,14 +8679,14 @@
86798679
// Solves re-entrancy issues from React
86808680
if (this.#connected) return
86818681
this.#connected = true;
8682-
if (!this.#transplantElement) {
8682+
if (!this._transplantElement) {
86838683
// Restore the 'this' object with the DDGRuntimeChecks prototype as sometimes pages will overwrite it.
86848684
Object.setPrototypeOf(this, DDGRuntimeChecks.prototype);
86858685
}
8686-
this.#transplantElement();
8686+
this._transplantElement();
86878687
}
86888688

8689-
#monitorProperties (el) {
8689+
_monitorProperties (el) {
86908690
// Mutation oberver and observedAttributes don't work on property accessors
86918691
// So instead we need to monitor all properties on the prototypes and forward them to the real element
86928692
let propertyNames = [];
@@ -8719,7 +8719,7 @@
87198719
* The element has been moved to the DOM, so we can now reflect all changes to a real element.
87208720
* This is to allow us to interrogate the real element before it is moved to the DOM.
87218721
*/
8722-
#transplantElement () {
8722+
_transplantElement () {
87238723
// Creeate the real element
87248724
const el = initialCreateElement.call(document, this.#tagName);
87258725

@@ -8779,7 +8779,7 @@
87798779
this.insertAdjacentElement('afterend', el);
87808780
} catch (e) { console.warn(e); }
87818781

8782-
this.#monitorProperties(el);
8782+
this._monitorProperties(el);
87838783
// TODO pollyfill WeakRef
87848784
this.#el = new WeakRef(el);
87858785

@@ -8789,14 +8789,14 @@
87898789
}, elementRemovalTimeout);
87908790
}
87918791

8792-
#getElement () {
8792+
_getElement () {
87938793
return this.#el?.deref()
87948794
}
87958795

87968796
/* Native DOM element methods we're capturing to supplant values into the constructed node or store data for. */
87978797

87988798
set src (value) {
8799-
const el = this.#getElement();
8799+
const el = this._getElement();
88008800
if (el) {
88018801
el.src = value;
88028802
return
@@ -8805,7 +8805,7 @@
88058805
}
88068806

88078807
get src () {
8808-
const el = this.#getElement();
8808+
const el = this._getElement();
88098809
if (el) {
88108810
return el.src
88118811
}
@@ -8822,7 +8822,7 @@
88228822
if (supportedSinks.includes(name)) {
88238823
return this[name]
88248824
}
8825-
const el = this.#getElement();
8825+
const el = this._getElement();
88268826
if (el) {
88278827
return el.getAttribute(name)
88288828
}
@@ -8835,7 +8835,7 @@
88358835
this[name] = value;
88368836
return
88378837
}
8838-
const el = this.#getElement();
8838+
const el = this._getElement();
88398839
if (el) {
88408840
return el.setAttribute(name, value)
88418841
}
@@ -8848,7 +8848,7 @@
88488848
delete this[name];
88498849
return
88508850
}
8851-
const el = this.#getElement();
8851+
const el = this._getElement();
88528852
if (el) {
88538853
return el.removeAttribute(name)
88548854
}
@@ -8857,7 +8857,7 @@
88578857

88588858
addEventListener (...args) {
88598859
if (shouldFilterKey(this.#tagName, 'listener', args[0])) return
8860-
const el = this.#getElement();
8860+
const el = this._getElement();
88618861
if (el) {
88628862
return el.addEventListener(...args)
88638863
}
@@ -8866,7 +8866,7 @@
88668866

88678867
removeEventListener (...args) {
88688868
if (shouldFilterKey(this.#tagName, 'listener', args[0])) return
8869-
const el = this.#getElement();
8869+
const el = this._getElement();
88708870
if (el) {
88718871
return el.removeEventListener(...args)
88728872
}
@@ -8889,15 +8889,15 @@
88898889
}
88908890

88918891
remove () {
8892-
const el = this.#getElement();
8892+
const el = this._getElement();
88938893
if (el) {
88948894
return el.remove()
88958895
}
88968896
return super.remove()
88978897
}
88988898

88998899
removeChild (child) {
8900-
const el = this.#getElement();
8900+
const el = this._getElement();
89018901
if (el) {
89028902
return el.removeChild(child)
89038903
}

build/chrome-mv3/inject.js

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8613,14 +8613,14 @@
86138613
// Solves re-entrancy issues from React
86148614
if (this.#connected) return
86158615
this.#connected = true;
8616-
if (!this.#transplantElement) {
8616+
if (!this._transplantElement) {
86178617
// Restore the 'this' object with the DDGRuntimeChecks prototype as sometimes pages will overwrite it.
86188618
Object.setPrototypeOf(this, DDGRuntimeChecks.prototype);
86198619
}
8620-
this.#transplantElement();
8620+
this._transplantElement();
86218621
}
86228622

8623-
#monitorProperties (el) {
8623+
_monitorProperties (el) {
86248624
// Mutation oberver and observedAttributes don't work on property accessors
86258625
// So instead we need to monitor all properties on the prototypes and forward them to the real element
86268626
let propertyNames = [];
@@ -8653,7 +8653,7 @@
86538653
* The element has been moved to the DOM, so we can now reflect all changes to a real element.
86548654
* This is to allow us to interrogate the real element before it is moved to the DOM.
86558655
*/
8656-
#transplantElement () {
8656+
_transplantElement () {
86578657
// Creeate the real element
86588658
const el = initialCreateElement.call(document, this.#tagName);
86598659

@@ -8713,7 +8713,7 @@
87138713
this.insertAdjacentElement('afterend', el);
87148714
} catch (e) { console.warn(e); }
87158715

8716-
this.#monitorProperties(el);
8716+
this._monitorProperties(el);
87178717
// TODO pollyfill WeakRef
87188718
this.#el = new WeakRef(el);
87198719

@@ -8723,14 +8723,14 @@
87238723
}, elementRemovalTimeout);
87248724
}
87258725

8726-
#getElement () {
8726+
_getElement () {
87278727
return this.#el?.deref()
87288728
}
87298729

87308730
/* Native DOM element methods we're capturing to supplant values into the constructed node or store data for. */
87318731

87328732
set src (value) {
8733-
const el = this.#getElement();
8733+
const el = this._getElement();
87348734
if (el) {
87358735
el.src = value;
87368736
return
@@ -8739,7 +8739,7 @@
87398739
}
87408740

87418741
get src () {
8742-
const el = this.#getElement();
8742+
const el = this._getElement();
87438743
if (el) {
87448744
return el.src
87458745
}
@@ -8756,7 +8756,7 @@
87568756
if (supportedSinks.includes(name)) {
87578757
return this[name]
87588758
}
8759-
const el = this.#getElement();
8759+
const el = this._getElement();
87608760
if (el) {
87618761
return el.getAttribute(name)
87628762
}
@@ -8769,7 +8769,7 @@
87698769
this[name] = value;
87708770
return
87718771
}
8772-
const el = this.#getElement();
8772+
const el = this._getElement();
87738773
if (el) {
87748774
return el.setAttribute(name, value)
87758775
}
@@ -8782,7 +8782,7 @@
87828782
delete this[name];
87838783
return
87848784
}
8785-
const el = this.#getElement();
8785+
const el = this._getElement();
87868786
if (el) {
87878787
return el.removeAttribute(name)
87888788
}
@@ -8791,7 +8791,7 @@
87918791

87928792
addEventListener (...args) {
87938793
if (shouldFilterKey(this.#tagName, 'listener', args[0])) return
8794-
const el = this.#getElement();
8794+
const el = this._getElement();
87958795
if (el) {
87968796
return el.addEventListener(...args)
87978797
}
@@ -8800,7 +8800,7 @@
88008800

88018801
removeEventListener (...args) {
88028802
if (shouldFilterKey(this.#tagName, 'listener', args[0])) return
8803-
const el = this.#getElement();
8803+
const el = this._getElement();
88048804
if (el) {
88058805
return el.removeEventListener(...args)
88068806
}
@@ -8823,15 +8823,15 @@
88238823
}
88248824

88258825
remove () {
8826-
const el = this.#getElement();
8826+
const el = this._getElement();
88278827
if (el) {
88288828
return el.remove()
88298829
}
88308830
return super.remove()
88318831
}
88328832

88338833
removeChild (child) {
8834-
const el = this.#getElement();
8834+
const el = this._getElement();
88358835
if (el) {
88368836
return el.removeChild(child)
88378837
}

build/chrome/inject.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/firefox/inject.js

Lines changed: 16 additions & 16 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)