Modify Prototype Script To Force Https

I’m having a strange problem with a prototype.js file on my site. The script is loading twice in both http and https therefore causing security errors on all of my https pages.

I think all that is required is to modify the isSameOrigin method to always force HTTPS but I’m not 100% sure. Should be a quick and easy job for anyone skilled in JavaScript.

Leave a Reply

Your email address will not be published. Required fields are marked *