My Journey to Mozlondon

FSA program is beyond the benefits listed in the wiki pages and website. It helps you to explore yourself and Learn a lot about Community participation.It motivates you in every way to be a leader of your community and It helps you to learn about Creative thinking and Critical Thinking. It gives you an opportunity to involve in Real time projects and motivates you every time.


The Past two years with FSA Program have been so amazing.It helped me to be a person which I always wanted to be.It gave me so many Opportunities, Challenges and amazing initiatives where I can learn and participate.It Introduced me to many amazing people and showed me what openweb should mean to me.

Hive @Vizag21c13-dsc04340

My First Interaction with Mozilla was in July-2012.As a computer science student i was interested in exploring technologies and attended a session by Mozilla Rep Srikar Ananthula in my college. There was an app of the month contest running on at that time and since I was a web developer I made an app and participated in the contest.I participated twice but never won.In the process of learning,making an app and participating in the contest I came accross many interesting people in the Mozilla India community. This is one incredible community filled with enthusiastic and energetic contributors who always love to help if you want to contribute. That spirit in Mozilla India made me interested in joining the Community and immediately I created my Mozillians Profile. From then on there was no Stop.


It has been wonderful being a part of Many Campaigns, Initiatives, Organizing Events, Learning, Contributing and Participating.Here goes few happenings in my journey with Mozilla

  • Rep of the Month in January 2015
  • 2 Years of Amazing Journey from a Firefox Student Ambassador to VP of Contributions at Executive Board of FSA Program
  • Mozilla Tech Speaker from pilot run-2
  • Privacy Campaign in January 2016
  • Hive Pop up at Vizag
  • Community India Meetup,Hyderabad in 2014
  • Mozilla Beta Camp, Bangalore in 2014
  • Firefox OS App Days in Indore(Needs a mention cz My first talk outside my state B-|)
  • Speaker at Womaniya-2015, Warangal
  • Organized Women in Technology being a part of ETF(Event Taskforce)-Mozilla India to encourage Women Participation in the Community
  • Organized Womoz App Sprint in Hyderabad to Empower Mozilla Hyderabad women community.
  • Mozilla Presence Organizer at Maker Fest 2016(Largest Maker Festival in India)
  • Participated in Maker Fest 2015 as Mozilla India Representative
  • Gave two talks about Webmaker Project and Webmaker tools at FOSSASIA-2015(First talk outside India \o/)
  • Managed FoxYeah Campaign in India as a part of ETF Team.
  • Organized 20+ Webmaker events at Schools, Colleges, Maker Spaces and Community Spaces.
  • Launched 15+ Firefox Clubs in Various Colleges in Hyderabad
  • Organizer and Speaker at 20+ Overnight Hackathons around India Including VIT University App Days, BITS Hyderabad Firefox OS Hackathon, IOT Hackathon at JNTU University
  • Co-organizer of Firefox OS Stall at International Gadget Rush, Hyderabad
  • Participated in Whistler Workweek and Orlando Workweek being a part of #FSADreamTeam
  • Pariticipated in Leadership Summit at Singapore as a Participation Cohort
  • Co-organizer of Firefox 10 bus in India
  • Participated in Mozilla Taskforce Meetup 2015 representing Event Taskforce team and FSA Taskforce.
  • Gave about 80+ Talks at various Educational Institutions, Community Spaces, Maker Spaces, Industrial Organizations and few Conferences.

And Yes, I still microblog everything here even if I don’t get enough time to blog everything.



It has been an incredible journey with Mozilla for 2+ long years and this June I will be attending Mozilla workweek at London #Mozlondon to plan the future of Mozilla on Campuses along with Campus Campaign team, Mozilla Foundation, my FSA Team and many other super fantastic people.

My Organizational Goals are

  • To help Participation team in Shaping the future of Mozilla on Campuses.
  • To help the Campus Campaign team in creating a Successful, full stretch Impactful Campaign in campuses.
  • To discuss with Connected devices team about how the volunteers with different domains of Knowledge can contribute to Connected devices project.
  • To discuss with Tech speakers team in setting the goals and vision in launching Local Tech Speaker volunteer groups.


My personal goals before heading to Mozlondon are

  • To learn and explore the design thinking approaches which the participation team generally follows in solving many major critical issues.
  • To learn about Creating Impactful initiatives with Communities and maintaining the sustainability in communities.
  • To learn about various parameters that empower communities and How to Ignite the spark in the inception of Community.

