how can i get my CF app to ask for the url of a opened web browser? say google chrome.
Printable View
how can i get my CF app to ask for the url of a opened web browser? say google chrome.
do you mean retrieve the URL that is currently in the browser?
Yep, thats right
With so little information it's pretty hard to understand what you want to do with it.
What you must first note that many browser nowadays are multi tabbed. So you need to know what tab to look at.
The hard way: Scan all tabs in each opened web browser to find out if the link is opened.
Benefits: You get all URL's to all opened tabs in one array.
Malefits: This may break international laws.
The easy way: Use the URL object and open the page yourself in the default web browser.
Benefits: You provide the URL for the user. No laws broken
Malefits: None.
This sounds very unlikely to be possible, unless the web browser has protocols to share this information with other applications, or it is written to file somewhere. Even so, some browsers might, others will not.
It's potentially a violation of the user's privacy, so this sounds a bit malicious.
If there are valid reasons why you need to know the URL the user's visiting, then you can embed your own web browser in Fusion instead.
u dont know me, so dont label me as such
i was asking this because i had to copy the web address from chrome and then paste the url into my app , i was tryiing to shortcut it so i didnt have to copy a url from the open web browser and paste it in me app
im sooooooo annoyed now.
Well, there is another solution. You can poll the clipboard so as soon as the URL is copied by the user, it is automatically pasted and processed by the app.
That's as automated as it's going to get, unless the program has its own browser that you can control.
Thanks for that anyway, i didnt know that a simple question was gonna cross boundrys into forbidden coding.
Why do you want to get a users URL in their browser?
I certainly never labeled you anything since I don't know you. I just pointed out that it would probably break international laws.Quote:
u dont know me, so dont label me as such
Well you want to know some user's web browser URL's for unclear reasons. It's stuff that many hackers would love to get access to as well. This smells very fishy. This smells very unprofessional. This is stuff that is standard in rootkit viruses. And I know all to goddang well what a load of b**ches they are to remove. It takes forever to do, and the chance is that you don't get all sh*t removed. And if there is still a sliver of a rootkit virus remaining, it can reinstall itself.Quote:
i didnt know that a simple question was gonna cross boundrys into forbidden coding.
I noticed that my computer was sluggish as heck a few years ago. So I downloaded HijackThis to get a look at it. That file got removed from within the zip file! So I downloaded the EXE file instead, and it gets removed as well! I went like "WTF!" and shut down my computer for the night. I was forced to burn the program onto a CD ROM to actually force the issue and be able to scan the damn computer. And not to my surprise I had a rootkit nestled into my computer.
So say that it was me who you wanted to know what I surf at. What incentive would you give to me in return for giving out that information? This would mean that you would also get access to sensitive URL's for my domain, bank accounts, my serial keys for my softwares, email accoounts... You know that'll never ever in a milion years gonna happen. Period!