Skip to content

Demo WebExtension Manifest for the WebExtensions of the browser

Notifications You must be signed in to change notification settings

hellosct1/demo-WebExt-manifest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

demo-WebExt-manifest

Demo WebExtension Manifest for the WebExtensions of the browser

Information

The demo was presented at the Free Software Days (JDLL) in Lyon (France) - April 2, 2017

The demo was tested on:

  • Firefox Nightly 55
  • Chrome 57
  • Opera 44
  • Edge

Fonctionnality WebExtension

Many features are present to build its #manifest.json# Different Javascript functions use the DOM to communicate

browser_action

It is positioned in the action bar and displays different button:

First realization:

  • A menu offers several buttons to click.
  • More info add a frame of a different color
  • A RESET button is used to return to the origin

The second effort:

  • Post a popup at the bottom of the screen with different information, logo
  • Each window allows to open a new tab to the chosen site

content_scripts

The content scripting area allows you to change the inside of the window

  • Regardless of the button, a border will be displayed to reduce the display area
  • For the "Mozilla" button, a SERA message is displayed at the bottom of the website in a DIV tag

background

Actions and animations are activated by background calls They are declared in the file manifest.json

Resources

The resources embed different images in the extension to avoid the chargers each time. These images are displayed in the popup of choice of choice

permission

Different permissions have been added to allow the extension to work

Crédit

(c) Christophe Villeneuve - 2017

About

Demo WebExtension Manifest for the WebExtensions of the browser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published