Relative Content

Tag Archive for google-chrome-extension

How Loom Chrome Extension Authenticates Users?

I am building a Loom chrome extension clone.
I found that Loom has a smooth authentication process.
They redirect users to the login web page, sync authentication state with the extension and the web app.

Why are my Chrome Extension permissions too broad?

Google developer portal says “You can significantly decrease review time by using more narrowly scoped permissions.” I want this thing only to run when someone is using Microsoft Teams in Chrome, so I thought asking for permission only for that site would make sense.

How to prevent my Chrome extension page from closing on extension update?

I made an extension that use can open a web page that I built, says: chrome-extension://abcdefghijklmn/note-list.html.
It is just shows like a normal tab and page, and the user can add notes to that page. User can open as many as they want. But the problem is, everytime when my extension has a new version and user updates the exnteion, those pages are gone. Is there anyway that prevent this?

chrome extention code only work when inspect

I am writing a chrome extension that read excel file and store user id and grade into chrome.storage.local. The extension uses popup.js and popup.html to do that.
when debug (use extention inspect), it works well. but when I do not use inspect tool, it won’t work.
I have installed the extension in debug mode, and running it using extension inspect tool, everything seems work well. The code read the excel file, and choose the 2 columns that I need to store. If I do not use extension inspect tool, it won’t work. Each time, I uninstall the extention to remove the chrome.storage.local content. I also let all other chrome extension won’t work.

Manage current window in Incognito Mode? Chrome API

I’m making a chrome extension that opens an incognito window/tab from background, opens a website, and executes some script in the page, but the window object returned is always null no matter what I do:

How to open popup.html from contentscripts.js?

I’m trying to make a chrome extension that is a translator and ALSO displays a contextual menu on text select.
Everything works fine, but one of my menu items is Translate, which I require to open popup window in its onclick.