Morty rewrites web pages to exclude malicious HTML tags and attributes. It also replaces external resource references to prevent third party information leaks.
The main goal of morty is to provide a result proxy for searx , but it can be used as a standalone sanitizer service too.Features:
Rewrites HTML/CSS external references to locals
No Cookies forwarded
Supports GET/POST forms and IFrames
Optional HMAC URL verifier key to prevent service abuse
Installation and setup
$ go get http://ift.tt/2nK7rfv “$GOPATH/bin/morty” –help
$ cd “$GOPATH/src/http://ift.tt/2oBPt2X”$ go test
$ cd “$GOPATH/src/http://ift.tt/2oBPt2X”$ go test -benchmem -bench .