mirror of
https://github.com/bez4pieci/Phonegap-Cookies-Plugin
synced 2026-01-27 00:00:05 +08:00
Update README
This commit is contained in:
@@ -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!');
|
||||
});
|
||||
```
|
||||
|
||||
- - -
|
||||
|
||||
[](https://bitdeli.com/free "Bitdeli Badge")
|
||||
Reference in New Issue
Block a user