Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESIGN.md
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ Cross-tab amplifies power: a source origin can open an arbitrary URL — but it
the user actively picks (a selector / optional screenshot), never a silent DOM read. Mitigations:
**the user is present and must confirm**; the URL is user-entered; the picker is visible in a
foreground tab; the authorization mode (§6 / PROTOCOL §7) can gate or block the source origin; and
(recommended) a banner in the target tab — e.g. "openpicker is selecting an element for
(recommended) a banner in the target tab — e.g. "OpenPicker is selecting an element for
dashboard.example.com" — for transparency.

---
Expand Down
2 changes: 1 addition & 1 deletion PROTOCOL.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> The contract between the **page SDK** (npm) and the **browser extension**. It defines how
> they discover each other, exchange requests/responses, correlate them, handle consent, and
> stay compatible across versions. All naming is original to openpicker.
> stay compatible across versions. All naming is original to OpenPicker.

This is a design spec. JSON shapes below describe the wire format, not an implementation.

Expand Down
4 changes: 2 additions & 2 deletions apps/demo/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# @openpicker/demo

The public, deployable demo for openpicker. A static site (Vite) that calls the **published**
The public, deployable demo for OpenPicker. A static site (Vite) that calls the **published**
[`@openpicker/sdk`](https://www.npmjs.com/package/@openpicker/sdk) — not the local workspace copy —
so it always exercises the real package a user would `npm install`. It detects the extension,
opens a URL, picks an element, and shows the selector that comes back. This is the page deployed to
Expand All @@ -27,5 +27,5 @@ pnpm --filter @openpicker/demo build # -> apps/demo/dist
- **Root directory:** repo root
- Set `NODE_VERSION` to `20` (or add a `.nvmrc`); Cloudflare detects pnpm from the lockfile.

> The demo can only complete a pick for visitors who have the openpicker extension installed.
> The demo can only complete a pick for visitors who have the OpenPicker extension installed.
> Until the Chrome Web Store listing exists, it shows unpacked-install instructions.
2 changes: 1 addition & 1 deletion apps/docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { defineConfig } from "vitepress"
const GITHUB = "https://github.com/usertour/openpicker"

export default defineConfig({
title: "openpicker",
title: "OpenPicker",
description:
"Documentation for OpenPicker — an open-source CSS element picker for the web (browser extension + SDK).",
cleanUrls: true,
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/.vitepress/theme/custom.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* openpicker docs — slate brand to match the rest of the product. */
/* OpenPicker docs — slate brand to match the rest of the product. */
:root {
--vp-c-brand-1: #334155; /* slate-700 — links/accents */
--vp-c-brand-2: #1e293b; /* slate-800 — hover */
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/public/hero.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions apps/site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
<title>OpenPicker — pick an element, get its selector</title>
<meta
name="description"
content="openpicker is an open-source element picker for the web — a browser extension plus a tiny SDK. Point at any element on any page and get a stable CSS selector back."
content="OpenPicker is an open-source element picker for the web — a browser extension plus a tiny SDK. Point at any element on any page and get a stable CSS selector back."
/>
<link rel="canonical" href="https://openpicker.dev/" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://openpicker.dev/" />
<meta property="og:title" content="openpicker — pick an element, get its selector" />
<meta property="og:title" content="OpenPicker — pick an element, get its selector" />
<meta
property="og:description"
content="An open-source CSS element picker for the web: a browser extension plus a tiny SDK."
Expand Down
4 changes: 2 additions & 2 deletions apps/test/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# openpicker test page
# OpenPicker test page

A page for manually testing the extension. It speaks the openpicker protocol
A page for manually testing the extension. It speaks the OpenPicker protocol
directly over `window.postMessage` — no SDK, just the raw protocol. Served by Vite.

## Use
Expand Down
2 changes: 1 addition & 1 deletion packages/extension/locales/de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ options:
invalidOrigin: Gib einen gültigen Ursprung ein, z. B. https://example.com
removeDecision: Diese Entscheidung entfernen
appearanceTitle: Darstellung
appearanceDesc: Design für die eigene Oberfläche von openpicker.
appearanceDesc: Design für die eigene Oberfläche von OpenPicker.

selectorRulesTitle: "Selektor-Regeln"
selectorRulesDesc: "Steuere, wie Selektoren gebaut werden – global oder pro Website."
Expand Down
2 changes: 1 addition & 1 deletion packages/extension/locales/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ options:
invalidOrigin: Introduce un origen válido, p. ej. https://example.com
removeDecision: Eliminar esta decisión
appearanceTitle: Apariencia
appearanceDesc: Tema de la propia interfaz de openpicker.
appearanceDesc: Tema de la propia interfaz de OpenPicker.

selectorRulesTitle: "Reglas de selector"
selectorRulesDesc: "Controla cómo se construyen los selectores: global o por sitio."
Expand Down
2 changes: 1 addition & 1 deletion packages/extension/locales/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ options:
invalidOrigin: Saisissez une origine valide, p. ex. https://example.com
removeDecision: Supprimer cette décision
appearanceTitle: Apparence
appearanceDesc: Thème de l'interface d'openpicker.
appearanceDesc: Thème de l'interface d'OpenPicker.

selectorRulesTitle: "Règles de sélecteur"
selectorRulesDesc: "Contrôlez la construction des sélecteurs : globalement ou par site."
Expand Down
2 changes: 1 addition & 1 deletion packages/extension/locales/it.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ options:
invalidOrigin: Inserisci un'origine valida, ad es. https://example.com
removeDecision: Rimuovi questa decisione
appearanceTitle: Aspetto
appearanceDesc: Tema dell'interfaccia di openpicker.
appearanceDesc: Tema dell'interfaccia di OpenPicker.

selectorRulesTitle: "Regole del selettore"
selectorRulesDesc: "Controlla come vengono costruiti i selettori: globale o per sito."
Expand Down
2 changes: 1 addition & 1 deletion packages/extension/locales/pl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ options:
invalidOrigin: Wpisz prawidłowe źródło, np. https://example.com
removeDecision: Usuń tę decyzję
appearanceTitle: Wygląd
appearanceDesc: Motyw własnego interfejsu openpicker.
appearanceDesc: Motyw własnego interfejsu OpenPicker.

selectorRulesTitle: "Reguły selektora"
selectorRulesDesc: "Steruj sposobem budowania selektorów — globalnie lub dla witryny."
Expand Down
2 changes: 1 addition & 1 deletion packages/extension/locales/pt_BR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ options:
invalidOrigin: Digite uma origem válida, ex. https://example.com
removeDecision: Remover esta decisão
appearanceTitle: Aparência
appearanceDesc: Tema da interface do próprio openpicker.
appearanceDesc: Tema da interface do próprio OpenPicker.

selectorRulesTitle: "Regras de seletor"
selectorRulesDesc: "Controle como os seletores são criados: global ou por site."
Expand Down
2 changes: 1 addition & 1 deletion packages/extension/locales/ru.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ options:
invalidOrigin: Введите корректный источник, например https://example.com
removeDecision: Удалить это решение
appearanceTitle: Оформление
appearanceDesc: Тема собственного интерфейса openpicker.
appearanceDesc: Тема собственного интерфейса OpenPicker.

selectorRulesTitle: "Правила селектора"
selectorRulesDesc: "Управляйте построением селекторов — глобально или для сайта."
Expand Down
2 changes: 1 addition & 1 deletion packages/extension/locales/vi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ options:
invalidOrigin: Nhập một nguồn hợp lệ, ví dụ https://example.com
removeDecision: Xóa quyết định này
appearanceTitle: Giao diện
appearanceDesc: Chủ đề cho giao diện của chính openpicker.
appearanceDesc: Chủ đề cho giao diện của chính OpenPicker.

selectorRulesTitle: "Quy tắc selector"
selectorRulesDesc: "Kiểm soát cách tạo selector — toàn cục hoặc theo trang."
Expand Down
Loading