diff --git a/release-utils/make-signed-xpi.sh b/release-utils/make-signed-xpi.sh index 415ab1b0d2..ebc113ccdc 100755 --- a/release-utils/make-signed-xpi.sh +++ b/release-utils/make-signed-xpi.sh @@ -29,7 +29,7 @@ fi # TODO restore: https://github.com/EFForg/privacybadger/issues/1158 echo "remove fingerprinting" -sed -i '/ "js\/fingerprinting.js",/d' ../checkout/src/manifest.json +sed -i '/ "js\/contentscripts\/fingerprinting.js",/d' ../checkout/src/manifest.json echo "change author value" sed -i 's/"author": { "email": "eff.software.projects@gmail.com" },/"author": "eff.software.projects@gmail.com",/' ../checkout/src/manifest.json diff --git a/src/js/clobbercookie.js b/src/js/contentscripts/clobbercookie.js similarity index 100% rename from src/js/clobbercookie.js rename to src/js/contentscripts/clobbercookie.js diff --git a/src/js/clobberlocalstorage.js b/src/js/contentscripts/clobberlocalstorage.js similarity index 100% rename from src/js/clobberlocalstorage.js rename to src/js/contentscripts/clobberlocalstorage.js diff --git a/src/js/fingerprinting.js b/src/js/contentscripts/fingerprinting.js similarity index 100% rename from src/js/fingerprinting.js rename to src/js/contentscripts/fingerprinting.js diff --git a/src/js/socialwidgets.js b/src/js/contentscripts/socialwidgets.js similarity index 100% rename from src/js/socialwidgets.js rename to src/js/contentscripts/socialwidgets.js diff --git a/src/js/supercookie.js b/src/js/contentscripts/supercookie.js similarity index 100% rename from src/js/supercookie.js rename to src/js/contentscripts/supercookie.js diff --git a/src/manifest.json b/src/manifest.json index abc9b1cb77..c91ea5dc92 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -44,10 +44,10 @@ "content_scripts": [ { "js": [ - "js/clobbercookie.js", - "js/clobberlocalstorage.js", - "js/fingerprinting.js", - "js/supercookie.js" + "js/contentscripts/clobbercookie.js", + "js/contentscripts/clobberlocalstorage.js", + "js/contentscripts/fingerprinting.js", + "js/contentscripts/supercookie.js" ], "matches": [ "" @@ -57,7 +57,7 @@ }, { "js": [ - "js/socialwidgets.js" + "js/contentscripts/socialwidgets.js" ], "matches": [ ""