Mozlondon is 10 days away and I m so excited about the Experiences I’m going to have at workweek.

Thank you for reading this.

Speaking at Fossasia-2017

Last weekend I got an opportunity to speak about Web based virtual reality at Fossasia-2017, one of the asia’s largest open source conference. My first talk at a conference outside India was also at Fossasia-2015 where I spoke about Webmaker tools and How individuals can become web makers from being just web users.

Fossasia-17 was organized at science center, Singapore and it was one of the amazing conference with diversified participants from different countries, backgrounds, domains, age groups etc.

I spoke about “Creating your Pokemon world in Web based Virtual Reality”. You can find the recording here. This is my first talk about WebVR and it was pretty exciting for me that my first talk about WebVR is at an International Conference. You can find my talk slides here.

We had a busy booth with 100’s of diversified people visiting us everyday and sharing their thoughts about what they loved about WebVR and how could they use this technology in their domain and make things happen. When someone asks me about what they could do with WebVR then I would say ‘Sky is the limit’. A chemistry professor visited our booth and gave us a usecase of how he could use WebVR to teach his students about 3D projection of chemical compounds, which I never thought of.

Science center was similar to Science museum in Hyderabad except with advanced equipment and a lot more interesting projects. I loved being their and experiencing most of them especially the VR experience room where you could fly over a city and ride a 4D roller coaster with VR headsets.

I’m so happy that I got an opportunity to met Incredible people, Vanessa and Chris from the AR/VR community in Singapore.


and Yeah this is our team of Mozilla Tech Speakers who participated in Fossasia.


and This is whole of Fossasia volunteers, speakers, workshop wranglers.


What I learnt?

  • Carry as many name cards as you can when you go for a conference
  • Make a QR code board which redirects the participants to the link of the demo you are showing at the booth ( WebVR in this case )
  • Prepare a lot more content than you are actually supposed to deliver. You never know when your 25min talk will change to a 1 hr workshop.
  • Talk to Dietrich whenever you find him, You will learn a lot
  • Check the hotel Checkin/Checkout timings and book accordingly


And Yeah! It was a lot of fun being at Fossasia. B-)

Thanks for reading.


Using simple flat-icons in your webapps

You might have started working on web pages, web apps etc and might felt the need to use brand icons, accessibility icons, different domain related icons in your project. I found an amazing set of icons Font Awesome Icons with a collection of 600+ icons at free of charge and the website comes with a search bar which you could use to find the best suitable icon as per your need.

Font awesome icons are

  1. Easy to install and use
  2. Easy to customize
  3. Easy to search for the required icon


How to use?

  • Get your cdn from here or customize with the steps given here and include it in your html page.
  • You can use the icon using inline tags <i> or <span> with a class name “fa fa-iconname”.
eg: <i class="fa fa-facebook"></i> or <span class="fa fa-facebook"></span>

you can add another class “fa-2x”, “fa-3x”, “fa-4x” and “fa-5x” to increase the size of the icon.

eg: <span class="fa fa-facebook fa-4x"></span>


Want to have an icon inside your button? try this

<button> <span class="fa fa-facebook"></span> Test Button</button>

Customizing your icon

Want a circle around your icon? Try “fa-stack”

<span class="fa-stack fa-lg">
 <i class="fa fa-circle fa-stack-2x"></i>
 <i class="fa fa-facebook fa-stack-1x fa-inverse"></i>

But if you want a white circle around a black icon then you will have to hack few css. I wrote a basic style but I’m sure you could do better than this.

i.fa, span.fa
 padding: 5px 10px;
 display: inline-block;
 border-radius: 50%;
 border: 1px solid black;

Hope this helps in using better/affordable/amazing icons for your projects.

pageActions vs browserActions

I have been working with WebExtensions for a while now and came across two action handlers for a browser add-on namely browserActions and pageActions. So I thought to clear out few dev-doubts in using these action handlers.

browserActions are the events that are performed when we click our add-on button from the add-on toolbar. when you click on the button in the toolbar a browserAction event is triggered. If a popup is defined in the manifest.json file then it is opened else you can listen to the event using ‘browserAction.onClicked’.(will discuss more on this)


