Vanwege onderhoudswerkzaamheden die uw ervaring zouden moeten verbeteren, heeft deze website beperkte functionaliteit. Als een artikel uw probleem niet verhelpt en u een vraag wilt stellen, kan onze ondersteuningsgemeenschap u helpen in @FirefoxSupport op Twitter en /r/firefox op Reddit.

Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Deze conversatie is gesloten en gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

the app:// protocol is blocked

  • 2 antwoorden
  • 2 hebben dit probleem
  • 1 weergave
  • Laatste antwoord van magicloud

more options

We have the following website: http://windowsapps.com that uses the app:// protocol to launch apps with our custom software, appWave.

With the latest versions of FireFox when clicking an app:// link in our site with our app installed, nothing happens.

I've reviewed the firefox source code and found OUT that the app protocol is blocked by default now

AppProtocolHandler.prototype = {

 classID: Components.ID("{b7ad6144-d344-4687-b2d0-b6b9dce1f07f}"),
 QueryInterface: XPCOMUtils.generateQI([Ci.nsIProtocolHandler]),
 scheme: "app",
 defaultPort: -1,
 // Don't allow loading from other protocols, and only from app:// if webapps is granted
 protocolFlags: Ci.nsIProtocolHandler.URI_NOAUTH |
                Ci.nsIProtocolHandler.URI_DANGEROUS_TO_LOAD |
                Ci.nsIProtocolHandler.URI_CROSS_ORIGIN_NEEDS_WEBAPPS_PERM,
 getAppInfo: function app_phGetAppInfo(aId) {
   if (!this._appInfo[aId]) {
     this._appInfo[aId] = appsService.getAppInfo(aId);
   }
   return this._appInfo[aId];
 }, 

Is there any way that my app can programatically onblock the app protocol?

We have the following website: http://windowsapps.com that uses the app:// protocol to launch apps with our custom software, appWave. With the latest versions of FireFox when clicking an app:// link in our site with our app installed, nothing happens. I've reviewed the firefox source code and found OUT that the app protocol is blocked by default now AppProtocolHandler.prototype = { classID: Components.ID("{b7ad6144-d344-4687-b2d0-b6b9dce1f07f}"), QueryInterface: XPCOMUtils.generateQI([Ci.nsIProtocolHandler]), scheme: "app", defaultPort: -1, // Don't allow loading from other protocols, and only from app:// if webapps is granted protocolFlags: Ci.nsIProtocolHandler.URI_NOAUTH | Ci.nsIProtocolHandler.URI_DANGEROUS_TO_LOAD | Ci.nsIProtocolHandler.URI_CROSS_ORIGIN_NEEDS_WEBAPPS_PERM, getAppInfo: function app_phGetAppInfo(aId) { if (!this._appInfo[aId]) { this._appInfo[aId] = appsService.getAppInfo(aId); } return this._appInfo[aId]; }, Is there any way that my app can programatically onblock the app protocol?

Alle antwoorden (2)

more options

May I suggest a search on https://developer.mozilla.org/en-US/? You may find some helpful information there.

more options