From 123962d4320bfe827e90aa031aa9964946cbc238 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Fri, 3 Jan 2020 01:12:39 -0500 Subject: General clean-ups for the new workarounds extension * data/extensions/gnuzilla-ext-workarounds@gnu.org/jquery-3.4.1.min.js: Remove, since it's a duplicate and not needed. * data/extensions/gnuzilla-ext-workarounds@gnu.org/manifest.json: Re-indent, remove "jquery-3.4.1.min.js" from content_scripts js files: as far as I see, it's not used in any of the workaround files, and is only used in html/domestic.html; but html/ already has a copy of it. So there's no point in keeping a second copy around and injecting it to the matched urls along with the other workaround scripts. * data/extensions/gnuzilla-ext-workarounds@gnu.org/html/domestic.html: Update the extension name here to match the manifest. * data/extensions/gnuzilla-ext-workarounds@gnu.org/README~, data/extensions/gnuzilla-ext-workarounds@gnu.org/background.js~, data/extensions/gnuzilla-ext-workarounds@gnu.org/html/domestic.html~, data/extensions/gnuzilla-ext-workarounds@gnu.org/html/domestic.js~, data/extensions/gnuzilla-ext-workarounds@gnu.org/html/usps_postage.js~, data/extensions/gnuzilla-ext-workarounds@gnu.org/jquery-3.4.1.min.js, data/extensions/gnuzilla-ext-workarounds@gnu.org/manifest.json~, data/extensions/gnuzilla-ext-workarounds@gnu.org/workaround/googledocs_main.js~, data/extensions/gnuzilla-ext-workarounds@gnu.org/workaround/goteo_main.js~, data/extensions/gnuzilla-ext-workarounds@gnu.org/workaround/mcdonalds_wifi.js~, data/extensions/gnuzilla-ext-workarounds@gnu.org/workaround/paygov_main.js~, data/extensions/gnuzilla-ext-workarounds@gnu.org/workaround/rsf_main.js~, data/extensions/gnuzilla-ext-workarounds@gnu.org/workaround/sumofus_main.js~: Remove auto-created backup files. --- .../gnuzilla-ext-workarounds@gnu.org/manifest.json | 81 +++++++++++----------- 1 file changed, 41 insertions(+), 40 deletions(-) (limited to 'data/extensions/gnuzilla-ext-workarounds@gnu.org/manifest.json') diff --git a/data/extensions/gnuzilla-ext-workarounds@gnu.org/manifest.json b/data/extensions/gnuzilla-ext-workarounds@gnu.org/manifest.json index 000868a..1e9d5dd 100644 --- a/data/extensions/gnuzilla-ext-workarounds@gnu.org/manifest.json +++ b/data/extensions/gnuzilla-ext-workarounds@gnu.org/manifest.json @@ -5,13 +5,13 @@ "author": "Nathan Nichols", "description": "A collection of work-around scripts for a few different websites that are impossible to use without non-free JavaScript.", "icons": { - "16": "icons/L4Libre.png", - "48": "icons/L4Libre48.png", - "128": "icons/L4Libre128.png" + "16": "icons/L4Libre.png", + "48": "icons/L4Libre48.png", + "128": "icons/L4Libre128.png" }, "browser_action": { - "default_icon": "icons/test.png", - "default_title": "Launch USPS tools" + "default_icon": "icons/test.png", + "default_title": "Launch USPS tools" }, "applications": { "gecko": { @@ -20,44 +20,45 @@ } }, "background":{ - "scripts": ["background.js"] + "scripts": ["background.js"] }, "content_scripts": [ - { - "matches": ["*://*.wayport.net/*", - "https://www.sumofus.org/*", - "https://www.sumofus.org/campaigns/*", - "*://*.actions.sumofus.org/a/*", - "*://*.actions.sumofus.org/api/pages/*/actions", - "*://*.actions.sumofus.org/*", - "https://*.pay.gov/*", - "https://dmca.copyright.gov/*", - "*://rsf.org/*", - "*://rsf.secure.force.com/*", - "*://docs.google.com/*", - "*://login-mcd-cluster.prd.snantx.attwifi.com/guest/*", - "https://pgw.ceca.es/cgi-bin/tpv", - "https://pgw.ceca.es/tpvweb/tpv/compra.action", - "*://*.goteo.org/*", - "*://*.sermepa.es/*" - ], - "js": ["jquery-3.4.1.min.js", - "workaround/mcdonalds_wifi.js", - "workaround/sumofus_main.js", - "workaround/paygov_main.js", - "workaround/rsf_main.js", - "workaround/googledocs_main.js", - "workaround/goteo_main.js" - ] - } + { + "matches": [ + "*://*.wayport.net/*", + "https://www.sumofus.org/*", + "https://www.sumofus.org/campaigns/*", + "*://*.actions.sumofus.org/a/*", + "*://*.actions.sumofus.org/api/pages/*/actions", + "*://*.actions.sumofus.org/*", + "https://*.pay.gov/*", + "https://dmca.copyright.gov/*", + "*://rsf.org/*", + "*://rsf.secure.force.com/*", + "*://docs.google.com/*", + "*://login-mcd-cluster.prd.snantx.attwifi.com/guest/*", + "https://pgw.ceca.es/cgi-bin/tpv", + "https://pgw.ceca.es/tpvweb/tpv/compra.action", + "*://*.goteo.org/*", + "*://*.sermepa.es/*" + ], + "js": [ + "workaround/mcdonalds_wifi.js", + "workaround/sumofus_main.js", + "workaround/paygov_main.js", + "workaround/rsf_main.js", + "workaround/googledocs_main.js", + "workaround/goteo_main.js" + ] + } ], "permissions":[ - "*://reg.usps.com/*", - "*://production.shippingapis.com/*", - "webRequestBlocking", - "*://*.sumofus.org/*", - "*://*.actions.sumofus.org/*", - "webRequest", - "*://*.pay.gov/*" + "*://reg.usps.com/*", + "*://production.shippingapis.com/*", + "webRequestBlocking", + "*://*.sumofus.org/*", + "*://*.actions.sumofus.org/*", + "webRequest", + "*://*.pay.gov/*" ] } -- cgit v1.2.3