Skip to content

Commit 39c5db4

Browse files
committed
style: Remove excessive copy buttons from code blocks
- Keep copy button only on the main installation command - Remove copy buttons from all example output code blocks: - Table format example - JSONL format example - Patterns configuration examples - Output format commands - Cleaner, less cluttered appearance - Focus copy functionality on the primary installation command - Maintains clean black and white aesthetic
1 parent 43d4854 commit 39c5db4

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

static/index.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,6 @@ <h3 style="color: #000; margin-bottom: 1.5rem;">Example Outputs</h3>
190190
<div class="output-section">
191191
<h4>Table Format (Default)</h4>
192192
<div class="code-block">
193-
<button class="copy-btn" onclick="copyToClipboard('Language | Library | Count | Example\n---------|---------|-------|--------\nRust | RustCrypto | 2 | src/main.rs:12 aes_gcm::Aes256Gcm\nPython | PyCA cryptography | 1 | auth.py:8 Fernet(key)')">Copy</button>
194193
Language | Library | Count | Example
195194
---------|---------|-------|--------
196195
Rust | RustCrypto | 2 | src/main.rs:12 aes_gcm::Aes256Gcm
@@ -201,15 +200,13 @@ <h4>Table Format (Default)</h4>
201200
<div class="output-section">
202201
<h4>JSONL Format</h4>
203202
<div class="code-block">
204-
<button class="copy-btn" onclick="copyToClipboard('{\"language\":\"Rust\",\"library\":\"RustCrypto\",\"file\":\"src/main.rs\",\"span\":{\"line\":12,\"column\":5},\"symbol\":\"aes_gcm::Aes256Gcm\",\"snippet\":\"use aes_gcm::Aes256Gcm;\",\"confidence\":0.99,\"detector_id\":\"detector-rust\"}')">Copy</button>
205203
{"language":"Rust","library":"RustCrypto","file":"src/main.rs","span":{"line":12,"column":5},"symbol":"aes_gcm::Aes256Gcm","snippet":"use aes_gcm::Aes256Gcm;","confidence":0.99,"detector_id":"detector-rust"}
206204
</div>
207205
</div>
208206

209207
<div class="output-section">
210208
<h4>Patterns Configuration</h4>
211209
<div class="code-block">
212-
<button class="copy-btn" onclick="copyToClipboard('[[library]]\nname = \"PyCA cryptography\"\nlanguages = [\"Python\"]\n[library.patterns]\ninclude = [\"^\\\\s*from\\\\s+cryptography\\\\b\"]\napis = [\"\\\\bFernet(\\\\(\\\\)\", \"\\\\.encrypt(\\\\(\\\\)\", \"\\\\.decrypt(\\\\(\\\\)\"]')">Copy</button>
213210
[[library]]
214211
name = "PyCA cryptography"
215212
languages = ["Python"]
@@ -222,7 +219,6 @@ <h4>Patterns Configuration</h4>
222219
</p>
223220

224221
<div class="code-block" style="margin-top: 1rem;">
225-
<button class="copy-btn" onclick="copyToClipboard('[[library]]\nname = \"OpenSSL\"\nlanguages = [\"C\", \"C++\"]\n[library.patterns]\ninclude = [\"^\\\\s*#\\\\s*include\\\\s*<openssl/[A-Za-z0-9_./-]+>\"]\napis = [\"\\\\bEVP_[A-Za-z0-9_]+\\\\s*\\\\(\\\\)\", \"\\\\bRSA_[A-Za-z0-9_]+\\\\s*\\\\(\\\\)\"]')">Copy</button>
226222
[[library]]
227223
name = "OpenSSL"
228224
languages = ["C", "C++"]
@@ -265,7 +261,6 @@ <h3 class="install-title">Quick Start</h3>
265261
<div style="margin-top: 1.5rem;">
266262
<h4 style="color: #000; margin-bottom: 0.8rem; font-size: 1rem;">Output Formats</h4>
267263
<div class="code-block" style="margin: 0.5rem 0;">
268-
<button class="copy-btn" onclick="copyToClipboard('cryptofind . --json > findings.jsonl')">Copy</button>
269264
cryptofind . --json > findings.jsonl
270265
</div>
271266
</div>

0 commit comments

Comments
 (0)