1MindLabs / 1MindLabs/mivro-extension

Chrome extension does not update on page reload

未關閉
#6 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug good first issue
主要語言
JavaScript
星號
4
分支
3
PR 合併指標
30 天內沒有已合併 PR

描述

## Description:
When using the Mivro Chrome extension, if a user reloads the webpage without opening a new tab, the extension continues to display information for the previously loaded product. This behavior persists even after navigating to a new product, leading to incorrect product details being shown.

## Steps to Reproduce:

Open a webpage with the Mivro Chrome extension enabled.
Load a product and view its nutritional details.
Without opening a new tab, search for and navigate to a different product on the same webpage.
Observe that the extension still displays details for the previous product.
Expected Behavior:
The extension should automatically refresh and display the correct details for the newly loaded product upon page reload or when navigating to a new product.

## Actual Behavior:
The extension continues to show the nutritional details of the previous product, even when a new product is loaded.

## Possible Solution:
Investigate the content script's event listeners and ensure that the script correctly detects when the webpage content has changed. Consider adding a listener for dynamic content changes or a method to refresh the data when a page reloads without opening a new tab.

## Additional Information:
Chrome version: 129.0.6628.3 (Official Build) dev (64-bit)
Operating system: Windows 11 [24H2]

Priority: High

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

Look at the content script's event listeners for page navigation or content changes. The issue mentions the script may not detect dynamic content updates. Start by examining the extension's manifest.json to find the content script, then check how it currently fetches product data. Test by reloading a page and seeing if the script re-executes. 'Done' is when the extension updates correctly on page reload without a new tab.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
描述清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。