Skip to main content

Posts

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 ...
Recent posts

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...

What is CerUtil in Windows ?

    The  CertUtil     command       is a versatile command-line tool used in Windows systems to manage certificate information. It is part of Certificate Services and allows you to perform various certificate-related tasks, such as: Making a backup:  It is always a good idea to make a backup of your current configuration before making any changes. You can use the command   certutil -backup  to make a backup. To back up Certificate Authority (CA) components using   CertUtil command  , you can use the following command: Creating a backup  : certutil -backupDB <path to backup folder> certutil -backupKey <path to backup folder> certutil -backupDB   creates a backup of the CA database. certutil -backupKey   creates a backup of CA private keys. Make sure you provide the correct path to the folder where you want to store your backups. Restoring a backup  : certutil -restoreDB <pa...

How to disable mouse acceleration using PowerShell ?

  To disable mouse acceleration using PowerShell, you can use the following script.  !Changing registry settings via PowerShell script will affect all pointing devices that use those settings! This script changes registry settings to disable mouse acceleration: Open Notepad and paste the code below: New-ItemProperty -Path "HKCU:\Control Panel\Mouse" -Name "MouseSpeed" -Value "0" -PropertyType String -Force New-ItemProperty -Path "HKCU:\Control Panel\Mouse" -Name "MouseThreshold1" -Value "0" -PropertyType String -Force New-ItemProperty -Path "HKCU:\Control Panel\Mouse" -Name "MouseThreshold2" -Value "0" -PropertyType String -Force This PowerShell script does the following: Registry path  :    -Path "HKCU:\Control Panel\Mouse"   Specifies the location in the registry where the property will be added or modified. In this case, it is the registry key for the mouse s...