Refactored repository structure
4
.gitignore
vendored
@ -1,5 +1,7 @@
|
|||||||
|
.DS_Store
|
||||||
*.crx
|
*.crx
|
||||||
*.nex
|
*.nex
|
||||||
*.pem
|
*.pem
|
||||||
*.zip
|
*.zip
|
||||||
|
build/chrome/*
|
||||||
|
build/firefox/*
|
||||||
|
|||||||
3
build.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
cp src/platform/$1/manifest.json build/$1/manifest.json
|
||||||
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 206 B After Width: | Height: | Size: 206 B |
|
Before Width: | Height: | Size: 338 B After Width: | Height: | Size: 338 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
35
src/platform/firefox/manifest.json
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
{
|
||||||
|
"manifest_version": 2,
|
||||||
|
"name": "AlwaysKillSticky",
|
||||||
|
"version": "1.0.1",
|
||||||
|
"description": "Get rid of sticky elements on websites - permanently!",
|
||||||
|
"author": "Said Achmiz",
|
||||||
|
"homepage_url": "https://git.sr.ht/~achmizs/AlwaysKillSticky.git",
|
||||||
|
"permissions": [ "activeTab", "storage" ],
|
||||||
|
"background": {
|
||||||
|
"scripts": ["src/background.js"]
|
||||||
|
},
|
||||||
|
"content_scripts": [ {
|
||||||
|
"matches": [ "http://*/*", "https://*/*" ],
|
||||||
|
"run_at": "document_end",
|
||||||
|
"js": [ "src/functions.js", "src/contentScript.js" ]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"page_action": {
|
||||||
|
"default_popup": "src/popup.html",
|
||||||
|
"default_title": "AlwaysKillSticky - Click the icon to control sticky-killing on this site!",
|
||||||
|
"default_icon": {
|
||||||
|
"16": "src/images/ASK_on_16.png",
|
||||||
|
"32": "src/images/ASK_on_32.png",
|
||||||
|
"48": "src/images/ASK_on_48.png",
|
||||||
|
"128": "src/images/ASK_on_128.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"icons": {
|
||||||
|
"16": "src/images/ASK_on_16.png",
|
||||||
|
"32": "src/images/ASK_on_32.png",
|
||||||
|
"48": "src/images/ASK_on_48.png",
|
||||||
|
"128": "src/images/ASK_on_128.png"
|
||||||
|
},
|
||||||
|
"options_ui": "src/options.html"
|
||||||
|
}
|
||||||