Feature/#32 option menu #112

Merged
Serraniel merged 31 commits from feature/#32-option-menu into develop 2020-11-09 17:28:43 +01:00
8 changed files with 72 additions and 88 deletions
Showing only changes of commit 25c41d7bed - Show all commits

View file

@ -1,38 +0,0 @@
{
"name": "Enhanced Aniwatch",
"version": "0.1.0.0",
"description": "Contains several enhancments for https://aniwatch.me.",
"manifest_version": 2,
"author": "Serraniel",
"homepage_url": "https://github.com/Serraniel/EnhancedAniwatch",
"options_ui": {
"page": "settings/settings.html",
"open_in_tab": true
},
"permissions": [
"storage"
],
"content_scripts": [{
"matches": [
"*://aniwatch.me/*"
],
"js": [
"settings/SettingsProvider.js",
"utils/colors.js",
"utils/helpers.js",
"utils/aniwatchCore.js"
],
"run_at": "document_start"
},
{
"matches": [
"*://aniwatch.me/*"
],
"js": [
"enhancements/quickSearch.js",
"enhancements/animeRequests.js"
],
"run_at": "document_end"
}
]
}

View file

@ -17,7 +17,5 @@
<button id="save">Save</button> <button id="save">Save</button>
</form> </form>
<script src="settings.js"></script>
<script src="SettingsProvider.js"></script>
</body> </body>
</html> </html>

View file

@ -14,7 +14,12 @@
"48": "images/icon/icon_48.png", "48": "images/icon/icon_48.png",
"96": "images/icon/icon_96.png" "96": "images/icon/icon_96.png"
}, },
"content_scripts": [{ "options_ui": {
"page": "html/settings.html",
"open_in_tab": true
},
"content_scripts": [
{
"matches": [ "matches": [
"*://aniwatch.me/*" "*://aniwatch.me/*"
], ],
@ -25,5 +30,6 @@
"stylesheets/aniwatchplus.min.css" "stylesheets/aniwatchplus.min.css"
], ],
"run_at": "document_end" "run_at": "document_end"
}] }
]
} }

View file

@ -14,7 +14,12 @@
"48": "images/icon/icon_48.png", "48": "images/icon/icon_48.png",
"96": "images/icon/icon_96.png" "96": "images/icon/icon_96.png"
}, },
"content_scripts": [{ "options_ui": {
"page": "html/settings.html",
"open_in_tab": true
},
"content_scripts": [
{
"matches": [ "matches": [
"*://aniwatch.me/*" "*://aniwatch.me/*"
], ],
@ -25,5 +30,6 @@
"stylesheets/aniwatchplus.min.css" "stylesheets/aniwatchplus.min.css"
], ],
"run_at": "document_end" "run_at": "document_end"
}] }
]
} }

View file

@ -18,7 +18,12 @@
"48": "images/icon/icon_48.png", "48": "images/icon/icon_48.png",
"96": "images/icon/icon_96.png" "96": "images/icon/icon_96.png"
}, },
"content_scripts": [{ "options_ui": {
"page": "html/settings.html",
"open_in_tab": true
},
"content_scripts": [
{
"matches": [ "matches": [
"*://aniwatch.me/*" "*://aniwatch.me/*"
], ],
@ -29,5 +34,6 @@
"stylesheets/aniwatchplus.min.css" "stylesheets/aniwatchplus.min.css"
], ],
"run_at": "document_end" "run_at": "document_end"
}] }
]
} }

View file

@ -15,7 +15,12 @@
"48": "images/icon/icon_48.png", "48": "images/icon/icon_48.png",
"96": "images/icon/icon_96.png" "96": "images/icon/icon_96.png"
}, },
"content_scripts": [{ "options_ui": {
"page": "html/settings.html",
"open_in_tab": true
},
"content_scripts": [
{
"matches": [ "matches": [
"*://aniwatch.me/*" "*://aniwatch.me/*"
], ],
@ -26,5 +31,6 @@
"stylesheets/aniwatchplus.min.css" "stylesheets/aniwatchplus.min.css"
], ],
"run_at": "document_end" "run_at": "document_end"
}] }
]
} }