From 15b227ccf1052727250ef20fe2fd061d4beeb05b Mon Sep 17 00:00:00 2001 From: Daniel James Date: Thu, 6 Jun 2019 03:57:53 -0400 Subject: [PATCH 1/3] Makefile: Add support for PPC64LE --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 8be649a..cc78f24 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,9 @@ all: linux freebsd openbsd macos windows rpi linux: GOOS=linux GOARCH=amd64 go build -a -o wrp-linux wrp.go +linux-ppc64le: + GOOS=linux GOARCH=ppc64le go build -a -o wrp-linux-ppc64le wrp.go + freebsd: GOOS=freebsd GOARCH=amd64 go build -a -o wrp-freebsd wrp.go From 2671fc236c8fa0ed4735de797495427282283b9f Mon Sep 17 00:00:00 2001 From: Daniel James Date: Thu, 6 Jun 2019 04:01:19 -0400 Subject: [PATCH 2/3] wrp.go: Fixed typos --- wrp.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wrp.go b/wrp.go index 91f177d..785f3d1 100644 --- a/wrp.go +++ b/wrp.go @@ -88,7 +88,7 @@ func pageServer(out http.ResponseWriter, req *http.Request) { if c < 2 || c > 256 { c = 256 } - log.Printf("%s Page Reqest for url=\"%s\" [%s]\n", req.RemoteAddr, u, req.URL.Path) + log.Printf("%s Page Request for url=\"%s\" [%s]\n", req.RemoteAddr, u, req.URL.Path) out.Header().Set("Content-Type", "text/html") fmt.Fprintf(out, "\n", version) fmt.Fprintf(out, "\nWRP %s\n\n", u) @@ -169,7 +169,7 @@ func capture(gourl string, w int64, h int64, s float64, co int, p int64, i bool, is := make([]Ismap, 0) var ion string - log.Printf("%s Processing Caputure Request for %s\n", c, gourl) + log.Printf("%s Processing Capture Request for %s\n", c, gourl) // Run ChromeDP Magic err := chromedp.Run(ctx, From d71a48b746ad51197797fe96226cb90f41126493 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Thu, 6 Jun 2019 04:05:29 -0400 Subject: [PATCH 3/3] README.md: Fix typos --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 48fa809..045434d 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ A HTTP proxy server that allows to use historical and obsolete web browsers on t ## Current Status * This is the new GoLang/ChdomeDP version. -* It's still lacking some features of the [older version](/old) (such as real http proxy mode and image manipulation) but far surpases it in terms of stability and usability. +* It's still lacking some features of the [older version](/old) (such as real http proxy mode and image manipulation) but far surpasses it in terms of stability and usability. * Currently works as browser-in-browser however work on http proxy mode is under way. * It's beta quality but I can actually fix and maintain the code. @@ -14,7 +14,7 @@ A HTTP proxy server that allows to use historical and obsolete web browsers on t 1. [Download a WRP binary](https://github.com/tenox7/wrp/releases) and run on a server/gateway. 2. Point your legacy browser to the IP address:port of WRP server. 3. Type a search string or a http/https URL and click Go. -4. Adjust your screen width/heigh/scale to fit in your old browser. +4. Adjust your screen width/height/scale to fit in your old browser. 5. For very very very old browsers such as Mosaic 2.x and IBM WebExplorer 1.x check the I checkbox to enable ISMAP mode. However this normally should not be needed. 6. Scroll web page by clicking Up/Down. To go to top enter 0 and click Go.