ReHttps.js is completely standalone and only 562 Bytes (337 B (gzip)) of size.
Soon as ReHttps.js is loaded within a HTTP page it will test if the current page supports https. If the page does it will redirect the user to the encrypted page.
##warning The only purpose of ReHttps.js is to increase the amount of https-traffic. If you are doing stuff that needs to be encrypted, use its highly recommended to use an server site approach (reverse-proxy etc.)
##usage dont use it now