Skip to main content

Posts

Showing posts with the label chrome

What permissions in browser extension manifest ?

    What permissions should be declared when creating a browser extension manifest ? When in a browser extension's manifest file, in the section   "permissions"  , defines what browser resources and features the extension needs access to? Add the permissions are necessary for the extension to perform certain tasks, such as accessing the active tab, storing data, or executing scripts on web pages. Here is a list of all available permissions that can be declared in a browser extension manifest file: activeTab   Access the current tab by clicking the extension icon. alarms   Allows you to create, modify, and delete alarms. background Allows scripts to run in the background. bookmarks Access to browser bookmarks. browsingData Allows you to clear browsing data. clipboardRead Read access to clipboard contents. clipboardWrite Allows you to save data to the clipboard. contentSettings Manage content settings. contextMenus Creating custom context menus. cookies ...

How create browser extension ?

    Creating an extension for a browser like Google Chrome or Microsoft Edge is a process that can be broken down into a few steps. Here is the basic procedure: 1.  Configuring the extension folder and manifest file Create a new folder   on your computer where you will store all the files related to the extension. You can name it something like "MyFirstExtension". Add the file   manifest.json  to this folder. The manifest file contains metadata about the extension, such as name, version, description, and required permissions. Sample code for the file  manifest.json looks like this: { "manifest_version" : 3 , "name" : "My First Chrome Extension" , "version" : "1.0" , "description" : "A simple Chrome extension tutorial" , "icons" : { "48" : "icon.png" } , "permissions" : [ "tabs" , "activeTab" , "scripting...