old stuff removed

This commit is contained in:
Wrosoly 2025-02-15 12:10:01 +01:00
parent a624e016aa
commit e2cf0b8fdb
2 changed files with 0 additions and 44 deletions

View File

@ -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"
}
}

View File

@ -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
}
}