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

Function createProgressTip

apps/page-timing/content-script.js:207–225  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

205
206 // 创建进度提示框
207 function createProgressTip() {
208 const tipContainer = document.createElement('div');
209 tipContainer.id = 'fe-helper-timing-tip';
210 tipContainer.style.cssText = `
211 position: fixed;
212 top: 20px;
213 right: 20px;
214 background: rgba(0, 0, 0, 0.8);
215 color: white;
216 padding: 15px 20px;
217 border-radius: 8px;
218 font-size: 14px;
219 z-index: 999999;
220 box-shadow: 0 2px 10px rgba(0,0,0,0.2);
221 transition: opacity 0.3s;
222 `;
223 document.body.appendChild(tipContainer);
224 return tipContainer;
225 }
226
227 // 更新提示框内容
228 function updateProgressTip(message, progress) {

Callers 1

updateProgressTipFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected