firefox addon sdk - Unable to check private browsing for Android -
we developing addon android mobile, using sdk1.17, need check private-browsing, unable this. of have gone through many documentation pages check private window state/detection none of solution working in case of android firefox.
below implementation tried
1. require('sdk/private-browsing/utils').ignorewindow(window) : returning false when opted private browsing , nothing return in case of private window mode when not opted private browsing 2. require("sdk/private-browsing").isprivate(tab) : returning false when opted private browsing 3. checked other solutions on other forums
device details on checking: 1. samsung - s4 2. android 4.4.2 3. firefox nightly build 39.0a1
could please suggest solution below expectations? 1. want detach content script private window in onattach event of page-mod 2. want identify if request/response from/to private window (while intercepting request/response using observer)
Comments
Post a Comment