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
detecting java plugin on edge browser? #12117
Comments
Hi, can you enter navigator.mimetypes into the JavaScript console and paste the result here? See also here: https://github.com/piwik/piwik/blob/3.x-dev/js/piwik.js#L5423 |
Had a short look at an Edge browser. It seems to have an built in PDF viewer, and maybe it automatically uses JAVA if installed. |
I agree. See also: https://forum.piwik.org/t/cookie-browser-plugin/25711 |
That would be the case only if you use User ID https://piwik.org/docs/user-id/ and if user connected from different devices with the same user id |
Yes, we are using a consistent UserId across all devices: every user must log in. So we know who they are. Is there a way to configure piwik to only record the plugins from the most recent few visits? (say 2 or 3 visits?) |
Looking at the source code, there is separate java detection https://github.com/piwik/piwik/blob/3.x-dev/js/piwik.js#L5459. So i asked him to type |
https://html.spec.whatwg.org/multipage/system-state.html#dom-navigator-javaenabled
|
How does piwik aggregate browser plugins cross different visitor sessions (with UserId enabled)? Is it the last N sessions? All detected plugins for all time? I'm using Piwik to understand what browser plugins our users have installed. Then I can go visit each user and say "hey, you should really disable Flash". But I need to know what the user had enabled on their last visit (or 2)... Is this possible? |
The plugin detection is done once per visit. so each "Session" (ie. visit) will have their own set of plugins. |
@mattab thanks for the quick reply. The visitor profile shows the plugin info only at the top of the page. Is this for the most recent visit? Or is it some aggregation of all the visits? I'm trying to figure out why an Edge user is shown as having a Java plugin enabled when Java has been removed from his computer (in the last few weeks) and Edge does not support plugins (eg Java). |
Are you using latest Piwik version? in the latest version you can see plugins for each individual visit by clicking on the visit row itself |
No idea about that |
It's right that Edge dropped support for any plugin. But there could be another reason for this "incorrect" data. The browser plugins are detected using javascript, whereas the browser itself is detected by parsing the user agent. Actually someone could use firefox with an extension to change the useragent. That way Piwik would detect the plugins the firefox has, but would be reported as another browser according to the useragent. |
@sgiehl fair point. In this specific case I observed the user open Edge. He has no reason to fake his user agent (and probably doesn't know how). We took the console screenshots above from his screen. We have many similar Edge users with piwik reporting Java (and Flash in some cases). Anything I can do to help diagnose this? |
@pavarnos On my Edge |
Crazy! Thanks for the PR
|
Hi. Piwik appears to detect Java and PDF plugins for MS Edge, but Edge does not allow plugins?
The text was updated successfully, but these errors were encountered: