MCPcopy Index your code
hub / github.com/hoothin/UserScripts / showFirstAlert

Function showFirstAlert

Pagetual/pagetual.user.js:9570–9576  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9568 if (!inUpdate && rulesData.uninited) {
9569 let showTimes = 0;
9570 let showFirstAlert = () => {
9571 if (inUpdate || importing || ++showTimes > 5) return;
9572 showTips(i18n("firstAlert"), configPage[0], 2000);
9573 setTimeout(() => {
9574 showFirstAlert();
9575 }, 3000);
9576 };
9577 showFirstAlert();
9578 }
9579 let defaultOption = document.querySelector('#discussion_rating_4');

Callers 1

initConfigFunction · 0.85

Calls 2

showTipsFunction · 0.85
i18nFunction · 0.70

Tested by

no test coverage detected