diff --git a/README.md b/README.md index c1fdc5a..3b0e408 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,6 @@ want more features? Create an issue and let me know. You can install the extension from the [Chrome Web Store](https://chromewebstore.google.com/detail/page-assist-a-web-ui-for/jfgfiigpkhlkbnfnbobbkinehhfdhndo) -Note: You can install the extension on any Chromium-based browser. It is not limited to Chrome. ### Manual Installation @@ -126,6 +125,13 @@ This will start a development server and watch for changes in the source files. - [ ] More Customization Options - [ ] Better UI/UX + +## Privacy + +Page Assist does not collect any personal data. The only time the extension communicates with the server is when you are using the share feature, which can be disabled from the settings. + +All the data is stored locally in the browser storage. You can view the source code and verify it yourself. + ## Contributing Contributions are welcome. If you have any feature requests, bug reports, or questions, feel free to create an issue. diff --git a/src/components/Layouts/Layout.tsx b/src/components/Layouts/Layout.tsx index 03916be..0c3673a 100644 --- a/src/components/Layouts/Layout.tsx +++ b/src/components/Layouts/Layout.tsx @@ -29,7 +29,7 @@ export default function OptionLayout({ }) { const [sidebarOpen, setSidebarOpen] = useState(false) const { t } = useTranslation(["option", "common"]) - const [shareModeEnabled] = useStorage("shareMode", true) + const [shareModeEnabled] = useStorage("shareMode", false) const { selectedModel, diff --git a/src/components/Option/Share/index.tsx b/src/components/Option/Share/index.tsx index 9ab128a..cd46f72 100644 --- a/src/components/Option/Share/index.tsx +++ b/src/components/Option/Share/index.tsx @@ -11,7 +11,10 @@ import { useStorage } from "@plasmohq/storage/hook" export const OptionShareBody = () => { const queryClient = useQueryClient() const { t } = useTranslation(["settings"]) - const [shareModeEnabled, setShareModelEnabled] = useStorage("shareMode", true) + const [shareModeEnabled, setShareModelEnabled] = useStorage( + "shareMode", + false + ) const { status, data } = useQuery({ queryKey: ["fetchShareInfo"], @@ -25,8 +28,12 @@ export const OptionShareBody = () => { }) const onSubmit = async (values: { url: string }) => { - const isOk = await verifyPageShareURL(values.url) - if (isOk) { + if (shareModeEnabled) { + const isOk = await verifyPageShareURL(values.url) + if (isOk) { + await setPageShareUrl(values.url) + } + } else { await setPageShareUrl(values.url) } } diff --git a/wxt.config.ts b/wxt.config.ts index 0f5aeba..9e49dc8 100644 --- a/wxt.config.ts +++ b/wxt.config.ts @@ -48,7 +48,7 @@ export default defineConfig({ outDir: "build", manifest: { - version: "1.1.7", + version: "1.1.8", name: process.env.TARGET === "firefox" ? "Page Assist - A Web UI for Local AI Models"