Project

General

Profile

Feature #37

Updated by Soren Stoutner almost 8 years ago

By default, WebView sends an X-Requested-With header with the application ID (com.stoutner.privacybrowser.standard) with every page load.    It looks like it is possible to change the header, but not to leave it out (Lightning sends the header with a null value). out.    This is probably because Google wants to force apps to identify themselves to advertisers. 

 http://stackoverflow.com/questions/17832313/android-disable-x-requested-with-header-in-webview 

 http://stackoverflow.com/questions/7610790/add-custom-headers-to-webview-resource-requests-android#comment10183596_8209272 

 At a minimum, it would be nice to allow the user to set a custom header.    Ultimately, we might need to embed a custom WebView to get full control of the functionality.

Back