#1 2016-07-11 22:08:33

svanneste
Member
From: Paris, France
Registered: 2015-05-27
Posts: 155

The WebExtension sample and WebExtensions development

Hello David,
The concept of WebExtension seems really interesting. Thanks for the new sample provided. But I can absolutely not get it to work :

  • Debugger, Firefox, Internet Explorer : show the controls with no effects

  • Edge, Opera, Chrome : show no control at all in debug or run mode

More : please, could you explain what we should do with the files in the App_Compiled directory ? I can see a manifest and a www folder but I was not able to find if they have to be packed and how.

I am lost : should the WebExtension sample do something in Debug mode ? Many thanks David

Last edited by svanneste (2016-07-11 22:09:01)

Offline

#2 2016-07-11 23:57:09

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,660
Website

Re: The WebExtension sample and WebExtensions development

Hello Samuel,

Yes; I am very happy with the WebExtensions concept, but remember! They are a relative new concept, so currently we can only try (or I try) with Chrome and Opera. Firefox 50 (nightly build) is also ready, but with some rare behaviour. Microsoft Edge promises to their users a way to convert WebExtensions into their own extensions... I think they must do, since WebExtensions are ready to stay in all other modern browsers... unfortunatelly maybe Internet Explorer is out of this field, but I am not sure about Internet Explorer 11 in the near future: may can finally support it.

So in order to clarify some points:

1º Our applications can run as WebExtensions "as is", but of course we can't use WebExtensions' stuff outside the browser, better said, until our app are installed as a WebExtension. What this means? Well. We can create applications that simply works as WebExtensions, like the Calculator example, which don't use at all any WebExtensions specific stuff. And we can create applications like the WebExtension sample, which in fact have non sense out of the WebExtensions world.

2º The "manifest" file is what we need to use in order to install the WebExtension to debug it. We must navigate to "chrome://extensions", for example, in Google Chrome. Then we choose the "Install unpacked WebExtensions" and just indicate where the manifest file is placed. In order to upload a WebExtension to a browser's store, we need to Zip our application as well the manifest: and we can do it from App Builder and the Zip app tool. Look at the Tools menu. When we are ready can navigate to the browsers store webpage (for example the Google Chrome Store), enters in our account and upload the Zip file. And that's all!

Hope this information can be useful to you Samuel, but please, don't hesitate to post here any further question. smile

Offline

#3 2016-08-07 20:34:58

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,660
Website

Re: The WebExtension sample and WebExtensions development

Hello to all,

Just to say that the currently available version of the Mozilla Firefox browser is perfectly capable to run our WebExtensions applications! Also I made certain change in the app core code in order to fix a problem with app's images in WebExtensions on Mozilla Firefox. So update your AB copy Samuel and enjoy it!

Offline

#4 2016-08-08 23:36:50

edunt
Member
Registered: 2015-12-21
Posts: 258

Re: The WebExtension sample and WebExtensions development

Hi David,

Weldone. AB rock and ninja!

Offline

#5 2016-08-09 13:50:15

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,660
Website

Re: The WebExtension sample and WebExtensions development

Hello,

edunt wrote:

Hi David,

Weldone. AB rock and ninja!

Thanks Ade! smile

Offline

Board footer

Powered by FluxBB


Copyright ©2018 DecSoft. All rights reserved.