Top "Window.location" questions

window.

Reload a page with location.href or window.location.reload(true)

I need to reload a page in a success of an ajax call. I'm seeing some code (not mine) and …

javascript reload window.location location-href
possible to replace window.location.hash?

I'm wondering whether it's possible to change the hash in window.location.hash and replace it with 'this.id'. Or …

javascript jquery window.location
Is it secure to use window.location.href directly without validation

Is it secure to use window.location.href without any validation? For example: <script> var value = window.location.…

javascript security xss href window.location
$window.location.href NOT WORKING in AngularJS

I'm building a basic AngularJS Login page and the $window.location.href did not re-direct the page to a new …

html angularjs login window.location
Create a link that either launches iOS app, or redirects to app store

Possible Duplicate: Is it possible to register a http+domain-based URL Scheme for iPhone apps, like YouTube and Maps? I …

javascript ios redirect window.location url-scheme
PhoneGap for iPhone: problem loading external URL

I'm writing an application for iPad using PhoneGap and I would like to load an external URL without triggering Safari …

load cordova window.location external-links
Get root website url in javascript for redirect

I want to redirect to Login page from every page in my website after session timeout. I try to set …

javascript asp.net window.location
Mock window.location.reload in Jasmine testing

I have created a window.location.reload function in my javascript. I need to mock the reload function while testing …

mocking jasmine window.location
javascript/jquery to change location.href

This is my HTML <form id="procurar-novo"> <input type="text" name="procurar" placeholder="Pesquisar no Site" value=""&…

javascript window.location submit-button
Clearing URL hash

Visit stackoverflow.com/#_=_ and window.location.hash evaluates to #_=_. Fine. Now execute window.location.hash = '' to clear the hash, …

javascript html url-routing window.location