@pavarnos opened this Issue on September 25th 2017

Hi. Piwik appears to detect Java and PDF plugins for MS Edge, but Edge does not allow plugins?

screen_shot_2017-09-26_at_12_09_34_pm
@Findus23 commented on September 26th 2017 Member

Hi, can you enter navigator.mimetypes into the JavaScript console and paste the result here?
Piwik is checking for application/x-java-vm and application/pdf

See also here: https://github.com/piwik/piwik/blob/3.x-dev/js/piwik.js#L5423

@sgiehl commented on September 27th 2017 Member

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.
Maybe at some point we shouldn't name it "Plugins" anymore, as it more or less represents supported "technologies" and not real plugins anymore...

@Findus23 commented on September 27th 2017 Member

Maybe at some point we shouldn't name it "Plugins" anymore, as it more or less represents supported "technologies" and not real plugins anymore...

I agree. See also: https://forum.piwik.org/t/cookie-browser-plugin/25711

@pavarnos commented on September 27th 2017

sorry for the delay: my user is in a time zone 13 hours different to mine. Takes a while to arrange a meeting... his navigator.mimetypes below. I just checked a more recent login and it is still showing the same as the original image above. Perhaps piwik is aggregating / collating across many different sessions (from different devices) instead of showing the plugins just from the current (most recent) session / device?

edge_navigator_mimetypes
@mattab commented on September 27th 2017 Owner

Perhaps piwik is aggregating / collating across many different sessions (from different devices)

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

@pavarnos commented on September 27th 2017

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?)

@pavarnos commented on September 27th 2017

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 navigator.javaEnabled() in his browser. Result is true. He recently ran the Java removal tool from oracle, so hopefully it is gone from his computer? Odd that Edge (which supports no plugins) has this returning true?

@pavarnos commented on September 27th 2017

https://html.spec.whatwg.org/multipage/system-state.html#dom-navigator-javaenabled

The navigator.javaEnabled() method must return true if the user agent supports a plugin that supports the MIME type "application/x-java-vm"; otherwise it must return false.
@pavarnos commented on October 17th 2017

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?
Are there any configuration settings to change this?

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?

@mattab commented on October 17th 2017 Owner

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? Are there any configuration settings to change this?

The plugin detection is done once per visit. so each "Session" (ie. visit) will have their own set of plugins.

Powered by GitHub Issue Mirror