Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not catching script when script added after first click on extension #4

Open
adriaandotcom opened this issue Nov 15, 2023 · 0 comments

Comments

@adriaandotcom
Copy link
Contributor

adriaandotcom commented Nov 15, 2023

If you visit a website (a domain) for the first time, and that page doesn't load the tracking script, you'll have an empty entry for that domain (listed as "no scripts") on the options page.

However, when you visit a page on the same domain that has the tracking script, the list of scripts doesn't seem to get updated.

I manually deleted the entry for that domain from the extension's local storage, and it updated correctly on the next page load.

I think that in background.js (in the extension), the checkForScripts() should be called more often (not sure how often though).

Thanks to a very helpful customer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant