views:

59

answers:

4

So I want a list of all javascript commands what can manipulate or get information about URL's.

Example:

window.location.href
+1  A: 

Your question is not really clear. However, I suggest that you have a look one the Javascript reference from Mozilla. The response to your question is here, no doubt about that!

romaintaz
+2  A: 

W3C
W3 Schools
Mozilla

vol7ron
That's a link to W3 Schools, not to W3C.
Marcel Korpel
you are correct? - i added w3c to reduce confusion
vol7ron
W3 just means world wide web. It's incorrect to think that W3 always means W3C. W3Schools is, in may ways, more popular than W3C. Without talking about the W3C anywhere, you cannot think that W3 refers to the consortium. At the same time, you can't think it refers to w3schools either.
vol7ron
+3  A: 

To list the properties of an object you can use this method:

var p = [];

for (var i in window.location)
{
    p.push(i);
}

alert(p.join("\n"));

For window.location I get:

  • href
  • protocol
  • search
  • hash
  • pathname
  • hostname
  • host
  • port
  • reload
  • replace
  • assign
BrunoLM
A: 

Here, lmgtfy.

https://developer.mozilla.org/en/DOM/window.location

no