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

Function show

X-Downloader/X-Downloader.user.js:116–121  ·  view source on GitHub ↗
(ele)

Source from the content-addressed store, hash-verified

114 }
115 }
116 const show = (ele) => {
117 ele.appendChild(downloadBtn);
118 setTimeout(() => {
119 downloadBtn.style.opacity = touch ? 0.8 : 0.6;
120 }, 0);
121 };
122 const addBtn = e => {
123 if (e.target.dataset && e.target.dataset.testid == "card.layoutLarge.media") {
124 show(e.target.parentNode);

Callers 2

addBtnFunction · 0.85
touchCheckFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected