{"size": 725, "ext": "js", "max_stars_repo_path": "operations/search.js", "max_stars_repo_name": "anmoldewanrai/Booked", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "operations/search.js", "max_issues_repo_name": "anmoldewanrai/Booked", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "operations/search.js", "max_forks_repo_name": "anmoldewanrai/Booked", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 27.8846153846, "max_line_length": 94, "alphanum_fraction": 0.5255172414}
//Search Bookmarks
var term = "";
search.addEventListener("keyup", (e) => {
  showMore.style.display = "none";
  if (e.keyCode === 13) {
    folderTitle.innerText = "Search Results";
    term = search.value.trim();
    chrome.bookmarks.search(term, (terms) => {
      list.innerHTML = "";
      if (terms.length) {
        terms.forEach((term) => {
          list.innerHTML += `
							<a href="${term.url}" target="_blank">
							<div class="item">
							<img height="20" width="20" src="http://www.google.com/s2/favicons?domain=${term.url}">
							<p class="title">${term.title}</p>
							</div>
							</a>`;
        });
      } else {
        list.innerHTML = `<h3>No Bookmark(s) Found</h3>`;
      }
    });
  }
});
