https://github.com/kosso/ticookiejar
Titanium Module for clearing cookies from webViews for specified domains
https://github.com/kosso/ticookiejar
Last synced: 2 months ago
JSON representation
Titanium Module for clearing cookies from webViews for specified domains
- Host: GitHub
- URL: https://github.com/kosso/ticookiejar
- Owner: kosso
- License: other
- Created: 2012-07-18T18:39:20.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2012-07-19T04:06:29.000Z (almost 13 years ago)
- Last Synced: 2025-02-14T01:18:56.356Z (4 months ago)
- Size: 133 KB
- Stars: 9
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
cookiejar Titanium Module
=========================Run ./build.py to create the module zip file.
## Description
Enables the abilty to clear cookies for specified domains from webviews. This is often required for webView based third party sites like Twitter/G+ etc. to totally log out of their various intent windows and accounts etc.## Accessing the cookiejar Module
To access this module from JavaScript, you would do the following:var cookiejar = require("com.kosso.cookiejar");
The cookiejar variable is a reference to the Module object.## Reference
var cookiejar = require('com.kosso.cookiejar');
Ti.API.info("module is => " + cookiejar);
// This will log a user out of their Google account in a webview, if no logout option is available (often the case).cookiejar.clearWebViewCookies('.google.com');
cookiejar.clearWebViewCookies('.google.co.uk');
cookiejar.clearWebViewCookies('accounts.google.com');## Author
Kosso
## License
FREEDOM BABY!