Gitlab Default dropdown to Https

Make default clone method is HTTPS instead of SSH

As of 2016-08-19. See the latest version.

  1. // ==UserScript==
  2. // @name Gitlab Default dropdown to Https
  3. // @namespace http://steamcommunity.com/id/Ruphine/
  4. // @version 0.1
  5. // @description Make default clone method is HTTPS instead of SSH
  6. // @author Ruphine
  7. // @include https://gitlab.com/*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. $(document).ready(function()
  12. {
  13. if($("#clone-dropdown")[0])
  14. {
  15. $("#clone-dropdown")[0].click();
  16. $(".http-selector")[0].click();
  17. }
  18. });