/* This file was developed as part of the Private.coffee project It is licensed under the MIT license See https://private.coffee for more information */ // Read the available services from a JSON file in the base directory and add them to the displayed services as in index.html // This function is not currently used by the site, but is included for reference function loadServices() { $("#services").html(""); $.getJSON("services.json", function (data) { $.each(data.services, function (i, service) { var serviceHTML = '
" + service.description + '
"; if (service.onion) { serviceHTML += '"; } serviceHTML += "