Skip to content

Chrome extension does not update on page reload #6

@SpaceTesla

Description

@SpaceTesla

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions