Refactored repository structure

This commit is contained in:
Said Achmiz 2019-02-02 15:41:29 -05:00
parent 7e54f78a64
commit 7ecd23682d
29 changed files with 41 additions and 1 deletions

4
.gitignore vendored
View File

@ -1,5 +1,7 @@
.DS_Store
*.crx
*.nex
*.pem
*.zip
build/chrome/*
build/firefox/*

3
build.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
cp src/platform/$1/manifest.json build/$1/manifest.json

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 206 B

After

Width:  |  Height:  |  Size: 206 B

View File

Before

Width:  |  Height:  |  Size: 338 B

After

Width:  |  Height:  |  Size: 338 B

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

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