Sounds like you'd need some sort of "secure" "http"... but then you'd need certificates for that... but then you'd need to make sure you trust those certificates...
I think this is a nice example of how browser-side website signing is fundamentally flawed.
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds