Hello I am building an extension for Chrome using Instagram's API as well as Twitch's.
Both are asking for the website’s URL and I was wondering what to put since the app is hosted by Google.
Thank you in advance for your reply!
Related
I found the api in chrome extension docs which reads the api is deprecated chrome app platform. Does this mean the api is accessible for chrome extension now? However, it seems something goes wrong when I take it as an extension api.
There is a currently experimental API. https://developer.mozilla.org/en-US/docs/Web/API/USB
I have created my first Chrome extension/app and found out that lightboxes do not function inside the app. I created the app from the Google example kiosk app. I'm only using webview in the app and have no other customizations. It just points to a link.
I want to use the app as an auto-launch Kiosk app on a Chromebox. Via this website I found that 'alert' and 'confirm' are a disabled web feature on chrome web apps.
I am wondering if it is possible to enable alert and confirm in the Chrome app so that lightboxes will work when interacting with a website.
Thanks in advance.
Yes you can definitely call alert box inside a chrome extension, just like you would in a normal javasript file as stated in this thread.
chrome.browserAction.onClicked.addListener(
alert("Im an alert box triggered by Chrome Extension")
);
The link you provided suggests that you can create a custom popup/lightbox as a workaround. There's a complete tutorial here.
Happy coding! :)
I am trying to enable the adsense management api from the google developers console. I have created a project and under APIs and auth I go to APIs and try to turn on AdSense Management API, but when I click it it just shows a toast notification saying "Error Enabling Adsense Management API". I really need this to work. So help is appreciated.
Thanks,
Sai
I had the same problem. I disabled my AdBlocker. Then it worked just fine!
Have you tried using a different browser or going back to the old version of the console? I had a similar issue because the browser blocked the Terms of Service agreement page.
I had the same problem. Disable AdBlock plugin and it will work!
Open a new incognito window and open the console url "https://console.developers.google.com/" there. After that, activate the AdSense Management API.
Integrating a chrome extension(not hosted) with google drive seems to be not possible if I am correct. Is there a way to upload content from 'localstorage to google drive in a chrome extension?
Can the depreciated documents list api be used to do that? if yes, how?
For example, user has some data in the localstorage of the popup.html page in the extension. User would want to backup that data in his google drive. How can it be done from a chrome extension with no hosted page.
Thanks in advance.
You can upload files to Drive using JavaScript. Check the step-by-step quickstart guide for JavaScript to learn about it, you will have to change the code in order for it to read from localstorage instead of the filesystem:
I'm really confused. I want to make a Chrome Extension that can update a user's Google Calendar, what kind of program should I register under Google API?
Is it Web App? But I don't plan to have a server to host anything because Chrome Extensions are in the browser itself.
I really don't think it's a service account, but if it is, somebody enlighten me!
So that leaves installed applications?
Well, Google Extensions and Google API are very different in nature, and they don't have a special way to comunicate themselves.
Chrome Extensions are javascript code running in the browser allowed by a Chrome user, with more rights than a normal page; while Google API is accessed by server code, just as Google Apps Scripts (javascript code running in a Google server with some Google user's right).