{"size": 354, "ext": "js", "max_stars_repo_path": "source/popup.js", "max_stars_repo_name": "ahmedElghandour1/amazon-souq-data-collector-web-extention", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "source/popup.js", "max_issues_repo_name": "ahmedElghandour1/amazon-souq-data-collector-web-extention", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "source/popup.js", "max_forks_repo_name": "ahmedElghandour1/amazon-souq-data-collector-web-extention", "max_forks_repo_forks_event_min_datetime": "2020-09-21T12:51:02.000Z", "max_forks_repo_forks_event_max_datetime": "2020-09-21T12:51:02.000Z"}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 25.2857142857, "max_line_length": 73, "alphanum_fraction": 0.6073446328}
  const button = document.querySelector("button");
console.log(button);
button.addEventListener("click", (e) => {
  console.log(e);
chrome.runtime.sendMessage({ todo: "showData" });
  // chrome.tabs.query({ active: true, currentWindow: true }, (tabs) => {
  //   chrome.tabs.sendMessage(tabs[0].id, {
  //     todo: "showData",
  //   });
  // });

});

