Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

emulate a web browser on my website

Is it possible to create website which contains something like mini web browser?

  • It shoulbe be able to allow you to browse Internet without leaving the site.
  • Also it should replace all of the images within with an image of my choice.

this is how it supposed to look

I tried to implement this via iframes and works kinda, but there are few major issues with it.The main problem is that I can't edit the content of the webpage inside iframe due to same-origin policy and there are few major websites like google and facebook that don't premit viewing them in ifarme. Are there any workarounds for these limitation or should use something else instead of iframe? I would appreciate any suggestions.

like image 685
Jack Avatar asked Mar 14 '26 11:03

Jack


1 Answers

In order to do this you will want to setup a proxy server.

Here is a tutorial for you setting one up using google app engine.

Here is an example of a live one for you to use for better understanding

What is a proxy server you say?

In computer networks, a proxy server is a server (a computer system or an application) that acts as an intermediary for requests from clients seeking resources from other servers.1 A client connects to the proxy server, requesting some service, such as a file, connection, web page, or other resource available from a different server and the proxy server evaluates the request as a way to simplify and control its complexity. Proxies were invented to add structure and encapsulation to distributed systems.2 Today, most proxies are web proxies, facilitating access to content on the World Wide Web and providing anonymity.

This is a cool way for people in China to browse the web because proxy sites can help them slip past the dictators blocking their internet!

In my case, once upon a time I sold cars. The evil overlords of the car dealership I worked for tried to censor the internet. Blocking us from the wonderful things us measly car salesman would enjoy looking at when there was not any people to con into buying cars. So I would browse for proxy websites that were not blocked by the overlords allowing me to browse the wonderful internet freely without any dictatorships blocking me!

As shown in your image you want it to look exactly like it looks as in this proxy site,

Image one before you browse to a URL.

enter image description here

Image 2 after you add a URL notice your still in the same page with the URL at the top as shown in your image.

enter image description here

like image 113
wuno Avatar answered Mar 16 '26 00:03

wuno



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!