You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`storage.local`|`infoCache`| A short-lived cache (5 minutes) of the provider list fetched from your Part-DB server |
21
-
|`storage.local`|`lastProvider`| The last info-provider you selected in the popup |
18
+
|`storage.sync`|`hosts`| The list of Part-DB instances you configured, each with a name, URL, and interface language|
19
+
|`storage.local`|`lastHostId`|The instance you last selected in the popup, so it is remembered next time|
20
+
|`storage.local`|`infoCacheByHost`| A short-lived cache (5 minutes), per instance, of the provider list fetched from your Part-DB server |
21
+
|`storage.local`|`lastProviderByHost`| The last info-provider you selected in the popup, per instance|
22
22
23
23
`storage.sync` data is synced across your browser profile by your browser vendor (e.g., Google or Mozilla) if you have browser sync enabled. This is subject to your browser vendor's own privacy policy. The extension itself has no control over or visibility into this sync.
24
24
@@ -49,12 +49,12 @@ The extension does not:
49
49
50
50
| Permission | Type | Why it is needed |
51
51
|---|---|---|
52
-
|`storage`| Required | Save your server URL and locale preference |
52
+
|`storage`| Required | Save your configured server URL(s) and locale preference(s)|
53
53
|`activeTab`| Required | Read the page HTML on demand when you click Submit |
54
54
|`scripting`| Required | Execute the page-reading code in the active tab when you click Submit |
55
-
| Host access to your Part-DB URL | Optional — granted when you save your server URL | Allows the extension to make requests to your Part-DB server; scoped to exactly the URL you configure |
55
+
| Host access to your Part-DB URL(s)| Optional — granted when you save a server URL | Allows the extension to make requests to your Part-DB server; scoped to exactly the URL(s) you configure |
56
56
57
-
The extension requests no host permissions at install time. When you save your Part-DB server URL in the settings, the browser will ask you to grant access to that specific address only.
57
+
The extension requests no host permissions at install time. When you save a Part-DB server URL in the settings, the browser will ask you to grant access to that specific address only.
Copy file name to clipboardExpand all lines: README.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,23 +55,26 @@ Then load the `src/` directory as an unpacked extension (see above).
55
55
56
56
## Configuration
57
57
58
-
After installing, click the extension icon and then **Open Settings** (or right-click the icon → *Options*):
58
+
After installing, click the extension icon and then **Open Settings** (or right-click the icon → *Options*). You can configure one or more Part-DB instances; click **+ Add instance** to add another.
59
59
60
60
| Setting | Description |
61
61
|---------|-------------|
62
+
|**Name**| Optional label to tell instances apart, e.g. `Production`. Defaults to the hostname if left blank. |
62
63
|**Part-DB base URL**| Root URL of your Part-DB instance, e.g. `https://partdb.example.com`|
63
64
|**Interface locale**| Language code used in Part-DB URLs, e.g. `en`, `de`, `fr`. Check your browser's address bar when using Part-DB. |
64
65
65
-
Use the **Test Connection** button to verify the URL is reachable and you are logged in.
66
+
Use the **Test Connection** button on an instance to verify its URL is reachable and you are logged in.
67
+
68
+
If you configure more than one instance, the popup shows an **Instance** dropdown to pick which one to submit to — it remembers your last choice for next time.
66
69
67
70
## Permissions
68
71
69
72
| Permission | Type | Reason |
70
73
|------------|------|--------|
71
-
|`storage`| Required | Saves your Part-DB URL and locale setting|
74
+
|`storage`| Required | Saves your configured Part-DB instances and settings|
72
75
|`activeTab`| Required | Reads the page HTML on demand when you click Submit |
73
76
|`scripting`| Required | Executes the page-reading code in the active tab |
74
-
| Host access to your Part-DB URL | Optional — granted when you save your server URL | Required to reach your Part-DB instance; scoped to exactly the URL you configure |
77
+
| Host access to your Part-DB URL(s)| Optional — granted when you save a server URL | Required to reach your Part-DB instance(s); scoped to exactly the URLs you configure |
75
78
76
79
No host permissions are requested at install time. The extension has no passive presence on web pages — it reads page content only at the moment you click Submit.
0 commit comments