]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/assets/en/guide_tracking_ids.html
Add X-Requested-With settings. https://redmine.stoutner.com/issues/819
[PrivacyBrowserAndroid.git] / app / src / main / assets / en / guide_tracking_ids.html
index eaf2ca3dec39ec51991bfe7b78fdde8c8607f5e8..2de881932d1a25d5d4e880faa518274ebf3bb72e 100644 (file)
         <p>Privacy Browser removes tracking IDs and AMP (<a href="https://en.wikipedia.org/wiki/Accelerated_Mobile_Pages">Accelerated Mobile Pages</a>) redirects from URL queries.
             There is a blog post that is updated with the <a href="https://www.stoutner.com/url-modification/">current list</a> of modifications.
             URL modification can be turned off in the settings if it is causing issues.</p>
+
+
+        <h3><svg class="header"><use href="../shared_images/disabled_by_default.svg#icon"/></svg> X-Requested-With Header</h3>
+
+        <p>Google programmed Android’s WebView to send an X-Requested-With header with every request.
+            The value of the X-Requested-With header is set to the application ID, which in the case of Privacy Browser is <code>com.stoutner.privacybrowser.standard</code>.
+            Currently, it isn't possible to remove this header, but the value can be changed. By default, Privacy Browser sends a null (empty) value for the X-Requested-With header.
+            Even though the spec allows for null header values, some web servers don't like them, so Privacy Browser has the option to revert to the default behavior of sending the app ID.
+            Because this setting is cached when a URL is first loaded, and isn't changed when reloading a page or navigating history,
+            changes to this setting may not be applied until Privacy Browser is restarted.
+            There is a <a href="https://www.stoutner.com/the-x-requested-with-header/">blog post</a> with additional information.
+            The X-Requested-With header will be <a href="https://redmine.stoutner.com/issues/37">completely removed</a> in the 4.x series with the release of Privacy WebView.</p>
     </body>
 </html>
\ No newline at end of file