MCPcopy Create free account
hub / github.com/Tampermonkey/tampermonkey / markSort

Function markSort

src/fire.js:154–170  ·  view source on GitHub ↗
(a, a_up, a_down)

Source from the content-addressed store, hash-verified

152 var t = crc('div', "settingsth", i.name, i.id, ext);
153
154 var markSort = function(a, a_up, a_down) {
155 var mu = document.getElementsByName('settingsth_a_up' + i.name);
156 var md = document.getElementsByName('settingsth_a_down' + i.name);
157 var mh;
158 var ms;
159 for (var e=0; e<mu.length; e++) {
160 mu[e].style.display = 'none';
161 }
162 for (var e=0; e<md.length; e++) {
163 md[e].style.display = 'none';
164 }
165 if (scriptOrderDown) {
166 a_up.style.display = '';
167 } else {
168 a_down.style.display = '';
169 }
170 };
171
172 var a = crc('a', "settingsth_a", i.name, i.id, ext + '_a');
173 a.setAttribute('name', 'settingsth_a' + i.name);

Callers 1

mSFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…