aboutsummaryrefslogtreecommitdiffstats
path: root/config/webpack/plugins/create-manifest-webpack-plugin
diff options
context:
space:
mode:
authorArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2025-06-14 01:40:18 +0530
committerArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2025-06-14 01:40:18 +0530
commit54467df36805eabf9113d1bb84d7434b331cd167 (patch)
treea13b48386e20bf69e7ede0bfff4715c17b90549d /config/webpack/plugins/create-manifest-webpack-plugin
parent7164ef595147d997068b953d0e8bd19add0db5f9 (diff)
downloadbanglar-bhumi-utils-54467df36805eabf9113d1bb84d7434b331cd167.tar.gz
banglar-bhumi-utils-54467df36805eabf9113d1bb84d7434b331cd167.zip
Successfully performing OCR on the captcha image and autofilling it for login.
Diffstat (limited to 'config/webpack/plugins/create-manifest-webpack-plugin')
-rw-r--r--config/webpack/plugins/create-manifest-webpack-plugin/index.js1
-rw-r--r--config/webpack/plugins/create-manifest-webpack-plugin/manifest-template.json5
2 files changed, 5 insertions, 1 deletions
diff --git a/config/webpack/plugins/create-manifest-webpack-plugin/index.js b/config/webpack/plugins/create-manifest-webpack-plugin/index.js
index 2c9ab8e..6f1e2be 100644
--- a/config/webpack/plugins/create-manifest-webpack-plugin/index.js
+++ b/config/webpack/plugins/create-manifest-webpack-plugin/index.js
@@ -123,3 +123,4 @@ class CreateManifestPlugin {
}
export default CreateManifestPlugin;
+
diff --git a/config/webpack/plugins/create-manifest-webpack-plugin/manifest-template.json b/config/webpack/plugins/create-manifest-webpack-plugin/manifest-template.json
index d1d29f4..52496b6 100644
--- a/config/webpack/plugins/create-manifest-webpack-plugin/manifest-template.json
+++ b/config/webpack/plugins/create-manifest-webpack-plugin/manifest-template.json
@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "Banglar Bhumi Utils",
- "permissions": ["scripting", "declarativeNetRequest"],
+ "permissions": ["offscreen", "scripting", "declarativeNetRequest"],
"description": "A chrome extension to improve functionality of the banglarbhumi.gov.in website.",
"icons": {
"512": "icon512.png"
@@ -12,5 +12,8 @@
"enabled": true,
"path": "rules.json"
}]
+ },
+ "content_security_policy": {
+ "extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self';"
}
}