por ejemplo, tengo este codigo, funciona en http, pero no en https:
Código:
quien me ayuda?... var oldURL = window.location.hostname + window.location.pathname; var newURL = "http://" + oldURL; window.location = newURL;