Merge pull request #39 from outis1one/claude/read-repo-YMu21
Claude/read repo y mu21
This commit is contained in:
@@ -32,6 +32,7 @@ build() {
|
|||||||
|
|
||||||
# Copy other root files
|
# Copy other root files
|
||||||
cp README.md "$out/" 2>/dev/null || true
|
cp README.md "$out/" 2>/dev/null || true
|
||||||
|
cp test-suite.html "$out/" 2>/dev/null || true
|
||||||
|
|
||||||
echo " → $out/ ready"
|
echo " → $out/ ready"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"manifest_version": 3,
|
"manifest_version": 3,
|
||||||
"name": "Silent Send",
|
"name": "Silent Send",
|
||||||
"version": "0.9.0",
|
"version": "0.9.2",
|
||||||
"description": "Intercepts personal info and substitutes it with user-defined replacements before sending to AI services.",
|
"description": "Intercepts personal info and substitutes it with user-defined replacements before sending to AI services.",
|
||||||
"browser_specific_settings": {
|
"browser_specific_settings": {
|
||||||
"gecko": {
|
"gecko": {
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"manifest_version": 3,
|
"manifest_version": 3,
|
||||||
"name": "Silent Send",
|
"name": "Silent Send",
|
||||||
"version": "0.9.0",
|
"version": "0.9.2",
|
||||||
"description": "Intercepts personal info and substitutes it with user-defined replacements before sending to AI services.",
|
"description": "Intercepts personal info and substitutes it with user-defined replacements before sending to AI services.",
|
||||||
"permissions": [
|
"permissions": [
|
||||||
"storage",
|
"storage",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "silent-send",
|
"name": "silent-send",
|
||||||
"version": "0.9.0",
|
"version": "0.9.2",
|
||||||
"private": true,
|
"private": true,
|
||||||
"license": "BSL-1.1",
|
"license": "BSL-1.1",
|
||||||
"description": "Browser extension that substitutes personal data before sending to AI services",
|
"description": "Browser extension that substitutes personal data before sending to AI services",
|
||||||
|
|||||||
@@ -631,7 +631,7 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
<p>Silent Send v0.9.0</p>
|
<p>Silent Send v0.9.2</p>
|
||||||
<p style="font-size:11px;color:#9ca3af;margin-top:6px;max-width:600px">
|
<p style="font-size:11px;color:#9ca3af;margin-top:6px;max-width:600px">
|
||||||
Silent Send is a convenience tool, not a security guarantee. Third-party sites may change how they send data at any time, which can cause missed substitutions without warning. You are responsible for verifying your data before sending. See the <a href="https://github.com/outis1one/silent-send/blob/main/LICENSE" target="_blank" style="color:#6b7280">LICENSE</a> for full terms.
|
Silent Send is a convenience tool, not a security guarantee. Third-party sites may change how they send data at any time, which can cause missed substitutions without warning. You are responsible for verifying your data before sending. See the <a href="https://github.com/outis1one/silent-send/blob/main/LICENSE" target="_blank" style="color:#6b7280">LICENSE</a> for full terms.
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
+14
-5
@@ -29,8 +29,8 @@
|
|||||||
Load this page as an extension page (or inject via dev console on the Options page).<br>
|
Load this page as an extension page (or inject via dev console on the Options page).<br>
|
||||||
Tests exercise sync, encryption, storage, auto-redact, and domain management.
|
Tests exercise sync, encryption, storage, auto-redact, and domain management.
|
||||||
</p>
|
</p>
|
||||||
<button class="primary" onclick="runAllTests()">Run All Tests</button>
|
<button class="primary" id="btnRunTests">Run All Tests</button>
|
||||||
<button onclick="document.getElementById('results').innerHTML=''">Clear</button>
|
<button id="btnClear">Clear</button>
|
||||||
<div id="results" style="margin-top:16px"></div>
|
<div id="results" style="margin-top:16px"></div>
|
||||||
<div id="summary"></div>
|
<div id="summary"></div>
|
||||||
|
|
||||||
@@ -485,7 +485,8 @@
|
|||||||
// RUN ALL
|
// RUN ALL
|
||||||
// ============================================================
|
// ============================================================
|
||||||
|
|
||||||
window.runAllTests = async function() {
|
async function runAllTests() {
|
||||||
|
document.getElementById('results').innerHTML = '<p style="color:#6b7280">Running tests...</p>';
|
||||||
const outcomes = [];
|
const outcomes = [];
|
||||||
for (const t of results) {
|
for (const t of results) {
|
||||||
try {
|
try {
|
||||||
@@ -497,10 +498,18 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
renderResults(outcomes);
|
renderResults(outcomes);
|
||||||
};
|
}
|
||||||
|
|
||||||
// Auto-register tests on load
|
// Wire up buttons (CSP blocks inline onclick)
|
||||||
|
document.getElementById('btnRunTests').addEventListener('click', runAllTests);
|
||||||
|
document.getElementById('btnClear').addEventListener('click', () => {
|
||||||
|
document.getElementById('results').innerHTML = '';
|
||||||
|
document.getElementById('summary').textContent = '';
|
||||||
|
});
|
||||||
|
|
||||||
|
// Show ready state
|
||||||
console.log(`[Silent Send Tests] ${results.length} tests registered. Click "Run All Tests" to start.`);
|
console.log(`[Silent Send Tests] ${results.length} tests registered. Click "Run All Tests" to start.`);
|
||||||
|
document.getElementById('results').innerHTML = `<p style="color:#6b7280">${results.length} tests loaded. Click "Run All Tests" to start.</p>`;
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user