Tracking Proxy Helper v1.1

- added Session ID to Popup
- added Channels to Popup
This commit is contained in:
Andi Petzoldt
2024-07-31 16:49:16 +02:00
parent a928ad2198
commit 1c1479b239
9 changed files with 136 additions and 44 deletions
+30 -19
View File
@@ -6,29 +6,11 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tracking Proxy Helper - Extension Options</title>
<link rel="stylesheet" href="options.css">
<script src="options.js"></script>
</head>
<body>
<h1>Tracking Proxy Helper Settings</h1>
<form id="options-form">
<div class="section" id="httpheader">
<h2>HTTP Header for Dev.Environment</h2>
<p class="url-match-label">Notice: The HTTP Header Name is: <strong>Tp-Dev</strong></p>
<div class="form-group">
<label for="header-value">HTTP Header Value:</label>
<input type="text" id="header-value" name="header-value">
</div>
<strong class="url-match-label">URLs to match:</strong>
<div id="url-fields-container">
<div class="url-field">
<input type="text" class="url-input" name="url[]">
<label>
<input type="checkbox" class="regex-checkbox"> Is Regex
</label>
<button type="button" class="remove-url-field">Remove</button>
</div>
</div>
<button type="button" id="add-url-field">Add URL Field</button>
</div>
<div class="section" id="blocking">
<h2>JavaScript Injection and Blocking</h2>
<div class="form-group">
@@ -73,6 +55,35 @@
</div>
</div>
</div>
<span onclick="toggleSection('dev-core')" class="toggle-header">+ Dev.Core</span>
<div class="section" id="dev-core">
<div id="httpheader" style="display:none;">
<div class="form-group">
<label>HTTP Header Key:</label>
<input type="text" id="header-key" name="header-key" value="Tp-Dev">
</div>
<div class="form-group">
<label>HTTP Header Value:</label>
<input type="text" id="header-value" name="header-value">
</div>
<div class="form-group">
<label>
<input type="checkbox" id="header-global"> Add HTTP Header to all Requests (Notice: This will need more Resources)
</label>
</div>
</div>
<strong class="url-match-label">URLs to match:</strong>
<div id="url-fields-container">
<div class="url-field">
<input type="text" class="url-input" name="url[]">
<label>
<input type="checkbox" class="regex-checkbox"> Is Regex
</label>
<button type="button" class="remove-url-field">Remove</button>
</div>
</div>
<button type="button" id="add-url-field">Add URL Field</button>
</div>
<button type="submit">Save</button>
</form>
<h3>Saved Values</h3>