• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

firebug/devtools-extension-examples: Extension examples for Firefox developer to ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

firebug/devtools-extension-examples

开源软件地址:

https://github.com/firebug/devtools-extension-examples

开源编程语言:

JavaScript 98.8%

开源软件介绍:

Firefox DevTools Extension Examples

This repository contains extensions for Firefox native developer tools showing how to build extensions and use existing platform API.

Use JPM to run example extensions.

Run with Firefox Nightly on OSX:

jpm run -b /Applications/FirefoxNightly.app

See also:

HelloWorld

This example shows basic architecture of an extension for Firefox developer tools. It handles basic toolbox initialization events and registers a new panel.

Related API:

Panel
Tool

Related Events:

`toolbox-ready`
`toolbox-destroy`
`toolbox-destroyed`

CustomTheme

This extension shows how to implement new theme for developer tools Toolbox.

Related API:

gDevTools.registerTheme()
gDevTools.unregisterTheme()

GlobalActor

This extension shows how to implement tools/features that can be used to debug/inspect remote devices. Learn how to properly implement both: the client and sever side of new tool. Remotable feature in this extension is implemented as a global actor.

Related API:

Actor
ActorFront
registerGlobalActor()

TabActor

This extension shows how to create a tab actor. If multiprocess support is active tab actors run within the child process (global actors run within the parent process).

Related API:

Actor
ActorFront
registerTabActor()

ConsoleListener

This extension shows how to intercept and modify logs in the Console panel.

Related Events:

`webconsole-ready`
`new-messages`

HelloReact

An example extension showing how to integrate standard web technologies with an extension.

Related Libs:

MessageManager

An example extension showing how to communicate between chrome and content scopes.

Related API:

addMessageListener()
removeMessageListener()
sendAsyncMessage()

DOM Inspector

An example extension showing how to send DOM node from the backed to the client.

Related API:

Actor
registerTabActor()
Actor Events
NodeFront

Related Events:

`toolbox-ready`
`toolbox-destroy`

CustomActor

This extension shows how to implement backend actor register and unregister it. Learn how to properly implement both the client and sever side. This example also shows how to communicate between chrome and content scope through MessageChannel.

Related API:

Actor
ActorFront
registerTabActor()
MessageChannel()

TitleManager

An example extension showing how to access 'window' global in the web page and also register new Console command-line commands.

Related API:

Actor
registerTabActor()
Toolbox Events
WebConsoleCommands
ToolboxOverlay

NetAnalysis

An example showing how to perform custom analysis of data collected by the Network panel. Check out how to get all data as HAR object. See also: http://www.softwareishard.com/blog/har-12-spec/

Related API:

HAR
HARBuilder
HARExporter
ToolboxOverlay

SimpleMVC

An example extension showing how to use Model View Controller (MVC) pattern in context of an extension for Firefox DevTools. (based on HelloWorld example above)

Related API:

Panel
Tool
MessageManager
Frame script
Mode View Controller
Chrome & Content scope communication

TodoMVC

Basic example extension showing how to use ReactJS+Redux to implement an extension for Firefox developer tools. The example is taken and adapted from the official Redux docs. Recommended mainly for web developers who want to use existing knowledge and build Firefox developer tools extensions on top of standard web technologies.

Related API:

Firebug.SDK
ReactJS
Redux

Further Resources




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap