diff --git a/AI_INIT.md b/AI_INIT.md index 3580528..85c3323 100644 --- a/AI_INIT.md +++ b/AI_INIT.md @@ -98,6 +98,7 @@ The following features are critical and must not be removed or fundamentally alt > [!CAUTION] > **AI AGENTS MUST FOLLOW THIS EXACT SEQUENCE WHEN RELEASING A NEW VERSION OR TAGGING.** > The CI pipeline automatically injects the version from the git tag into `manifest.base.json`, `shared/constants.js`, and `package.json`. You do NOT need to manually bump version numbers. +> - **Website Versioning**: **NEVER** manually modify the version fallback strings in `website/index.html`. The website dynamically fetches the latest version and release date from `website/version.json` at runtime using `website/app.js`. Manual bumps in the HTML file are completely redundant and should be avoided. 1. **MANDATORY SYNTAX CHECK**: Before staging, committing, or pushing any changes, you **MUST** run a syntax validation check using `node -c` on every single modified JavaScript file (e.g., `node -c extension/background.js` and `node -c extension/content.js`). **NEVER** commit or push code that fails this check. 2. Commit all verified code changes and push to `main`. 3. Create and push a new tag. **MANDATORY**: Tags MUST start with a `v` (e.g., `v1.4.0`). The GitHub Actions release workflow is strictly configured to ignore any tags without the `v` prefix. diff --git a/website/app.js b/website/app.js index b9d3fdf..f34abc2 100644 --- a/website/app.js +++ b/website/app.js @@ -71,11 +71,26 @@ document.addEventListener('DOMContentLoaded', () => { if (actions) { if (!isInstalled) { - actions.innerHTML = ` - GET IT ON CHROME WEBSTORE - Download via GitHub -

The extension is required to join and sync videos.

- `; + const isFirefox = navigator.userAgent.includes('Firefox'); + if (isFirefox) { + actions.innerHTML = ` + GET IT ON MOZILLA ADD-ONS + Download via GitHub +

+ The extension is required to join and sync videos. + Die Erweiterung ist erforderlich, um beizutreten und Videos zu synchronisieren. +

+ `; + } else { + actions.innerHTML = ` + GET IT ON CHROME WEBSTORE + Download via GitHub +

+ The extension is required to join and sync videos. + Die Erweiterung ist erforderlich, um beizutreten und Videos zu synchronisieren. +

+ `; + } } else { actions.innerHTML = `
diff --git a/website/index.html b/website/index.html index c415456..900d904 100644 --- a/website/index.html +++ b/website/index.html @@ -4,7 +4,7 @@ KoalaSync | Real-time Video Synchronization for Friends - + @@ -65,7 +65,7 @@
-
v1.3.1 OUT NOWv1.3.1 JETZT VERFÜGBAR
+
v1.5.3 OUT NOWv1.5.3 JETZT VERFÜGBAR

Watch Together.
Sync Perfectly.
Gemeinsam schauen.
Perfekt synchron.
@@ -76,10 +76,10 @@

- + Add to ChromeZu Chrome hinzufügen - + 🦊 Add to FirefoxZu Firefox hinzufügen @@ -110,8 +110,8 @@
🎬

Episode Auto-SyncAutomatische Episoden-Synchronisation

-

New in v1.3.1: Perfectly sync series binges. All peers wait until everyone has loaded the next episode.

-

Neu in v1.3.1: Perfekt synchronisiertes Serien-Bingeing. Alle warten, bis jeder die nächste Episode geladen hat.

+

Perfectly sync series binges. All peers wait until everyone has loaded the next episode.

+

Perfekt synchronisiertes Serien-Bingeing. Alle warten, bis jeder die nächste Episode geladen hat.

🛡️
@@ -141,8 +141,8 @@
01

Install ExtensionErweiterung installieren

-

Add KoalaSync to your browser from the Chrome Web Store or download the latest developer ZIP from GitHub.

-

Fügen Sie KoalaSync aus dem Chrome Web Store zu Ihrem Browser hinzu oder laden Sie die neueste Entwickler-ZIP von GitHub herunter.

+

Add KoalaSync to your browser from the Chrome Web Store, Firefox Add-ons, or download the latest developer ZIP from GitHub.

+

Füge KoalaSync aus dem Chrome Web Store, den Firefox Add-ons oder über die Entwickler-ZIP von GitHub zu deinem Browser hinzu.

diff --git a/website/join.html b/website/join.html index c258ed7..dc1fb4a 100644 --- a/website/join.html +++ b/website/join.html @@ -77,10 +77,11 @@ diff --git a/website/style.css b/website/style.css index e497d10..053d0b8 100644 --- a/website/style.css +++ b/website/style.css @@ -213,6 +213,18 @@ nav { box-shadow: 0 20px 25px -5px var(--accent-glow); } +.btn-firefox { + background: #e66000; + color: white; + box-shadow: 0 10px 15px -3px rgba(230, 96, 0, 0.3); +} + +.btn-firefox:hover { + background: #ff7300; + transform: translateY(-2px); + box-shadow: 0 20px 25px -5px rgba(230, 96, 0, 0.4); +} + .btn-secondary { background: var(--card); color: var(--text);