MCPcopy Index your code
hub / github.com/hoothin/UserScripts / hideAddedElements

Method hideAddedElements

Pagetual/pagetual.user.js:6043–6050  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6041 }
6042
6043 hideAddedElements() {
6044 if (this.addedElePool && this.addedElePool.length) {
6045 this.addedElePool.forEach(ele => {
6046 ele.classList && ele.classList.add("pagetual-hide");
6047 });
6048 }
6049 this.addedElementsIsHide = true;
6050 }
6051
6052 toggleAddedElements() {
6053 if (this.addedElementsIsHide) {

Callers 2

toggleAddedElementsMethod · 0.95
initMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected