// use this when making changes so that there is no need to parse the page var bookmarkList; $(document).ready(function () { calcBackground(); loadBookmarks(); $("#importExportModal").on("shown.bs.modal", function () { var data = getListString(); if (data != null) $("#exportText").text(data); else $("#exportText").text("[]"); }); $("#newBookmarkModal").on("shown.bs.modal", function () { var combo = $("#newBookmarkGroup"); var data = getList(); for (var i = 0; i < data.length; i++) { combo.append($("