Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
alganzory committed Mar 16, 2024
1 parent 7e8beae commit 72e0936
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "HaramBlur",
"description": "Protect your privacy and uphold Islamic values by auto detecting & blurring images and videos of unwanted or impermissible content.",
"version": "0.0.2",
"version": "0.1.0",
"permissions": ["storage", "contextMenus", "*://*/*"],
"author": "[email protected]",
"browser_action": {
Expand All @@ -28,6 +28,5 @@
"id": "[email protected]"
}
},
"web_accessible_resources": ["src/assets/*"],
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'"
"web_accessible_resources": ["src/assets/*"]
}
6 changes: 3 additions & 3 deletions src/modules/style.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
// style.js
// This module exports the style sheet and blur effect functions

import { emitEvent, listenToEvent } from "./helpers.js";
import { listenToEvent } from "./helpers.js";

const BLURRY_START_MODE_TIMEOUT = 7000; // TODO: make this a setting maybe?
let hbStyleSheet, blurryStartStyleSheet, _settings;
let hbStyleSheet, _settings;

const initStylesheets = ({ detail }) => {
_settings = detail;
// console.log("HB==INIT STYLESHEETS")
hbStyleSheet = document.createElement("style");
hbStyleSheet.id = "hb-stylesheet";
document.head.appendChild(hbStyleSheet);
(document.head || document.documentElement).appendChild(hbStyleSheet);
};

const setStyle = ({ detail: settings }) => {
Expand Down

0 comments on commit 72e0936

Please sign in to comment.