Jump to content

Getting URL from active tab regardless of browser


Seminko
 Share

Recommended Posts

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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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
 Share

×
×
  • Create New...