All Questions

122
votes
3answers
37797 views

Chrome Extension Message passing: response not sent

I am trying to pass messages between content script and the extension Here is what I have in content-script chrome.runtime.sendMessage({type: "getUrls"}, function(response) { console.log(response)...
32
votes
2answers
19488 views

How to change chrome packaged app id Or Why do we need key field in the manifest.json?

I'm developing packaged app for chrome store using one-time chrome wallet payments. For my app I need to check during the runtime if user bought the app or not to decide should it be demo functionalit...
13
votes
2answers
34816 views

How can I enable my chrome extension in incognito mode?

I created an extension for Google Chrome and would like to know if it is possible for my extension to be enabled in incognito mode. Ex: chrome.extension ...... allowedIncognitoAccess = true
12
votes
1answers
12911 views

can we get chrome browsing history/bookmarks in our android app

can we get chrome browsing history/bookmarks like we get in default browser using READ_HISTORY_BOOKMARKS permission? PS:I Just want to know is it possible?
24
votes
1answers
5166 views

Communicating between a Chrome packaged app and a Chrome extension?

I need to combine functionality available only in a Chrome packaged app (access to syncFileSystem) and functionality available only in a Chrome extension (injecting a script into a 3rd party website)....
7
votes
2answers
3020 views

How to use "system_indicator" in the manisfet of a Chrome Packaged App?

I'm trying to create a Chrome package App with an icon in the system menu bar as explain here : https://docs.google.com/document/d/1QhhfR33Y28Yqnnoa_Sl3fnZK_mKtwt4dZe6kNyJ_MjU/edit , The Google Hang...
6
votes
2answers
1622 views

Is it possible to get an Id token with Chrome App Indentity Api?

I can't get a user's id_token (https://developers.google.com/accounts/docs/CrossClientAuth) from the Chrome identity api (https://developer.chrome.com/apps/identity). I can get an access_token using...
1
votes
2answers
105 views

Chrome App: Doing maths from a string

I have a basic Chrome App that I'm building that constructs strings like this: "1 + 4 - 3 + -2" Seeing as you can't use eval() in Chrome Apps, how can I get the answer to a string like so? eg. If ...
3
votes
2answers
1197 views

How to access internal resources from background.js

In a Google Chrome application is it possible to access bundled data files from within the background.js script? E.g. if I had a file called data.json that I include with the app, is there a JavaScri...
0
votes
1answers
233 views

Chrome extension message being passed as object

I'm sending a message from the content script to the background page. The message is a URL which then gets ajax parsed in the background. When I console.log the data retrieved into background.js the c...

Previous Next