Skip to content

Commit

Permalink
removed unused files
Browse files Browse the repository at this point in the history
  • Loading branch information
bluebearrii committed Mar 18, 2023
1 parent d489429 commit 992e80e
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 9 deletions.
2 changes: 2 additions & 0 deletions chrome-extension/src/background.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
chrome.tabs.onZoomChange.addListener(function () {
console.log("New tab loaded!");
});


15 changes: 15 additions & 0 deletions chrome-extension/src/backup_backend.text
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
const data = {
query: 'my search query string',
};

fetch('http://localhost:3000/api/search-receive', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify(data),
})
.then((response) => {
console.log('Sending search query to tracker service with status:', response.status);
})
.catch((error) => console.error('Error:', error));
8 changes: 0 additions & 8 deletions chrome-extension/src/content.ts

This file was deleted.

2 changes: 1 addition & 1 deletion chrome-extension/src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"manifest_version": 3,
"permissions": ["tabs"],
"permissions": ["tabs", "webNavigation"],
"background": {
"service_worker": "index.js"
},
Expand Down

0 comments on commit 992e80e

Please sign in to comment.