init
This commit is contained in:
commit
8a0be83783
|
@ -0,0 +1,4 @@
|
|||
distribution
|
||||
.idea
|
||||
node_modules
|
||||
.parcel-cache
|
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
"name": "sessions-ext",
|
||||
"version": "0.0.1",
|
||||
"description": "",
|
||||
"scripts": {
|
||||
"build": "parcel build src/manifest.json --no-content-hash --no-source-maps --dist-dir distribution --no-cache --detailed-report 0",
|
||||
"watch": "parcel watch src/manifest.json --dist-dir distribution --no-cache --no-hmr",
|
||||
"run:chromium": "web-ext run -t chromium"
|
||||
},
|
||||
"author": {
|
||||
"name": "Dawid Wysokiński",
|
||||
"email": "contact@dwysokinski.me",
|
||||
"url": "https://dwysokinski.me/"
|
||||
},
|
||||
"license": "ISC",
|
||||
"devDependencies": {
|
||||
"@parcel/config-webextension": "^2.8.0",
|
||||
"@types/chrome": "^0.0.200",
|
||||
"parcel": "^2.8.0",
|
||||
"typescript": "^4.8.4"
|
||||
},
|
||||
"webExt": {
|
||||
"sourceDir": "distribution",
|
||||
"run": {
|
||||
"startUrl": [
|
||||
"https://pl181.plemiona.pl/game.php?screen=info_player"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
chrome.cookies.onChanged.addListener(console.log);
|
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"name": "Awesome Extension",
|
||||
"version": "0.0.0",
|
||||
"description": "An awesome new browser extension",
|
||||
"homepage_url": "https://tribalwarshelp.com/",
|
||||
"manifest_version": 3,
|
||||
"minimum_chrome_version": "100",
|
||||
"icons": {
|
||||
"128": "icon.png"
|
||||
},
|
||||
"permissions": [
|
||||
"storage",
|
||||
"cookies"
|
||||
],
|
||||
"host_permissions": [
|
||||
"https://*.plemiona.pl/*"
|
||||
],
|
||||
"options_ui": {
|
||||
"browser_style": true,
|
||||
"page": "options.html"
|
||||
},
|
||||
"background": {
|
||||
"service_worker": "background.ts",
|
||||
"type": "module"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport"
|
||||
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>Sessions</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Test</h1>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue