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

Function resetScript

src/options.js:1296–1306  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1294 };
1295
1296 var resetScript = function() {
1297 var c = confirm(I18N.getMessage("Really_reset_all_changes_"));
1298 if (c) {
1299 if (container.editor && gOptions.editor_enabled) {
1300 // set value clears history too
1301 container.editor.mirror.setValue(i.code);
1302 } else {
1303 input.textContent = i.code;
1304 }
1305 }
1306 };
1307
1308 var lintScript = function() {
1309 Please.wait();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…