How to make Chrome Extension popup on the web - google-chrome-extension

I have created extension, I uploaded it on the chrome extensions, paid $5, now I want to make popup on my website, which asks user to add or cancel the extension. For example when user comes to my website, clicking somewhere, it automatically pops up and asking user to add or cancel the extension, so if there is any video tutorial, or something please let me know.

Related

How to open a full browser when clicking on an ad

I am not sure the correct terminology for this, but basically often times when I am on my phone and click on an in-app advertisement, a "temporary browser" is opened up. See this image:
I am creating an advertising campaign (very new to this), and I want it so that when a user clicks on my ad, it is opened in a "real browser". Like this:
The reason is because with the "temporary browser", the website is lost if the user, for instance, presses the back button. I want it so that that will not happen, and having the page open on the "real browser" makes it a bit simpler. If the user closes the app they clicked the ad in, the temporary browser would be lost, but if they close their google chrome for instance (or their phone battery dies), then the same page they were on before chrome was closed will be reopened when they open chrome again.
Is it possible to make this distinction between which browser would be opened? If it helps at all, I am making this ad to be shown in Tinder where it can be clicked on.

Wrongly removed my extension in google chrome web store

I wrongly removed my extension from developer dashboard, bacause I want to cancel my current submission (to review) and upload another version of chrome store.
After I clicked 'unpublish', my extension is no longer visible in store and I can't see 'cancel and edit' button.
How should I do that? Is that able to publish my updated version of this extension again? Or is that impossible to do that?

How to modify Chrome Extension, which authenticates every user through Google's OAuth 2?

I am trying to modify a small thing from an extension. All I basically need to edit, is the selector they use. If their selector is $("#firstDiv") I need it to be $("#secondDiv"). It is really that simple.
I downloaded the CRX file, extracted it, made the edit, but when I go and install it in my browser, it asks me to authenticate with Google Authenticator. Just like it's supposed to do, as it uses oAuth 2. HOWEVER, once I log into my Google account, it will not "save" the login. Right after I log in and press Log In, the tab closes and launches the same login page again on another page.
Is it possible to change that somehow? I found a semi-workaround. If I install the extension, authenticate with Google, then go make my edit in the extension folder, it works perfectly. However, I cannot send it to someone else, because the manifest.json includes my authentication key (392 characters long).
How can I modify the extension to my needs? Is there something I need to know about Google OAuth?
EDIT: Okay, I cannot even download the .crx file directly from Google, unzip the file, then move the files into a new folder, and install that script. Exactly like it came from Google. Are their .crx files signed? Is it impossible to do this?
When you download the .crx file, extract it, edit it and install it, its extension id is changed from the original one(this is the reason you are getting login page again and again). Now, client id used in extension is valid for only the original extension id. Thats why when you install it from web store it works fine because it retains its original extension id.
Solution :
You must retain the original extension id to make it work. First download crx viewer(very helpful for extension developers)
After installing crx viewer, navigate to your extension from web store. You will notice a page action(icon at the end of url). Click it , then click view source. New tab will open, then press f12 and check the console, you will find a "key" value. Copy it. Now go to your extension page again and download the extension as zip(from crx). Extract it and open its manifest.json file and paste the "key" along with value.(This step is necessary to retain extension id). Now install the extension from chrome by enabling developer's mode and clicking load unpacked extension and selecting the extracted extension. It should work now

Why does Google Chrome sometimes auto-disable an extension and require the user to click a Reload link?

As shown in the image here:
Why would Chrome require a user to manually “Reload” an extension? The extension seems to be working for a while, then suddenly a user reports that it has stopped working and I have to instruct him/her to click the “Reload” link.
As an extension developer, I would like to be able to prevent this from happening. Here’s my extension in the Chrome Web Store.
Screenshot borrowed from a similar report from another developer.

Is there a way to prevent the warning message from displaying on a Chrome extension installation

When you install an extension to the Google Chrome browser from Chrome's website, the installation procedure pops up instantly, without warning. (Chrome's website)
When you install an extension from any other website, there is a warning message: "Extensions, apps, and themes can harm your computer. Are you sure you want to continue?"
My extension is trusted and displayed on Chrome's website, but is there a way to remove this scary warning from my website's download page ?
Thanks
I figured out myself there is no way to do this because chrome just checks if the extension install is launched from its own website.
For people wondering what I eventually did (if there will ever be) :
As soon as the user clicks on the install button, I hide the document with an 80% opaque layer and show a box pointing where to click to continue the installation.

Resources