Skip to content

Commit

Permalink
Unified Manifest file, reworked README
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasLen committed Feb 3, 2024
1 parent 3fccd04 commit a951a50
Show file tree
Hide file tree
Showing 5 changed files with 72 additions and 121 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
.idea
src/manifest.json
.idea
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<img width="48%" title="WhatsApp™ Web with the extension" alt="WhatsApp™ Web with the extension" src="https://github.com/LukasLen/Privacy-Extension-For-WhatsApp-Web/blob/master/screenshots/PFWA_Settings.png?raw=true">
</p>

To increase privacy in public spaces the Privacy Extension For WhatsApp™ Web blurs your messages as well as other content and only reveals one when you hover over it with your mouse cursor. Additionally, you can quickly toggle all effects by using a keyboard shortcut or by clicking the toggle button in the extension menu.
To increase privacy in public spaces the Privacy Extension For WhatsApp™ Web blurs your messages. Your messages and other content only reveals upon hovering over with your mouse cursor. Additionally you can quickly toggle all effects by using a keyboard shortcut or by clicking the toggle button in the extension menu.

**Customize it**

Expand All @@ -26,29 +26,28 @@ It adapts to your needs by letting you decide which elements you want to blur. Y

You can quickly toggle the blur in the settings or with a keyboard shortcut (Default: Alt+X).
To change this navigate to:
- Chrome: "chrome://extensions/shortcuts"
- Firefox: "about:addons" -> Settings icon on the top right -> Manage Extension Shortcuts
- Chrome: [chrome://extensions/shortcuts](chrome://extensions/shortcuts)
- Firefox: [about:addons](about:addons) -> Settings icon on the top right -> Manage Extension Shortcuts

## Installation
Available for both Chrome and Firefox.

### Chrome
- Install if from [https://chrome.google.com/webstore/detail/privacy-extension-for-wha/jbojhlhhggfmmkpefknmbdhlaghehini](https://chrome.google.com/webstore/detail/privacy-extension-for-wha/jbojhlhhggfmmkpefknmbdhlaghehini)
Official Chrome webstore page: [https://chrome.google.com/webstore/detail/privacy-extension-for-wha/jbojhlhhggfmmkpefknmbdhlaghehini](https://chrome.google.com/webstore/detail/privacy-extension-for-wha/jbojhlhhggfmmkpefknmbdhlaghehini)

### Firefox
- Install if from [https://addons.mozilla.org/firefox/addon/privacy-extension-for-whatsapp/](https://addons.mozilla.org/firefox/addon/privacy-extension-for-whatsapp/)
Official Firefox addons page: [https://addons.mozilla.org/firefox/addon/privacy-extension-for-whatsapp/](https://addons.mozilla.org/firefox/addon/privacy-extension-for-whatsapp/)

### For development purposes on Chrome
- Download the newest release [here](https://github.com/LukasLen/Privacy-Extension-For-WhatsApp-Web/releases) and unzip it
- Rename the file /src/manifest-chromium.json to /src/manifest.json
- Navigate to chrome://extensions/
- Navigate to [chrome://extensions](chrome://extensions)
- Activate the developer mode (on the top right)
- Click on "Load Unpacked"
- Select the "/src" folder from your unzipped download (this folder has to be persistent so you might want to keep it somewhere where you won't delete it)
- Check back here for new releases

## Issues and Feature Requests
If you have a feature request or if you have encountered a problem, please create a new issue under this link: [https://github.com/LukasLen/Privacy-Extension-For-WhatsApp-Web/issues](https://github.com/LukasLen/Privacy-Extension-For-WhatsApp-Web/issues)
If you have a feature request or encountered a problem, please create a new issue under this link: [https://github.com/LukasLen/Privacy-Extension-For-WhatsApp-Web/issues](https://github.com/LukasLen/Privacy-Extension-For-WhatsApp-Web/issues)

## License
This project is licensed under the MIT License - see the [LICENSE](https://github.com/LukasLen/Privacy-Extension-For-WhatsApp-Web/blob/master/LICENSE) file for details.
Expand Down
53 changes: 0 additions & 53 deletions src/manifest-chromium.json

This file was deleted.

58 changes: 0 additions & 58 deletions src/manifest-firefox.json

This file was deleted.

64 changes: 64 additions & 0 deletions src/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"manifest_version": 3,
"name": "Privacy Extension For WhatsApp Web",
"description": "Hides your messages until you hover over them.",
"version": "3.0.0",
"action": {
"default_title": "Privacy Extension For WhatsApp Web",
"default_popup": "popup/popup.html",
"default_icon": {
"16": "images/icon16.png",
"24": "images/icon24.png",
"32": "images/icon32.png"
}
},
"icons": {
"16": "images/icon16.png",
"32": "images/icon32.png",
"48": "images/icon48.png",
"128": "images/icon128.png"
},
"permissions": ["storage"],
"background": {
"scripts": ["background.js"],
"service_worker": "background.js"
},
"browser_specific_settings": {
"gecko": {
"id": "contact@mail.com",
"strict_min_version": "121.0"
}
},
"content_scripts": [
{
"matches": ["https://web.whatsapp.com/"],
"js": ["scripts/contentScript.js"]
}
],
"web_accessible_resources": [
{
"resources": [
"images/statusOn.png",
"images/statusOff.png",
"css/messages.css",
"css/messagesPreview.css",
"css/mediaPreview.css",
"css/mediaGallery.css",
"css/textInput.css",
"css/profilePic.css",
"css/name.css",
"css/noDelay.css",
"css/unblurActive.css"
],
"matches": ["https://web.whatsapp.com/*"]
}
],
"commands": {
"toggle": {
"suggested_key": {
"default": "Alt+X"
},
"description": "Toggle On/Off"
}
}
}

0 comments on commit a951a50

Please sign in to comment.