RITS Bhopal| 7th Oct 2017
Mozilla Reps
Mozillian
Club Captain Bsss
@007Robinkoshy
robinmozilla.blogspost.in
robinkoshy00@gmail.com
Web Developer
Mozillian
Cyber Security Enthusiast
@MikeMozmicky
mikebhopal.wordpress.com
mukeshpathak345@gmail.com
Robin Koshy
Mukesh Pathak
Activate Mozilla Community
This campaign aims at the grassroots of volunteer contributions.We want to bring more clarity on what are the most important areas to contribute to at Mozilla right now .
Activate Mozilla Community
Local groups of students with a passion for technology working together to build the open web on University and College campuses worldwide.
Browser Add-ons extend and modify the functionality of the browser.
A cross-browser system for developing browser add-ons
Loaded as soon as the extension is loaded
Stay loaded until the extension is disabled or uninstalled
You can use any of the WebExtension APIs in the script
"background": {
"scripts": ["background-script.js"]
}
Similar to loading normal scripts in the page
Can access DOM structure and use a small subset of the WebExtension APIs
Make cross-domain XHR requests
Exchange messages with their background scripts and can in this way indirectly access all the WebExtension APIs
"content_scripts": [
{
"matches": ["*://*.mozilla.org/*"],
"js": ["jquery.js", "content-script.js"]
}
]
"browser_action": {
"default_icon": {
"19": "button/geo-19.png",
"38": "button/geo-38.png"
},
"default_title": "Whereami?",
"default_popup": "popup/choose_beast.html"
}
browser.browserAction.onClicked.addListener(handleClick);
"page_action": {
"default_icon": {
"19": "button/geo-19.png",
"38": "button/geo-38.png"
},
"default_title": "Whereami?",
"default_popup": "popup/choose_beast.html"
}
browser.pageAction.onClicked.addListener(handleClick);
Resources such as images, HTML, CSS, and JavaScript that you include in the extension.
Give us your feedback?
mzl.la/howwasit
IRC Channels: #webextensions, #extdev, #addons
Mailing List: https://mail.mozilla.org/listinfo/dev-addons
Telegram: @addonschat
Robin Koshy | @007Robinkoshy | robinkoshy00@gmail.com
Mukesh Pathak Mike | @MikeMozmicky | mukeshpathak345@gmail.com
Slides: https://slides.com/mukeshpathak/firefox-addons-development