diff --git a/manifest.json b/manifest.json deleted file mode 100644 index b56e155..0000000 --- a/manifest.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "manifest_version": 3, - "name": "reFilc.hu", - "version": "1.0", - "description": ":3", - "permissions": [ - "scripting", - "activeTab", - "tabs", - "cookies", - "storage" - ], - "host_permissions": [ - "https://*.e-kreta.hu/*" - ], - "background": { - "service_worker": "serviceWorker.js" - } -} \ No newline at end of file diff --git a/serviceWorker.js b/serviceWorker.js deleted file mode 100644 index b64b4f7..0000000 --- a/serviceWorker.js +++ /dev/null @@ -1,25 +0,0 @@ -const getCookies = async (url) => { - await new Promise((resolve, reject) => { - chrome.cookies.getAll({ url: url }, (cookies) => { - if (chrome.runtime.lastError) { - return reject(chrome.runtime.lastError) - } - resolve(cookies) - }) - }) -} - -const sendMimicedRequest = async ( - url, - headers, -) => { - let returnValue - - if (url) { - returnValue = fetch(url, headers) - } - - if (returnValue) { - return returnValue - } -} \ No newline at end of file