@dareid opened this Issue on November 7th 2014

Using Piwik in a packaged chrome app produces the following error when including the piwik.js:

"beforeunload is not available in packaged apps"

Please see https://gist.github.com/dareid/eaf87732c5f79e0dfef1 as an example, load this into chrome as a unpacked extension (also demonstrates #6577)

@tsteur commented on November 9th 2014 Owner

Can you try if it works with Chrome Apps? It maybe won't fix your issue and I don't know how much work it is to migrate but it might we worth it as packaged apps are "deprecated" anyway from what I know.

@dareid commented on November 10th 2014

I apologise, wrong terminology. This bug was from a chrome app

@mattab commented on April 7th 2015 Owner

@tsteur any thought about next step on this issue? I'm wondering if it's a bug that we should fix in short term or not

@tsteur commented on April 7th 2015 Owner

I'd say bugs in piwik.js should be fixed in short term if possible.

@dareid what is the impact of that error? Does it track at all?

It seems like it already fails when it tries to add the event listener. A solution would be to just not listen to this event inside a chrome app? Maybe an event suspend would work as an alternative.

@mattab commented on September 11th 2015 Owner

If anyone else experiences this issue, please let us know, we need to know if it's important to fix or not :-)

@tsteur commented on August 21st 2016 Owner

FYI: By 2018 Google will remove Chrome Apps from Windows, Mac, ... see https://9to5google.com/2016/08/19/chrome-apps-removed-mac-windows-linux/ However, they will remain on Chrome OS

@mattab commented on June 19th 2017 Owner

FYI: By 2018 Google will remove Chrome Apps from Windows, Mac,

Since this will be deprecated soon we assume there is nothing to do here. Closing

This Issue was closed on June 19th 2017
Powered by GitHub Issue Mirror