MCPcopy Create free account
hub / github.com/Useful-Scripts-Extension/useful-script / f

Function f

scripts/backup/scripts.js:154–166  ·  view source on GitHub ↗
(index)

Source from the content-addressed store, hash-verified

152 $(".up").each(function () {
153 var that = this;
154 var f = function (index) {
155 $(that).trigger("click");
156 $(that).trigger("mousedown");
157 setTimeout(function () {
158 if (q[index]) {
159 q[index](index + 1);
160 } else {
161 if (upVoteTimer) {
162 window.clearTimeout(upVoteTimer);
163 }
164 }
165 }, 500);
166 };
167 q.push(f);
168 });
169 var upVoteTimer = window.setTimeout(function () {

Callers 4

whenDOMReadyFunction · 0.70
getImgSrcsFromElementFunction · 0.50

Calls 1

$Function · 0.50

Tested by

no test coverage detected