Browser in a browser

What if no matter which browser you are, you can run inside your personal browser?

Imagine all your bookmarks, opened tabs, history in a website which acts like your browser.

Doesn’t matter if your favorite browser is installed, doesn’t matter if you are switching devices, the browser in a browser is there for you!

What do you think?

7 Likes

Quick googling suggest something like that: https://www.browserling.com
It is just virtual machine with web access.

I was actually wondering about using web assembly to build a in browser safe network client.
As most of the code is in Rust which compiles to wasm, it should all be reusable.

The idea is as followed. Use a clear net domain like “sn .net” on a CDN this will just be used to download and run the web assembly client

  1. User visits sn,net?safexoraddressxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  2. This downloads the web assembly and connects to the safe network as a view only client (could use a integrity=“sha512” tag to verify the download)
  3. downloads and displays the contents from the passed in query string

It would allow anyone to view content on the safenetwork without any formal installation.
its secure because everything is running on the local machine.
the bandwidth requirements will be small because only the wasm binary needs hosting.

5 Likes

I just thought about what if the google crawler was able to run wasm code. So if the above is possible, then google would index our safenetwork sites on the clear net via the CDN

This seems to suggest it is possible, @dirvine has anyone in the maid safe team attempted this? Did it work? Do you see any immediate issues?

I guess a purely web-based SAFE client would require raw sockets. This is not implemented, but might be at a later point

https://www.chromestatus.com/feature/6398297361088512

2 Likes

I think chrome already has WebTransport? (This draft is dated today!)

What about using webrtc?
There is also this https://crates.io/crates/webrtc-unreliable

If the Safenetwork could be made to conform to the WebTransport standard, (which is some kind of QUIC HTTP/3) it could be a game changer, I mean a decentralised internet indexed by Google. That instantly gives you a user base of everyone on chrome for now, being able to view content. Safenetwork is already using QUIC right? this seems totally possible.

The domain sn dot site is available, that seems perfect :slight_smile:

I’d leave off the query string (not allow it) as that would go over the clearnet (if the server at sn dot site is hacked then ip and what was viewed would be known).

Just let them pull the browser, then they can input the address locally.

you better snag that! :wink:

I suspect it would be possible, but not ideal for SAFE to support protocols made for the web. There’s a web based torrent protocol, WebTorrent, made using WebRTC, that works similar to torrent, but that cannot connect to regular torrent clients, only WebTorrent clients.

If it’s for making the SAFE Network indexable by Google, a server could be set up that runs a SAFE Network client and could be used as a proxy server for non-anonymous read only access to SAFE.

Is Safe NRS going to have a public face that can be searched for new sites? If so, then I suppose indexing is possible. Otherwise XOR addressing would make it a hard/impossible problem.

Early days of the web, when you built a site you specifically had to go and tell a search engine indexer that it existed and where it was. Not sure which model Safe Net will follow.

The web doesn’t have a list of new sites either. New sites are found by search engines when sites known by a search engine links to them.

1 Like