Jump to content

Recommended Posts

Posted

Hey fellas,

I'm looking for an easy way to get an URL from an active browser.

Now, I know about chrome and IE includes but the script I'm writing will be used by users with different browsers, obviously. I can imagine have both IE and Chrome includes in the script, identifying what browser the user uses etc but I was wondering if there is any other easier way.

Thanks

Seminko

Posted

The only universal method I know is highlighting the address bar using F6 (when the browser is active). Since there is no control to get info from on any browsers

F6 or Alt+d will select and highlight the url in the address bar, then you can send Ctrl+c to copy it

Posted (edited)

I'm using Firefox and it works, I've used it in Internet Explorer 11, 10, and in Chrome. I don't know about any other ones but those are the 3 most popular browsers. Download and try it on Safari. I don't know about Spartan (IE's replacement) but I'm assuming it will do the same, since it's Microsoft.

Edited by InunoTaishou

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...