What I want to do is to redirect files to different directories for different screen sizes. (I am working on building a responsive site).
I have tried adding index.html and window.location="http://what-do-christians-believe.co.uk/index.html"
The link from the html file is; <script src="device.js"></script>
How can I stop the looping?