79143990

Date: 2024-10-31 08:48:45
Score: 1.5
Natty:
Report link

It Works On Reloading the browser but not all the time.

The solution metioned by @Martin Schneider works but if u are working with manifest v3 then try using

chrome.scripting.executeScript

Instead of

chrome.tabs.executeScript

Also make sure if having host_permission should match the content_scripts matches in the manifest file

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Martin
  • Low reputation (1):
Posted by: The Life Player Joel