[SailfishDevel] Clear cookies in SilicaWebView

Andrew Penkrat penkrat8 at gmail.com
Fri Oct 2 06:45:25 UTC 2015


Hi Alexander,

Cookies should be under $XDG_CACHE_HOME/<HARBOUR_APP_NAME>/.QtWebKit

You can look at my realisation of cookie deletion:
https://github.com/Aldrog/TwitchTube/blob/master/src/tools.cpp#L33

Best regards,
Andrew Penkrat

чт, 1 окт. 2015, 23:48, Alexander Ladygin <fake.ae at gmail.com>:

> Thanks Matthias, but it did not help=(
>
> On Thu, Oct 1, 2015 at 10:17 PM, Matthias Fehring <
> buschmann at huessenbergnetz.de> wrote:
>
>> Hello Alex,
>>
>> there are some experimental properties for QtWebKit, but i am not sure if
>> it
>> really works.
>>
>> For your SilicaWebView:
>>
>> import QtWebKit.experimental 1.0
>>
>> and then in the SilicaWebView set:
>>
>> experimental.preferences.privateBrowsingEnabled: true
>>
>>
>> Best greetings
>> Matthias
>>
>>
>> Am Donnerstag, 1. Oktober 2015, 21:49:03 schrieb Alexander Ladygin:
>> > Hello.
>> >
>> > It seems that SilicaWebView is storing cookies when you use it (even
>> > offline). Is there any way to clear them? Or use privatebrowsing or
>> > something so when you close the page with it, it will clear all saved
>> > cookies?
>> >
>> > Any advice?
>> > Thanks.
>> >
>> > Alex.
>>
>> --
>> Das Gesetz hat zum Schneckengang verdorben, was Adlerflug geworden wäre.
>> (Friedrich Schiller - Die Räuber)
>>
>> Und der Buschfunk spielt gerade "Light My Fire (Bonus Track)" von
>> "Amorphis".
>>
>> www.buschmann23.de
>> GPG-Key: 0x614C3258
>> GPG Fingerprint: B770 E0D0 69CF BFC1 5FE1 D78E 3A70 A936 614C 3258
>>
>> _______________________________________________
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscribe at lists.sailfishos.org
>>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscribe at lists.sailfishos.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20151002/98ba6021/attachment-0001.html>


More information about the Devel mailing list