precz / wpaana

Web page as an native application.
GNU General Public License v3.0
23 stars 3 forks source link

Browser type should be set. #2

Closed precz closed 5 years ago

precz commented 6 years ago

https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/browser

michaldybczak commented 6 years ago

Yeap. Without it my app doesn't recognize the browser and all I can see is that it doesn't support this browser.

timretout commented 5 years ago

@precz I don't understand this bug - in app.xul I see - what am I missing?

@michaldybczak I believe your issue might be caused by User-Agent sniffing, which I have filed as issue #3 and patched in pull request #4 .

timretout commented 5 years ago

I'm guessing that this issue is referring to the github anti-framing code triggering, which suggests that window != window.top.

When I change "content-primary" to "content" in app.xul, that message goes away. I'm not sure why this should be different.