damianmgarcia / Hide-n-Seek

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

Hide n' Seek 4.1.1 #5

Closed damianmgarcia closed 1 year ago

damianmgarcia commented 1 year ago

A few days after updating from 4.0.0 to 4.1.0, the Hide n' Seek UI failed to display on Indeed and LinkedIn job search tabs.

This issue persisted even after reloading the tabs. Restarting Chrome resolved this issue, but what was the cause? Two uncaught promise rejection errors in background.js were logged:

However, I do not know if these errors caused the issue. These errors seem to occur when background.js queries tabs, then tries to inject the content script into applicable tabs, and fails. The cause of the injection failure may be due to the use of an incorrect or obsolete tab id, in which case the tab id must have changed or was lost between tab querying and script injection.