diff --git a/components/MobileCookieInstructions.tsx b/components/MobileCookieInstructions.tsx new file mode 100644 index 0000000..84f7a5d --- /dev/null +++ b/components/MobileCookieInstructions.tsx @@ -0,0 +1,102 @@ +"use client"; + +import React, { useState } from 'react'; +import { Smartphone, Monitor, ChevronDown, ChevronRight, Copy, Check } from 'lucide-react'; +import { cn } from '@/lib/utils'; + +export function MobileCookieInstructions() { + const [open, setOpen] = useState(false); + const [platform, setPlatform] = useState<'desktop' | 'android' | 'ios'>('desktop'); + + return ( +
+ + + {open && ( +
+
+ + + +
+ +
+ {platform === 'desktop' && ( +
+

Getting cookies on mobile is hard. The easiest way is to do it on a PC and send it to yourself.

+
    +
  1. Install Cookie-Editor extension on your PC browser (Chrome/Edge).
  2. +
  3. Go to labs.google (Whisk) or facebook.com (Meta) and login.
  4. +
  5. Open extension → Click ExportExport as JSON.
  6. +
  7. Paste into a Google Doc, Keep, Notes, or email it to yourself.
  8. +
  9. Open on phone and paste here.
  10. +
+
+ )} + + {platform === 'android' && ( +
+

Android allows extensions via specific browsers.

+
    +
  1. Install Kiwi Browser or Firefox Nightly from Play Store.
  2. +
  3. Open Kiwi/Firefox and install Cookie-Editor from Chrome Web Store.
  4. +
  5. Login to the service (Whisk/Facebook).
  6. +
  7. Tap menu → Cookie-Editor → Export JSON.
  8. +
+
+ )} + + {platform === 'ios' && ( +
+

iPhone is restrictive. Syncing from Desktop is recommended.

+
+ Alternative: Use "Alook Browser" app (Paid) which acts like a desktop browser with developer tools. +
+
    +
  1. Use Method 1 (Desktop Sync) - it's much faster.
  2. +
  3. Or access this site on your Mac/PC and configure it there first.Settings are saved to the browser, so this only works if you sync local storage or use the same device.
  4. +
+
+ )} +
+
+ )} +
+ ); +} diff --git a/components/Settings.tsx b/components/Settings.tsx index d321a0f..d130aa7 100644 --- a/components/Settings.tsx +++ b/components/Settings.tsx @@ -5,6 +5,8 @@ import { useStore } from '@/lib/store'; import { Save, Sparkles, Brain, Settings2 } from 'lucide-react'; import { cn } from '@/lib/utils'; +import { MobileCookieInstructions } from './MobileCookieInstructions'; + type Provider = 'whisk' | 'meta'; const providers: { id: Provider; name: string; icon: any; description: string }[] = [ @@ -77,7 +79,8 @@ export function Settings() {
{provider === 'whisk' && (
- + +