danny0838 / webscrapbook

A browser extension that captures web pages to local device or backend server for future retrieval, organization, annotation, and edit. This project inherits from legacy Firefox add-on ScrapBook X.
Mozilla Public License 2.0
850 stars 118 forks source link

why is right click browse locally greyed out? #367

Closed grotesque closed 6 months ago

grotesque commented 8 months ago

image

danny0838 commented 8 months ago

It works only when the backend server is hosted on the local device.

grotesque commented 8 months ago

I've connected to the server on the same node. But I'm using hostname instead of "localhost".

and my server config is

[server]
port = 4545
host = xxxx
danny0838 commented 8 months ago

Basically only localhost, 127.0.0.1 and [::1] are recognized. Otherwise you'd have to make sure that the browser sends the exactly same client host and the remote host.