get opened chrome tabs from outside the browser - google-chrome

I need to check what tabs are opened in chrome, but I can't use the browser to do so. I need to do it from the cmd or from a python\c++ or any language that runs on the host computer, does anyone know how can I do it?
Thank you very much.

Related

Opening localhost:1000 in Chrome in cmd

I can't seem to open localhost:1000 in Chrome via cmd. I can, however, open other urls using start chrome www.stackoverflow.com, but when I try this with localhost:1000 it opens an empty window. Anyone know how to fix this problem?
Simply add protocol to URL.
E.g start chrome http://localhost:1000 works well.

automatically open website in my browser

When I start my browser Chrome and Firefox, the website named "http://www.bilexlahntu.ru" opens automatically. Also there are no extensions installed on it. How to solve this problem? Also sometimes Chrome shows a pop-up to download something.
Please help me.
Looks like your browser contains adware. Use some addware remover. For automatically opening sites, have checked chrome>>settings>>on start up and remove or change the start up pages. I have used addblock extension for chrome.. link: https://chrome.google.com/webstore/detail/adblock/gighmmpiobklfepjocnamgkkbiglidom
i find the solution, after uninstalling all the application that are from unknown publisher, i don't face this problem and all my browser works well as earlier.

Re-enable WebGL without restarting Chrome

When Chrome stops WebGL and gives you the following error (in a yellow banner on top of the screen): "Rats! WebGL hit a snag...", and reloading does not work (WebGL is still not re-enabled), is it possible to re-enable WebGL without restarting Chrome?
Context:
Chrome disables WebGL probably because it requires too many resources: I ask it to display 400,000 billboards on Cesium, for those who know what this is.
I know how I could reduce the resources my app asks for, but actually I am exploring its limits for testing purposes. So I am going to make Chrome disable WebGL a lot of times, and I do not want to restart it everytime it disables WebGL.
My configuration:
Chrome 35.0.1916.114 m
Windows 7 Pro 64 bit.
Solutions explored:
I already tried to open a new Chrome window, it does not work. For the moment all I can do is close all Chrome windows and restart it.
I already tried to put --ignore-gpu-blacklist in the Chrome shortcut (even if I understood this is for Windows XP, right?).
Hope I was clear enough.
Thank you for your help.
I was having the same problem and I just found a solution. It sounds like this didn't work back when this question was posted but, it works now!
Refreshing the page doesn't work. If you clicked a link from a different tab to open the tab the crashed, clicking that link again doesn't work. You have to open a new tab and paste in the URL of the page that you want to reload.
I'm guessing this is due to chrome threading... by opening a brand new tab, you create a new thread instead of using the existing one.
In your application you should properly handle webglcontextlost and webglcontextrestored events. In particular, you should prevent default event action in webglcontextlost handler thus telling the browser that you can restore proper functioning of your app when webglcontextrestored will be fired.

Invoke a specific browser by URL

Let's say I have a specific URL link and my default browser is Safari. Is there anyway for that URL to be opened using Chrome instead of the default browser by passing some parameter in the URL or any other way? Note that I do NOT want to change the default browser to Chrome.
The general way to solve this problem is to ask, "How can I launch Chrome with a specific URL?" Trying this on my machine, the command line
chrome http://stackoverflow.com
does it. So, you just need to:
Locate chrome.exe on the user's machine
Launch Chrome with a command line parameter of the URL you want to load
UPDATE: Upon rereading your question, I see that the user is browsing in Safari and wants to click on a link in Safari and open Chrome. No, there isn't any way to do this just by changing the HTML. My above answer would apply to a desktop program that wants to launch Chrome with a specific URL.
you can not pass an url to be launched with a specific browser.
For that you would need access to the machine and start the specific browser yourself with the url as a parameter.
If you are just building a website you can not control this, but you could embedded some javascript telling the user that this site will only work if they are using chrome...
I'm a bit late to this one but Choosy probably does exactly what you're looking for (Mac-only I believe): http://www.choosyosx.com.
Found this gem and it does essentially this task by creating a Site Specific Browser.
It is a little different but it accomplishes the same goal!
http://lifehacker.com/5611711/create-application-shortcuts-in-google-chrome-for-mac-with-a-shell-script

How can I get Aptana to work with Google Chrome?

Is there a way for me to get Google Chrome to launch in Aptana?
I tried adding it under Web Browsers but when launching the webpage, from Aptana, it launches it in Firefox instead.
Selecting Default system browser doesn't work either.
How I would do it is where the green > button is, at the top (next to debug), go into run configuration and add a new entry for google chrome.
The path for chromes exe is at (Win7)
C:\Users\USERNAME\AppData\Local\Google\Chrome\Application\chrome.exe
WinXP
C:\Documents and Settings\<username>\Local Settings\Application\chrome.exe
Then you can run that straight from the drop down menu. This is the way I do it, however it may not be applicable for your situation.
I added Chrome to the Run Configurations ...
I deleted Firefox from the General > Web Browser settings.
I restarted Aptana Studio 3 and now, when I click on the green arrow run button, Chrome is the browser.
Say hello to F12 and debugging HTML and JavaScript with ease.
I have Windows 7 and followed the advice listed above for the 'green button'. For Chrome, my file path was "C:\Users\user name\AppData\Local\Google\Chrome\Application\chrome.exe". It was very simple and worked beautifully. Thank you.
rickyduck's answer applies but the path to Chrome may have changed in newer versions to :
C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
That's the path I had to use.
rickyduck's answer is exactly what I have been looking for! Thanks Ricky!
To get the exact path to chrome on your machine, just go to your start menu, type in chrome and when it comes up, right click on it and select the Shortcut tab to copy the target path and paste right into Aptana.
Another way to directly launch chrome upon pressing green button is to delete other browsers from run -> run configuration -> web browser . . . and leave chrome alone . . if you want other browsers you can add later on . .
You can add as many browsers as you want. Click on Run -> Run Configurations then right-click on Web Browser in the left nav pane, then select New. Use the Browse button to get the application path then at the top of the dialog, type in a descriptive name. Click Apply and Close. You now have more than one browser to choose from for testing.
I added Chrome to run configurations, and deleted Firefox and IE, also changed likewise under General Web Browsers. The Chrome tab doesn't show up on Green dropdown. If I exit program and restart, the Firefox and IE are back again, but still now Chrome.
Click the tiny black arrow thats looks at the bottom and is located at the top, next to the green Run button:
Choose Run Configurations and then you should see a Browser executable field, under the Web Browser tab:
where you want to click Browse, navigate to the Google Chrome executable (at my Max OS X at El capitan: Applications -> Google Chrome) and double click on it.
Then, click Apply (in the Run Configurations window). Then Run.
That's it! :)
Tested with Aptana Studio 3, installed like this on Mac.