Skip to content

Commit ca514ac

Browse files
committed
removed excessive permissions per Google
1 parent 80b8904 commit ca514ac

3 files changed

Lines changed: 3 additions & 13 deletions

File tree

README.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -102,17 +102,7 @@ htmx-debugger is committed to protecting user privacy and does not collect or us
102102

103103
### Permissions and Their Justifications
104104

105-
1. **activeTab**: This permission is required to access the current tab's content and inject the necessary scripts for debugging htmx events. It allows the extension to interact with the webpage being debugged without requiring broader permissions.
106-
107-
2. **alarms**: The alarms permission is used to schedule periodic connection checks, ensuring the debugger maintains a stable connection to the webpage. This improves the reliability of the debugging process.
108-
109-
3. **host permission**: Host permissions are necessary to allow the extension to function on any webpage that uses htmx. This broad access is required because htmx can be used on any website, and the debugger needs to be able to capture events regardless of the domain.
110-
111-
4. **remote code**: The extension does not execute any remote code. All functionality is contained within the extension package.
112-
113-
5. **scripting**: Scripting permissions are essential for the core functionality of the debugger. They allow the extension to inject the necessary scripts to capture and analyze htmx events on the webpage.
114-
115-
6. **storage**: The storage permission is used to save user preferences and debugging session data locally. This ensures that the user's debugging environment persists between browser sessions and allows for future features like saving and loading debug logs.
105+
1. **alarms**: The alarms permission is used to schedule periodic connection checks, ensuring the debugger maintains a stable connection to the webpage. This improves the reliability of the debugging process.
116106

117107
### Single Purpose Description
118108

manifest-firefox.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "htmx-debugger",
44
"version": "1.0.3",
55
"description": "htmx-debugger - a debugging tool for htmx applications",
6-
"permissions": ["tabs", "activeTab", "storage", "alarms", "<all_urls>"],
6+
"permissions": ["alarms", "<all_urls>"],
77
"background": {
88
"scripts": ["background.js"],
99
"type": "module"

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "htmx-debugger",
44
"version": "1.0.3",
55
"description": "htmx-debugger - a debugging tool for htmx applications",
6-
"permissions": ["activeTab", "scripting", "storage", "alarms"],
6+
"permissions": ["alarms"],
77
"host_permissions": ["https://*/", "http://*/"],
88
"action": {
99
"default_icon": {

0 commit comments

Comments
 (0)