-
24 Understanding Chrome Extensions Declarative Content
The chrome.declarativeContent API is an API use to take specific actions depending on the contents of the page without the use of the host_permissions in the manifest.json file or the help of the content scripts. Due to this the actions that can be trigged are limited; You can find documentation of the chrome.declarativeContent API here: https://developer.chrome.com/docs/extensions/reference/api/declarativeContent How to declare it in the Manifest.json {…
-
9 Understanding Chrome Extensions Tabs
The chrome.tabs API is used for interacting with your browser tabs. You can do all sort of this with this API from creating new tabs, rearranging them, redirecting to a new URL, and even communicate to the content scripts running on those tabs. In this article we are going to look at several functions the chrome.tabs API provides. However,…
-
25 Understanding Chrome Extensions OAuth
By using the chrome.identity API it enables use to identify/retrieve signed-in users, authenticate via Google OAuth or other social OAuth options, get access token tokens and more. In this article we are going to cover how to initial a login sequence for Facebook and Google using the chrome.identity API. You see the official documentation on the API here: https://developer.chrome.com/docs/extensions/reference/api/identity How…
-
10 Understanding Chrome Extensions Windows
In this article we are going to look at the chrome.windows API. Its an API used for interacting with the browser windows. Similar to the chrome.tabs API you can use the API to create and change browser windows. Types of Windows There are different types of windows you can create. Popup or Panel These are borderless windows. You can not…
-
11 Understanding Chrome Extensions Context Menus
Context Menu is the menu that appears when a user right clicks (alternative clicks) on an element in a webpage. In this article we will cover the chrome.contextMenus API. https://developer.chrome.com/docs/extensions/develop/ui/context-menu. An API responsible for context menus for chrome extensions. There are 4 major functions normally used in this API chrome.contextMenus.create, chrome.contextMenus.update chrome.contextMenus.removeAll and chrome.contextMenus.onClicked.addListener. 3 of which, as you can see handle displaying the contextMenu and…
-
12 Understanding Chrome Extensions Storage
The chrome.storage API is an API that store persistent data, get and modify the data. In our opinion it is one of the most important API used in chrome extensions projects. See the Chrome Storage API documentation for more info Unlike a lot of the other APIs we’ve looked at in previous articles chrome.storage works in all parts of the extensions; content…
Search
About
M2K Developments is a tech company founded in October 2023 by Martin Kululanga, aimed at providing applications and automated software solutions for Malawian start-ups and small-size businesses
The company focuses on developing fast, modern websites and additional services such as mobile applications, social media management, browser extensions and custom-made AI software.
Archive
Recent Posts
Tags
There’s no content to show here yet.
Gallery





