I'm developing a chrome extension and I want is to be launched by a keyboard shortcut - is there any way to do this?
You can use the chrome.commands API.
Related
I am creating an Office App (Outlook addin/web-app). While debugging, the app is always launching in IE desktop version. I want to start debugging the app in non-IE browser - FF, Chrome. I couldn't find any settings related to this within the project. How can I achieve that?
Any help will be appreciated.
Thanks.
Microsoft Visual Studio: Currently you will be able to debug you project in Visual studio 2015 or later only using IE browser. By "debugging in VS" I meant you set breakpoints directly in IDE for your JS code. As of VS2017 RC release you will be able to debug your project in two browsers (IE and Chrome), even today, Edge coming as well. Please see Client-side debugging of ASP.NET projects in Google Chrome.
If you need just to start your project in yet another browser (Chrome, Edge, Firefox) you need to use this article to switch your Browser in IDE: Testing with an Alternate Browser. After you switch to another browser, please restart VS; I have tried this myself and it works, your project will be started in the browser of your choice by pressing F5. With this approach you would need to debug your code with development tools of this browser (F12) or some 3rd party extension.
Visual Studio Code: (VS community edition) Looks like have support for debugging your code in Chrome and setting up break points directly in VS Code IDE. Please refer to Introducing Chrome Debugging for VS Code. You would require to install VS extension as described in the article.
Other options: If you are using yet another Tool please refer to the following blog about different methods of debugging office add-ins: The many ways of office web add-ins debugging
I finally figured out the solution. Select the Manifest project, hit F4 to open Properties window. Choose your preferred Start Action. Here is a screenshot.
Start Action image
I've been diving 2 days now about how to open a Windowless (invisible, hidden) chrome incognito window from a chrome extension, it seems that chrome api doesn't allow it!!
i want to avoid using tools as Selenium RC.
Any idea?
I am trying to set Chrome Incognito as default Browser, but I dont know how to do this.
I'm running NetBeans 8.0.2.
Any idea?
Open options from top menu (Tools -> Options) then click on Edit button to the right of Web Browser selector and configure as in the screenshot.
I recently found a new feature of Google Chrome on windows 8.1: a "Windows 8 Mode" available from the menu in the top-right corner of the window:
This opens a Windows Store-style interface, as if it were its own app:
Does anyone know how Google does this, clearly without sideloading an app using the auto-generated "Add-AppDevPackage.ps1" powershell script that Visual Studio generates when you create an app package?
Thanks in advance,
MagikM18
I'm new to Intellij IDE and I was wondering if it's possible to debug Chrome extensions within the IDE.
I can start Chrome debugging session from the IDE, but I can't set any breakpoints.
The problem, if I understand it correctly, is that Chrome moves the JS files to the profile directory when I install the extension, so Intellij can't monitor them anymore.
It is not possible right now. Actual problem — IDEA tries to connect, but special chrome extension page should be used. Vote for http://youtrack.jetbrains.com/issue/WEB-9708