MCPcopy
hub / github.com/Tampermonkey/tampermonkey / scriptClick

Function scriptClick

src/options.js:1579–1587  ·  view source on GitHub ↗
(e, noselect)

Source from the content-addressed store, hash-verified

1577 };
1578
1579 var scriptClick = function(e, noselect) {
1580 if (!tab) createTab();
1581 if (scriptdetails.onShow) scriptdetails.onShow();
1582 tab.show();
1583 if ((!e || e.button != 1) && !noselect) {
1584 tab.select();
1585 }
1586 sname_name.setAttribute('open', 'true');
1587 };
1588
1589 if (sname_name.getAttribute('open') == 'true') {
1590 // update currently open tabs too

Callers 2

createScriptItemFunction · 0.70
showFunction · 0.70

Calls 1

createTabFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…