Skip to content
Advertisement

Tag: google-chrome-extension

Why doesn’t chrome.tabs.query() return the tab’s URL when called using RequireJS in a Chrome extension?

I have a simple Chrome extension that adds a browser action. When the extension’s popup is opened, it needs to access the current tab’s URL. Since it doesn’t need access to all the tabs, I just have the activeTab permission specified in the manifest: In theory, that should give the popup access to the active tab’s URL, but the URL

‘unsafe-eval’ on chrome extension

I am trying to run the following: Which should (in theory), on page load run the loadScript.js file…. the loadScript.js file is as follows, this should append a file to the running page, not to the background page as it is at the moment: I am still a newbie to Chrome Extensions and .js so excuse me if I have

window.localStorage vs chrome.storage.local

I’m developing a Chrome extension and I need to store some data and then get it in some point. I did investigation on available storages and came across to the following ones: window.localStorage and chrome.storage.local. So my question is, which one is the right choice to use in Chrome extensions: window.localStorage or chrome.storage.local? P.S. I’m using browser action to load

How to store a password as securely in Chrome Extension?

I’m writing an Chrome extension right now which autofills credentials similar to Chrome’s autofill (in which case Chrome’s autofill fails). Is there a secure way to store the username/password in localstorage (all client-side)? If I encrypt the password, won’t the key be locally stored as well effectively making the encryption useless? Effectively, I want the user’s credentials to be as

Advertisement