damianmgarcia / Hide-n-Seek

Hide promoted jobs and companies on LinkedIn, Indeed, and Glassdoor.
https://damianmgarcia.com
34 stars 4 forks source link

Missing extension button badge after pressing back/forward buttons on Indeed #20

Closed damianmgarcia closed 1 year ago

damianmgarcia commented 1 year ago

The extension's button badge disappears when pressing the back or forward browser buttons between job search result pages on Indeed.

The Hide n' Seek content script currently only notifies the background script and popup script, which are responsible for updating the badge, whenever there are changes to the Hide n' Seek UI. However, when bfcache is in use, the content-script persists in memory, and thus going backward/forward doesn't cause any changes to the Hide n' Seek UI that would normally trigger the content-script to notify the background and popup scripts.

A fix for this issue will be released soon.

Screenshot 2023-08-24 174336