-
Notifications
You must be signed in to change notification settings - Fork 0
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
Extension blocks more than Simple Analytics' own script #3
Comments
I wonder if there might possibly be some sort of namespace collision that could be causing this. |
Is there an easy way to check that? I'm more of a design guy, Javascript is not my forte.
Oh well I think I just discovered why in background.js: Line 281 in 7562ea2
Not sure why this is done? |
Oops, that should not happen of course. We check for certain file names when a user clicks the extension button. When the file name matches a certain filter we block it. That's to prevent a request to our servers to see if the script is actually a Simple Analytics script. We can't check that within the extension. We have to make this better, I wonder how we should do this though. We do send a Simple Analytics header ( The options tab of the extension shows the URLs that are blocked. Does that also show the URL you don't want to have blocked? |
You are right, thanks for explaining. Will keep this in mind when working on the extension again. There should be a nice solution for it. |
When I use the Chrome extension to block my own visites, my site's admin interface stops working.
The CMS I use is Kirby, and it seems the extension blocks their API (https://getkirby.com/docs/guide/api/introduction).
I get errors like "Failed to fetch" or "The panel cannot connect to the API".
So I wonder if the extension could be more specific about what it blocks?
As an alternative I can probably block Simple Analytics' requests by creating a rule in µBlock.
Something like
mysite.com simpleanalytics.com * block
should do the trick.The text was updated successfully, but these errors were encountered: