Shortcut for reloading extensions in Chrome - google-chrome-extension

Is there any shortcut or an extension to reload extensions in Chrome? This is a really big pain while developing extension for Chrome.

I think the best way to do this is to actually open the popup in a page. To do this use the URL:
chrome-extension://{extension-id}/{page.html}
This allows you to use Chrome Developer tools and when you press refresh the extension is refreshed with the latest code changes. It also updated the extension popup.

Related

Is there a better way to keep removing and reloading "unpacked" chrome extension when doing development

Is there a better way to keep removing and reloading "unpacked" chrome extension when doing development? I found myself doing this for a very long period of time already and start to think this doesn't feel like the "right way" to develop it. There must be a way it would automatically "compile" right?
I use the following chrome extension to reload all unpacked chrome extensions during development, when pressing the extension icon in the topbar.
Extensions Reloader
Additionally the options page for the extension provides a feature to reload the active tab, when pressing the extension icon.
Hope it helps.

Can a Chrome extension detect if the browser has an incognito mode?

I am looking for a way to detect, within an extension, if a Chrome browser install CAN be opened in Incognito mode: I need to find the value of IncognitoModeAvailability.
I am not looking to find out if the browser IS in Incognito mode. Nor am I looking to find out if the extension will work in Incognito. Nor am I trying to make an extension work in Incognito.
I'd like the Chrome extension to be able to detect if the Chrome browser install even HAS an incognito mode as a possibility. Having trouble finding anything that speaks to this.
Any assistance is appreciated!

How can I reload my Chrome extension when it is not possible to do so from chrome://extensions because of my extension?

I'm testing out Chrome Extension development and was testing how to do a page redirect through Chrome Extension.
Well it works, but now because of that I can't access the extension settings page.
How do I manually reload/disable the extension? Or do that from the Mac terminal?
My Chrome is pretty much unusable now thanks to my own code.
Thank you!
Tee
Your question seems to be "How can I reload my Chrome extension when it is not possible to do so from chrome://extensions because of my extension?"
A possible answer is:
Press Shift + Esc to open the task manager (or click on the hamburger menu -> More tools -> Task manager).
Select your extension.
Click on the "End process" button.
Now you can visit chrome://extensions and reload your extension in the usual way.
The previous only works if there is an extension process, not if your extension is purely a content script extension. If you still want to use the above method, you can force an extension process to become visible by opening chrome-extension://[extension id here]/manifest.json in a new tab.

"Edit source" button for Google Chrome extensions

I'm looking for a way to quickly test and debug Google Chrome extensions. Is there any way to add an "edit source" button next to each extension on the Chrome Extensions page, using an extension?
The TamperMonkey extension allows all installed userscripts to be viewed and edited within Chrome- this is the best "work-around" that I've found for this problem so far. I don't yet know whether it can synchronize scripts between Chrome installations - hopefully this feature will be implemented soon.

how to disable reload option in chrome extension

I have developed on plugin by using google chrome extension API.
By using "Load unpacked extension" button I can install the my plugin in to chrome browser,
I will get 3 option in the "Reload", "Disable" and "Uninstall".
How can I disable Reload option for my extension. I am attaching the image for reference
Thanks.
You cant.
Although theoretically you could write a NPAPI plugin that would do this I recommend against it.

Resources