From 4c6a2323d90e9321ec2b78e226167b3013ea69ab Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Sat, 29 Jan 2022 00:03:51 +0100 Subject: make Haketilo buildable again (for Mozilla) How cool it is to throw away 5755 lines of code... --- manifest.json | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) (limited to 'manifest.json') diff --git a/manifest.json b/manifest.json index ec94c6e..25b5a1a 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,8 @@ +// SPDX-License-Identifier: CC0-1.0 +// // This is the manifest file of Haketilo. // -// Copyright (C) 2021 Wojtek Kosior +// Copyright (C) 2021,2022 Wojtek Kosior // // This program is free software: you can redistribute it and/or modify // it under the terms of the CC0 1.0 Universal License as published by @@ -20,12 +22,13 @@ "manifest_version": 2, #ELIF MV3 "manifest_version": 3, +#ERROR Manifest version 3 is not yet supported! Please define 'MV2'. #ELSE #ERROR Manifest version not selected! Please define 'MV2'. #ENDIF "name": "Haketilo", "short_name": "Haketilo", - "version": "0.1", + "version": "0.999", "author": "Wojtek Kosior & contributors", "description": "Control your \"Web\" browsing.", #IF MOZILLA @@ -49,13 +52,8 @@ "16": "icons/haketilo16.png" }, "permissions": [ - "contextMenus", "webRequest", "webRequestBlocking", - "activeTab", - "notifications", - "sessions", - "storage", "tabs", "", "unlimitedStorage" @@ -70,30 +68,30 @@ "16": "icons/haketilo16.png" }, "default_title": "Haketilo", -#LOADHTML html/display_panel.html - "default_popup": "html/display_panel.html" +#LOADHTML html/popup.html + "default_popup": "html/popup.html" }, "options_ui": { -#LOADHTML html/options.html - "page": "html/options.html", - "open_in_tab": true +#LOADHTML html/settings.html + "page": "html/settings.html", + "open_in_tab": true, + "browser_style": false }, #COPY_FILE dummy "web_accessible_resources": ["dummy"], "background": { "persistent": true, "scripts": [ -#LOADJS background/main.js +#LOADJS background/background.js ] }, "content_scripts": [ { "run_at": "document_start", "matches": [""], - "match_about_blank": true, "all_frames": true, "js": [ -#LOADJS content/main.js +#LOADJS content/content.js ] } ] -- cgit v1.2.3