MCPcopy
hub / github.com/zxlie/FeHelper / updateProgressTip

Function updateProgressTip

apps/page-timing/content-script.js:228–236  ·  view source on GitHub ↗
(message, progress)

Source from the content-addressed store, hash-verified

226
227 // 更新提示框内容
228 function updateProgressTip(message, progress) {
229 const tipContainer = document.getElementById('fe-helper-timing-tip') || createProgressTip();
230 tipContainer.innerHTML = `
231 <div>${message}</div>
232 ${progress ? `<div style="margin-top:8px;background:rgba(255,255,255,0.2);height:2px;border-radius:1px">
233 <div style="width:${progress}%;height:100%;background:#4CAF50;border-radius:1px"></div>
234 </div>` : ''}
235 `;
236 }
237
238 // 移除提示框
239 function removeProgressTip() {

Callers 3

content-script.jsFile · 0.85
sendWpoInfoFunction · 0.85
getHttpHeadersFunction · 0.85

Calls 1

createProgressTipFunction · 0.85

Tested by

no test coverage detected