Skip to content

Commit

Permalink
Added Bluriffy
Browse files Browse the repository at this point in the history
  • Loading branch information
GAGGZ1 committed Jun 10, 2024
1 parent 987cf43 commit 5734f2b
Show file tree
Hide file tree
Showing 8 changed files with 59 additions and 0 deletions.
1 change: 1 addition & 0 deletions Blurrifyy/background.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// Background script for handling extension functionality
1 change: 1 addition & 0 deletions Blurrifyy/content.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// Content script to apply blur and grayscale to images and videos
Binary file added Blurrifyy/icon128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Blurrifyy/icon16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Blurrifyy/icon48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions Blurrifyy/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"manifest_version": 3,
"name": "Blurrify",
"version": "1.0",
"description": "Blur or gray images and videos in your browser to gain control over how you are exposed to content.",
"permissions": [
"activeTab",
"storage"
],
"icons": {
"16": "icon16.png",
"48": "icon48.png",
"128": "icon128.png"
},
"action": {
"default_popup": "popup.html",
"default_icon": {
"16": "icon16.png",
"48": "icon48.png",
"128": "icon128.png"
}
},
"background": {
"service_worker": "background.js"
},
"content_scripts": [
{
"matches": ["<all_urls>"],
"js": ["content.js"]
}
]
}
17 changes: 17 additions & 0 deletions Blurrifyy/popup.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
document.addEventListener('DOMContentLoaded', function() {
const blurIntensityInput = document.getElementById('blurIntensity');
const grayscaleCheckbox = document.getElementById('grayscaleCheckbox');
const unblurHoverCheckbox = document.getElementById('unblurHoverCheckbox');

blurIntensityInput.addEventListener('input', function() {
// Code to set blur intensity
});

grayscaleCheckbox.addEventListener('change', function() {
// Code to toggle grayscale
});

unblurHoverCheckbox.addEventListener('change', function() {
// Code to toggle unblur on hover
});
});
8 changes: 8 additions & 0 deletions Blurrifyy/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/* Add your CSS styles here */
body {
font-family: Arial, sans-serif;
}

h1 {
font-size: 1.5rem;
}

0 comments on commit 5734f2b

Please sign in to comment.