Arjun Adhikari, experienced in backend engineering since 2019. Skilled in building robust server-side systems, currently focused on web3 space, open to new opportunities
Frequently Asked Questions
What do the permissions mentioned in the manifest file do?
"activeTab": Gives temporary access to the current active tab whenever the user invokes the extension.
"scripting": Gives access to inject JavaScript and CSS into websites.
“declarativeContent”: Depending on the URL of a webpage, it enables an extension's action without needing to add host permissions or inject a content script.
Why do we need a Chrome extension?
There are limitless things that we can do with extensions like text-to-speech, blocking ads and pop-ups, setting dark mode, enabling time tracker, etc. It’s a great approach to expand the functionality of Chromium-based browsers and improve the browsing experience for users.
How do we send a message between a service worker and a content script?
Chrome exposes chrome.runtime.sendMessage() API to the content script and chrome.runtime.onMessage.addListener() API to the background service worker for these scripts to communicate with each other.