Hey we know Extensions add functionality for any browser. We did not know how to do this simple thing.
Let us dive!
Only two files are need for creating extension
1. manifest.json ( required this configuartion file)
2. helloworld.html (any html file)
Steps:
First creat a directory CEDEMO
create manifest.json with the following contents:
Next, create helloworld.html with the follwoing contents for demo.
Just one header with style of window 400 x 200 px in <style> tag
Now save all the above files.
Thats all folks. We are done. We can install this in our chrome browser and make it work.
Click three vertical dots in the browser right top.
Look for extensions
Click Manage Extension to get the
Please check the Devloper mode.
Click Load Pack Extension Button and selet the directory by browsing for just created directory CEDEMO.
It shows everything is done. Now we have to select extension and pin it and click in the browser or select from the screen similar to the below one.
No comments:
Post a Comment