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

Function initTooltip

popup/index.js:667–676  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

665// #region others
666
667function initTooltip() {
668 settingsBtn.setAttribute(
669 "data-tooltip",
670 t({ vi: "Cài đặt", en: "Settings" })
671 );
672 openInNewTabBtn.setAttribute(
673 "data-tooltip",
674 t({ vi: "Mở trong cửa sổ mới", en: "Open in new window" })
675 );
676}
677
678const updateTargetTab = UfsGlobal.Utils.debounce(async () => {
679 let targetTab = await getCurrentTab();

Callers 2

initSettingsFunction · 0.85
index.jsFile · 0.85

Calls 1

tFunction · 0.90

Tested by

no test coverage detected