Force HTTPS

Force HTTP to HTTPS

  1. // ==UserScript==
  2. // @name Force HTTPS
  3. // @namespace ghostrider47
  4. // @version 0.2
  5. // @description Force HTTP to HTTPS
  6. // @author ghostrider47
  7. // @match http://*
  8. // @include http://*
  9. // @grant none
  10. // ==/UserScript==
  11. // @run-at document-start
  12. // @run-at document-end
  13. // @run-at document-idle
  14.  
  15. document.location = document.URL.replace('http://','https://');