Skip to content

Added InAppBrowser option "clearsocialnetworkcookie" through window.open for iOS and Android

License

Notifications You must be signed in to change notification settings

severedsea/cordova-plugin-inappbrowser

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

org.apache.cordova.inappbrowser

Plugin documentation: doc/index.md

(iOS and Android only) Added InAppBrowser option "clearsocialnetworkcookie" through window.open that clears InAppBrowser social network cookies specifically:

  1. facebook.com
  2. linkedin.com
  3. twitter.com

Usage

// Clears social network cookies on InAppBrowser open.
var window.open(url, name, 'clearsocialnetworkcookie=yes');

Hopefully, this can be extended to a more generic way of clearing cache by providing domains as arguments in InAppBrowser through window.open options.

About

Added InAppBrowser option "clearsocialnetworkcookie" through window.open for iOS and Android

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 49.1%
  • Objective-C 27.4%
  • C# 9.3%
  • JavaScript 8.2%
  • C++ 3.4%
  • CSS 2.6%