Similarly pageActions are similar to browserActions but the only difference is they appear inside the url input box. basically you can define page actions on whatever tab you would like the button to be shown.


Firstly, If you are building an add-on and the action is applicable across all tabs on the browser( Eg: adblock ) then you should use browser actions but if your add-on works only on a particular website then you should use pageAction instead of a browserAction.

Using browserActions:

You have to do two things to include a browserAction in your add-on

  • Include the required info about browser actions in the manifest.json file.
"browser_action": {
  "browser_style": true,
  "default_icon": {
    "16": "button/geo-16.png",
    "32": "button/geo-32.png"
  "default_title": "Whereami?",
  "default_popup": "popup/geo.html"

browser_style is used if you want to include a css style for the browser action popup. You will have default_icon which gets displayed in the browser toolbar. default_title is the tooltip you will see when you hover over the icon in the toolbar and finally default_popup is the html of the popup that is displayed when the icon is cliked from the toolbar.

  • write the javascript code in your background.js file. more info about the API is here.

If you are not using any popup just like I did in my previous blogpost then you can listen to click event using ‘onClicked’ listener.


Using pageActions:

The declaration in manifest and listener is almost same for both page action and browser action except that you need to enable pageaction for a particular tab using  pageAction.show().

  • Add this to your manifest
"page_action": {
  "browser_style": true,
  "default_icon": {
    "19": "button/geo-19.png",
    "38": "button/geo-38.png"
  "default_title": "Whereami?",
  "default_popup": "popup/geo.html"
  • write the js code in your background.js file. more info on API is here.

first you need to show pageAction to a particular tab


and then add an event listener to pageaction


I created my first add-on using browserAction here and pageAction here. You can have a look at it for reference/difference.

Happy Coding!

Publishing your browser add-on to Firefox Add-on Marketplace

You might have probably developed your first add-on and searched for ‘Publishing your add-on to Firefox marketplace’ and finally landed up here. In this post I will be discussing about How to publish your Browser add-on to Firefox Add-on Marketplace.

Firefox Add-on Marketplace (https://addons.mozilla.org) known as AMO is a home for thousands of add-ons. If you have developed a Firefox browser add-on and want to make it available to global audience then AMO is the right place to publish your add-on.

Step 1:

Open AMO’s website ( https://addons.mozilla.org ). If you already have a Firefox account created(which you generally do to sync up your browser preferences) then you can directly Log in to the website. Else register yourself and create your account.


Step 2:

Under tools, click on ‘Submit a New Add-on’ to submit your new Add-on for publishing in AMO. You can update your developer profile by clicking on your username and selecting appropriate option from the dropdown.


Step 3:

Once you click on ‘Submit a New Add-on’ in Step 2, you will be proceeded to the below screen. I want my add-on to be available for Global Audience, Hence I choose the first option. If you want your add-on to be available on your own website like Makkhichoose then you can choose 2nd option and click on ‘Continue’.


Step 4:

You will get  the below screen after ‘Step 3’ where you have to upload the add-on zip file. If you get the below error then that means your ‘manifest.json’ is not found in the root of the zip file. To fix this, create a zip file with all the contents in the root folder instead of creating the folder into a zip file. This means if you double click your ‘zip’ file then you should be able to see the ‘manifest.json’ along with other contents of your add-on.


Step 5:

When you click on ‘Continue’ in ‘Step 4’, the page is redirected to the below page. Simple metadata like the name of your add-on, description of your add-on is already extracted from your manifest.json file. However you can still edit it in this page before submitting for review. Also select the category best suited for your add-on on Firefox Desktop and Firefox for android in this screen.


You can also mention the support email-id and a support website but these are not mandatory. Choose the best licence that suits for your add-on. If you are accessing any of the user’s data or sending it to your servers then you might have to click the checkbox related to Privacy policy(Click on the little question mark for more info).

If you have any notes to the reviewer( eg: test account details required to test your add-on )  you can mention it in the space provided below. Finally click on ‘Submit Version for Review’.


Step 6:

Finally you submitted your add-on for review. The Add-on will be published once it is reviewed. You might already got a mail regarding your subscription once you get the below screen.


Step 7:

Lets add the icons and few screenshots for our add-on. click on ‘Manage Listing’ and select your add-on. You can either add a new logo or choose from existing logos and then upload the screenshots, provide little description for your screenshot. Screenshots are the best way to advertise how useful your add-on is to the user before he installs your add-on. Finally click on ‘Save Changes’ for the changes to get saved.


Step 8:

Now you can find your add-on listed along with the status when you click on ‘ Add-on Developer Hub’ on left top corner after ‘Step 7’.



Hope this gives you a clear clarity on publishing your add-on to the Add-ons Marketplace.

Building your first browser addon for Firefox using WebExtension

Firefox Browser has been an incredible browser with thousands of add-ons in its marketplace. Performance of the browser has been greatly improved with e10s. With WebExtensions support from the recent releases it was made possible to develop cross platform add-ons and run across Firefox, Chrome, IE etc. with just a few tweaks.

I joined as a AMO’s ( addons.mozilla.org ) Feature Board member in November-2016 where I would help the Add-ons’ team in selecting the best add-ons to feature every month on the AMO website ( https://addons.mozilla.org/en-US/firefox/ ). I then came to know about WebExtensions. WebExtensions enable you to develop Cross-browser supporting add-ons which works on most of the latest browsers including Firefox, Chrome, IE etc. I thought to explore around a bit about WebExtensions and in the process I developed my first Browser add-on. \o/ You can find my extension here.

I love inShorts. It helps you to with the news around the world and puts it in 60 words. But it doesn’t have a dark theme and I don’t want the light to flash on my face every night. Add-ons are meant to improve your browsing experience and change how a particular website should work for you. Hence I thought to build an add-on which adds a dark theme to the inShorts website. I spent a weekend and finished my add-on. It is very easy to develop a WebExtension and you fill find a lot of amazing resources to learn. You can find it here.

I thought to share my experience of building my first Browser addon in this post.

 "manifest_version": 2,
 "name": "inShorts in dark",
 "version": "2.0.0",
 "homepage_url": "https://github.com/viswanathamsantosh/inshorts",
 "description": "Read your favourite news on inShorts by dimming the light right away on your browser.",

 "icons": {
 "48": "icons/icon-48.png",
 "96": "icons/icon-96.png"
 "permissions": [
 "browser_action": {
 "browser_style": true,
 "default_icon": {
 "19": "icons/icon-19.png",
 "38": "icons/icon-38.png"
 "default_title": "Turn on or off"
 "background": {
 "scripts": ["background.js"]

Most of the contents in the manifest file are optional. depending on the usage you should include them in your manifest. For example, I need an icon on the browser toolbar for my addon, Hence I included the ‘browser_action’ in my manifest file. If you don’t need it then you can remove the section. More info on manifest.json is here.

Here I included a name, description, url of the github repo I’m using for the addon, browser action, default icons and a background script in this manifest.json file.

  • Next I have to write my javascript code. Depending on the usage you can either choose between content script or backgroup script. Since I m using browser actions in my addon, I use background scripts. Create a file named ‘background.js’ in the same folder as manifest.json file and included it in my manifest.json.
  • I studied the DOM structure of inShorts and wrote the required CSS to enable night mode where I would change the color of the background from white to black, change the text color of news from grey to white and the ‘Load More’ button color from white to Red.
var CSS='body{background-color: black;}span[itemprop="headline"]{color:white;}div[itemprop="articleBody"]{color:white;} #load-more-btn{background-color:red;color:white;}'

If I have to  include this style in the beginning and make no changes later on then I can use content script to make it possible. However  I will display an icon on the toolbar to enable and disable the night mode on the website.

  • I wrote my jscode to insert and remove the CSS in the present tab selected.
//method to enable nightmode
function enableNightMode() {
 browser.tabs.insertCSS({code: CSS});

//method to disable nightmode
function disableNightMode(){
 browser.tabs.removeCSS({code: CSS});
  • Then a toggle function and browser action to toggle the dark theme when you click on the button in the toolbar.


//method to toggle mode
function toggleNightMode(tab){

//event handler when you click the button in the toolbar
  • And finally another event handler to reset the mode when the tab is refreshed.
//when the browser tab is refreshed
browser.tabs.onUpdated.addListener((id, changeInfo, tab) => {
  • Finally this is how my ‘background.js’ looks like after adding few flags


  • At last add the icons required for your addon and browser action button and mention the related paths in the ‘manifest.json’ file.
  • You can find information about Installing and debugging your addon here.

Hope this helps in getting started with the development of your first add-on! Happy Coding.

Using CSS Preprocessors

I have been writing a lot of CSS these days, when it comes to a project with 20+ responsive components it is obvious to write tons of CSS code. I started to use CSS preprocessors for a while now and it reduced my css code and the time I spend with css a lot than before. So I thought to share few basic tips in getting started with SASS preprocessor.

Here you will write your css in .scss(stands for sassy CSS) files and then use sass (Syntactically Awesome Stylesheets) to generate your css file (say main.css?)


First you need to install sass on your machine. You can find the installation steps here.  I use a mac machine and since Ruby is already installed, I simply run the following command to install it

$sudo gem install sass

Now create a component.scss file in your ‘ProjectFolder/styles/’.

Note: Make sure you save the file as ‘.scss’ instead of ‘.scss.txt’ file.

You can convert this preprocessed file to the final ‘css’ file to use in a website using sass command.

$sass component.scss main.css
  • Lets write our component.scss file now
    color: red;
    color: yellow;
      background-color: black;

when you run ‘sass component.scss main.css’ your file is processed and the generated ‘main.css’ looks like

.main h1{
  color: red;
.main h2{
  color: yellow;
.main h2.heading2{
  background-color: black;
  • You can also use variables if you want a value to be used across the page.
$primary-color: #ff0000;
$secondary-color: #00ff00;
$default-color: #0000ff;

    background-color: $primary-color;
    background-color: $secondary-color;
    background-color: $default-color;

when you sass the above code, you will get

  background-color: #ff0000;
  background-color: #00ff00;
  background-color: #0000ff;
  • You can also include one scss file into another scss.

$primary-color: #ff0000;
$secondary-color: #00ff00;
$default-color: #0000ff;

@import 'variable';

    background-color: $primary-color;
    background-color: $secondary-color;
    background-color: $default-color;

when you sass it, you will get

  background-color: #ff0000;
  background-color: #00ff00;
  background-color: #0000ff;
  • When you are developing a web application to use across different platforms then you will have to use prefixes such as ‘-webkit’ , ‘-moz’ , ‘-ms’. You can simply use mixins to make it easy.
@mixin border-radius($radius) {
  -webkit-border-radius: $radius;
     -moz-border-radius: $radius;
      -ms-border-radius: $radius;
          border-radius: $radius;

.box { @include border-radius(10px); }

When you sass it, the below css code is generated

.box {
 -webkit-border-radius: 10px;
 -moz-border-radius: 10px;
 -ms-border-radius: 10px;
 border-radius: 10px; }

If you are writing multiple components with multiple ‘.scss’ files then you can create a master ‘.scss’ file( say main.scss) and import all other ‘.scss’ file into it and sass it to generate your final ‘main.css’ file which you could include in your html page.

I gave only few examples about how you can use CSS preprocessors such as SASS to make it simple working on CSS. You can read more about SASS here.

Thank you for reading.

CSS ‘display’ property

Imagine you have a parent ‘div’ with 200px*200px and 4 child ‘div’ elements with 50px*50px then how do you fit these child ‘div’ elements in the parent div? If you started working with css and you have a little knowledge about ‘display’ then you would suggest to use ‘inline’ property.

Few important and basic ‘display’ property values are inline, block, inline-block.

‘block’ will make the element appear as a block element which means it starts on new line and takes the full width of the available. eg: h1-h6, p, div elements.

‘inline’ will allow other elements to occupy in the same line if any space is left. eg: span, a elements etc.

‘inline-block’ elements are inline elements but they have width and height.

Now lets get back to our question, We cannot use ‘inline’ since the div elements have no content so we will use ‘inline-block’ to solve it. Hopefully it should work since ‘inline’ property will enable them to be beside each other and ‘block’ gives them width and height. Here is what we get.< https://embed.plnkr.co/5M7Qgp3o4YkrTunwxdLd/ >


You will see a white space between the div’s and you will find many explanations for this gap. It is the general white space between the elements. To remove this space we will use the ‘float’ property and let the elements float to the left. and Yipee it works. Here goes the final code.< https://embed.plnkr.co/6PKsgDBTkvP1UloM7tt0/ >


Thats how CSS ‘display’ property works.