-
Notifications
You must be signed in to change notification settings - Fork 583
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
odd behaviour when "Google Analytics Opt-out Add-on" is installed #205
Comments
This is a problem with the addon, not with mailcatcher. |
thats possible, but it does not add this snippet to everything, So I assumed its easy to fix on mailcatchers side by adjusting the js/fetching method. |
I'd be happy to accept a patch improving JavaScript message retrieval. |
providing a patch will not be possible for me, as iam not experienced with ruby applications and how to run them locally. But I think I found the causing part of the code here:
what exactly should this replace do? The problem occurs, because the plugin already injected the <script> tag when Why does the script tag land there at all? because its an iframe, and it injects the script tag on document load I assume. It seems for me, as there is in general an odd handling of script tags. Why not remove them fully, or encode them? |
Ah right. This should be fixed by #242, then. |
if "Google Analytics Opt-out Add-on" is installed, mailcatcher has the following code as part of the mail plain text view:
window["_gaUserPrefs"] = { ioo : function() { return true; } }
https://chrome.google.com/webstore/detail/google-analytics-opt-out/fllaojicojecljbmefodhfapmkghcbnh
The text was updated successfully, but these errors were encountered: