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

Function initBrowserAction

src/background.js:5763–5767  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5761};
5762
5763var initBrowserAction = function() {
5764 chrome.browserAction.setIcon( { path: chrome.extension.getURL("images/icon_grey.png") } );
5765 chrome.browserAction.setPopup( { popup: "action.html" } );
5766 chrome.browserAction.setTitle( { title: "Tampermonkey" });
5767};
5768
5769var setBadge = function(tabId) {
5770 var c = 0;

Callers 1

background.jsFile · 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…