This is a fork of org.apache.cordova.inappbrowser with features for additional control over the InAppBrowser.
Added an optional, 4th parameter to window.open():
{
initialHeaders: {
'X-SPECIAL-IDENTIFIER': 'This is coming from my Cordova app',
'REFERER': 'Sometimes you gotta pretend you are coming from elsewhere',
...
},
}
initialHeaders only apply to the very first load of the given URL.
initialHeaders:
- Android