Click here to Skip to main content
16,013,440 members

Comments by pepri (Top 1 by date)

pepri 26-Nov-12 18:14pm View    
Reason for my vote of 1 \n Why not location.href? In which browser is this.href defined? And for which context of this? Why is the deprecated document.location used? Why toString instead of href? How should this be better than simple location.href? Why toLowerCase? You can change the meaning of the URL by doing that...