Skip to content

Commit 74c19a1

Browse files
vveerrggclaude
andcommitted
feat: add Firefox install links across all pages
- nostrkey.com: Firefox card in download grid + installation section - support.html: Firefox section updated from Planned to Available - onboard.html: Firefox card with auto-detect in platform options AMO listing: https://addons.mozilla.org/en-US/firefox/addon/nostrkey/ Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent dbe5421 commit 74c19a1

3 files changed

Lines changed: 42 additions & 4 deletions

File tree

docs/index.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,13 +393,18 @@ <h4>Safari (macOS)</h4>
393393
<h4>Safari (iOS)</h4>
394394
<p>Xcode build</p>
395395
</a>
396+
<a href="https://addons.mozilla.org/en-US/firefox/addon/nostrkey/" target="nostrkey-web" class="download-card">
397+
<svg viewBox="0 0 24 24" fill="#FF7139"><circle cx="12" cy="12" r="10"/><path d="M12 6c-3.3 0-6 2.7-6 6s2.7 6 6 6 6-2.7 6-6" fill="#fff"/></svg>
398+
<h4>Firefox</h4>
399+
<p>Firefox Add-ons</p>
400+
</a>
396401
<a href="https://play.google.com/store/apps/details?id=com.nostrkey.app" target="nostrkey-web" class="download-card">
397402
<svg viewBox="0 0 24 24" fill="#3DDC84"><path d="M3 20.5V3.5a1 1 0 011.5-.87l15 8.5a1 1 0 010 1.74l-15 8.5A1 1 0 013 20.5z"/></svg>
398403
<h4>Android</h4>
399404
<p>Google Play</p>
400405
</a>
401406
</div>
402-
407+
403408
<h3>Chrome Installation</h3>
404409
<p>Install directly from the <a href="https://chromewebstore.google.com/detail/nostrkey/cggakcmbihnpmcddkkfmoglgaocnmaop" target="nostrkey-web" style="color: var(--accent);">Chrome Web Store</a> — works on Chrome, Edge, Brave, Opera, Vivaldi, and Arc.</p>
405410

@@ -413,6 +418,9 @@ <h3>Chrome Sideload (Developer Mode)</h3>
413418
<li style="padding-left: 8px;">Click <strong>Load unpacked</strong> and select the unzipped folder</li>
414419
</ol>
415420

421+
<h3>Firefox Installation</h3>
422+
<p>Install from <a href="https://addons.mozilla.org/en-US/firefox/addon/nostrkey/" target="nostrkey-web" style="color: var(--accent);">Firefox Add-ons</a> — click "Add to Firefox" and you're done.</p>
423+
416424
<h3>Safari Installation (macOS)</h3>
417425
<ol style="list-style: decimal; padding-left: 24px;">
418426
<li style="padding-left: 8px;">Clone the repo: <code>git clone https://github.com/HumanjavaEnterprises/nostrkey.browser.plugin.src.git</code></li>

docs/onboard.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,10 @@ <h2>Connect to a relay</h2>
474474
return /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
475475
}
476476

477+
function isFirefox() {
478+
return navigator.userAgent.indexOf('Firefox') !== -1;
479+
}
480+
477481
// --- Extension Detection ---
478482
var extensionDetected = false;
479483

@@ -524,6 +528,16 @@ <h2>Connect to a relay</h2>
524528
});
525529
}
526530

531+
// Firefox on desktop
532+
if (platform !== 'ios' && platform !== 'android') {
533+
cards.push({
534+
icon: '<svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"/><path d="M12 6c-3.3 0-6 2.7-6 6s2.7 6 6 6 6-2.7 6-6"/></svg>',
535+
label: 'Firefox',
536+
url: 'https://addons.mozilla.org/en-US/firefox/addon/nostrkey/',
537+
recommended: isFirefox()
538+
});
539+
}
540+
527541
// Safari on Mac
528542
if (platform === 'mac') {
529543
cards.push({

docs/support.html

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -462,10 +462,26 @@ <h2>
462462
<path d="M12 6c-3.3 0-6 2.7-6 6s2.7 6 6 6 6-2.7 6-6" fill="#fff"/>
463463
</svg>
464464
Firefox
465-
<span class="status-badge status-planned">Planned</span>
465+
<span class="status-badge status-available">Available</span>
466466
</h2>
467-
468-
<p>Firefox support is on our roadmap. Follow our <a href="https://github.com/HumanjavaEnterprises/nostrkey.browser.plugin.src" target="nostrkey-web">GitHub repository</a> for updates.</p>
467+
468+
<h3>Installation</h3>
469+
<ol class="step-list">
470+
<li>Visit the <a href="https://addons.mozilla.org/en-US/firefox/addon/nostrkey/" target="nostrkey-web">NostrKey page on Firefox Add-ons</a></li>
471+
<li>Click <strong>Add to Firefox</strong></li>
472+
<li>Click <strong>Add</strong> in the permission prompt</li>
473+
<li>Click the NostrKey icon in your toolbar to get started</li>
474+
</ol>
475+
476+
<h3>Troubleshooting</h3>
477+
<div class="troubleshoot-item">
478+
<strong>Extension not detected on websites</strong>
479+
<ul>
480+
<li>Make sure the extension is enabled in <strong>about:addons</strong></li>
481+
<li>Try reloading the page after installing</li>
482+
<li>Check that the site isn't blocked in Firefox's extension permissions</li>
483+
</ul>
484+
</div>
469485
</section>
470486

471487
<!-- Getting Started -->

0 commit comments

Comments
 (0)