-Поиск по дневнику

Поиск сообщений в rss_planet_mozilla

 -Подписка по e-mail

 

 -Постоянные читатели

 -Статистика

Статистика LiveInternet.ru: показано количество хитов и посетителей
Создан: 19.06.2007
Записей:
Комментариев:
Написано: 7


Andy McKay: Writing a WebExtension

Суббота, 13 Февраля 2016 г. 11:00 + в цитатник

Yesterday I spent 10 minutes throwing together an example WebExtension to show how a few APIs worked. It's not a complicated or sophisticated one by any means, it just shows a pop-up and links to trigger some tab APIs.

But when writing an add-on like that, you might notice a few things:

  • Thanks to about:debugging you can load the add-on straight from the directory and run it. There is no xpi, zip or compile step. It just works.

  • The menu is a html page with some JavaScript on it. That's familiar territory for any web developer.

  • The HTML and Javascript reload each time I make a change. That's refreshingly simple and easy to develop with.

Those factors alone make developing that add-on so much easier than before. We are getting there.

http://www.agmweb.ca/2016-02-13-developing-webextensions/


 

Добавить комментарий:
Текст комментария: смайлики

Проверка орфографии: (найти ошибки)

Прикрепить картинку:

 Переводить URL в ссылку
 Подписаться на комментарии
 Подписать картинку