HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How to Create a Chrome Extension - JavaScript Tutorial

41,615 views November 10, 2019 20:26

Watch on YouTube
ChannelEvilTester - Software Testing

Description from the creator

In this video I convert a simple JavaScript script that I have been running from Snippets and the Console into an Extension that allows me to right click on the page and insert data into a field.

Previous video in this series:

youtu.be/l4D3MGg2iMI

JavaScript Tutorial Creating a CounterString tool in Chrome Browser Dev Tools Snippets


You will learn:

- how to convert existing javascript code into a Chrome Extension
- the basic structure of an extension, manifest.json, background script and content scripts
- permissions in extensions: contextMenus, activeTab
- how to create context menus for extensions
- how to change where context menus are displayed: contexts, editable
- why to use a persistent background script
- how to dynamically inject content scripts into a page using executescript
- how to use listeners with context menus

The source code is on github:

github.com/eviltester/counterstringjs

---
You can support me on Patreon patreon.com/eviltester (watch my videos ad free and receive extra content)

Find my online books and training (some are free) at:

- compendiumdev.co.uk
- eviltester.com

About this tutorial

EvilTester - Software Testing published this 20:26 video tutorial on November 10, 2019. It has been watched 41,615 times on YouTube.

Duration
20:26
Published
November 10, 2019
Views
41,615
Likes
617

Tags

Share

This tutorial in other languages