mirror of
https://github.com/bez4pieci/Phonegap-Cookies-Plugin
synced 2024-10-05 13:12:09 +08:00
Update README
This commit is contained in:
parent
e20b26dd74
commit
02e609d1fc
@ -5,7 +5,7 @@ Phonegap/Cordova plugin that allows you to clear cookies of the webview. Use it
|
||||
|
||||
## Why a plugin?
|
||||
|
||||
On Phonegap `document.cookie` is empty, index.html and all other files are loaded with `file://` protocol.
|
||||
On Phonegap `document.cookie` is empty, since index.html and all other files are loaded with `file://` protocol.
|
||||
Phonegap manages cookies internally, but doesn't expose any function for clearing them.
|
||||
|
||||
## Installation
|
||||
@ -23,3 +23,7 @@ window.cookies.clear(function() {
|
||||
console.log('Cookies cleared!');
|
||||
});
|
||||
```
|
||||
|
||||
- - -
|
||||
|
||||
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/bez4pieci/phonegap-cookies-plugin/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
|
Loading…
Reference in New Issue
Block a user