Created
February 22, 2016 18:57
-
-
Save lalfaro29/099cc4ae48e72dff8ce4 to your computer and use it in GitHub Desktop.
Funcion de jquery que deshabilita el boton ATRAS del navegador, aumenta la seguridad de tus paginas.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function(){ | |
initControls(); | |
}); | |
function initControls(){ | |
window.location.hash="red"; | |
window.location.hash="Red" //chrome | |
window.onhashchange=function(){window.location.hash="red";} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment