Skip to content

Commit

Permalink
Add link to chatbot
Browse files Browse the repository at this point in the history
  • Loading branch information
arulebin committed Aug 26, 2024
1 parent 04c7d11 commit 71dcb8c
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions popup/popup.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
const dataBreachbtn=document.querySelector("#check-data-breach");
const reportbtn=document.querySelector("#report-cybercrime");
const dataBreachbtn = document.querySelector("#check-data-breach");
const reportbtn = document.querySelector("#report-cybercrime");
const accessChatbot = document.querySelector('#access-chatbot');

dataBreachbtn.addEventListener("click",()=>{
accessChatbot.addEventListener('click', () => {
window.open("https://cyber-safe-web.vercel.app/#chat-container");
});

dataBreachbtn.addEventListener("click", () => {
window.open("https://cyber-safe-web.vercel.app/Features/DataBreach/features.html");
});

reportbtn.addEventListener("click",()=>{
reportbtn.addEventListener("click", () => {
window.open("https://cybercrime.gov.in/Webform/Index.aspx");
});

Expand Down

0 comments on commit 71dcb8c

Please sign in to comment.