How to Build a Custom Google Chrome Extension. HTML,CSS & JAVASCRIPT

Hey brothers and sisters, before taking your first step in the web browser extension development.Let's take these first paragraphs understanding what is required to create an extension and the different components used in this developement process.

Extensions are made of different, but cohesive, components.These Components can include content scripts,background scripts,an options page, UI elements and various logic files that will always control the behavior(of the extension) when users interact with it. Extension components are created with web development technologies that is to say; HTML, CSS, and JavaScript.Yes you heard me right,HTML, CSS, and JavaScript.The extension's components will depend on its functionality and may not require every option.So the choice is yours as the developer.

This simple post will give you the basic knowledge on how you can build an extension that allows the users to get the current timezone when they click a button. It will use simple core components to give an introductory demonstration of their relationships.

This is a beginner friendly tutorial that even some one with little knowledge on html,css and javascript can create this kind of extension.

Check out the video:

To get you started, create a new directory to hold the extension's files.You can call it anything you want(it is user defined).

step one

Create a manfiest file. Every extension starts with it's own manifest. Create a file called manifest.json inside the folder or directory you created previously.

step two

Add / include the following code to the manifest.json file;

{
  "manifest_version":2,
  "name":"Timezone Finder",
  "version":"2.0.1",
  "description":"This is a simple extension that displays your current time zone",
}

You can see how it is very easy and simple to create an extension.Only the code we have written up there is enough for us to create an extension.For more information watch the video above.

To get a completed extension: Click here description

Related Post(s)

» How to Build a Custom Google Chrome Extension. HTML,CSS & JAVASCRIPT

collections_bookmark Category :: Chrome extensions
date_range Published :: 2 years ago At: 07:27 AM
event_note Detailed Date :: Dec 05th, 2018
person Writer :: Timothy
  • RECENT POSTS
3 months ago

A JavaScript library for formatting and manipulating numbers - Numeral.js

Check out this lightweight JavaScript library used for formatting and manipulating numbers.


4 months ago

All Countries Drop Down List | HTML Select Country Name

This simple country dropdown list is freely available for you to copy and use in your project forms.


4 months ago

HTML Entities Code Alphabet Discovery Using JavaScript

In this post I will show how writing just a few lines in JavaScript will allow you to render, browse and discover the alphabetical letters using a set of HTML entity codes.


4 months ago

YTS YIFY MOVIES API - PROJECT PREVIEW

Download YTS YIFY movies using this simple project I created using their API.


4 months ago

Display Random Advice On Your Website or Web App Using Advice Slip JSON API

Here is a short project to display the use of APIs. I decided to work with an advice API because it seemed like a fun one that I haven't worked on before.


6 months ago

How do I get a YouTube video thumbnail from YouTube using PHP

Have you ever been on youtube and admired a thumbnail of a video?


8 months ago

How to recreate Facebook's console warning

When I was inspecting some code on Facebook. I came across this interesting feature. A simple styled console warning message from Facebook to its dear users(products).


11 months ago

How To Create A Stacked Gallery Using HTML And CSS Source Code

In this post I provide you with the source code for the youtube tutorial I made on how to create a Stacked image gallery Using HTML and CSS.


Subscribe
  • ADVERTISEMENT

YOU MAY LIKE THESE POSTS

share