mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
[DNT] Enable sending DoNotTrack header by default
This commit is contained in:
parent
c7a31c57e0
commit
12948cd0a4
|
@ -103,7 +103,7 @@ void NetworkManager::loadSettings()
|
||||||
<< QLatin1String("live.com") << QLatin1String("i0.cz") << QLatin1String("sermepa.es");
|
<< QLatin1String("live.com") << QLatin1String("i0.cz") << QLatin1String("sermepa.es");
|
||||||
|
|
||||||
settings.beginGroup("Web-Browser-Settings");
|
settings.beginGroup("Web-Browser-Settings");
|
||||||
m_doNotTrack = settings.value("DoNotTrack", false).toBool();
|
m_doNotTrack = settings.value("DoNotTrack", true).toBool();
|
||||||
m_sendReferer = settings.value("SendReferer", true).toBool();
|
m_sendReferer = settings.value("SendReferer", true).toBool();
|
||||||
m_sslv3Sites = settings.value("SSLv3Sites", sslv3Sites).toStringList();
|
m_sslv3Sites = settings.value("SSLv3Sites", sslv3Sites).toStringList();
|
||||||
settings.endGroup();
|
settings.endGroup();
|
||||||
|
|
|
@ -322,7 +322,7 @@ Preferences::Preferences(BrowserWindow* window, QWidget* parent)
|
||||||
ui->deleteHtml5storageOnClose->setChecked(settings.value("deleteHTML5StorageOnClose", false).toBool());
|
ui->deleteHtml5storageOnClose->setChecked(settings.value("deleteHTML5StorageOnClose", false).toBool());
|
||||||
connect(ui->html5storage, SIGNAL(toggled(bool)), this, SLOT(allowHtml5storageChanged(bool)));
|
connect(ui->html5storage, SIGNAL(toggled(bool)), this, SLOT(allowHtml5storageChanged(bool)));
|
||||||
// Other
|
// Other
|
||||||
ui->doNotTrack->setChecked(settings.value("DoNotTrack", false).toBool());
|
ui->doNotTrack->setChecked(settings.value("DoNotTrack", true).toBool());
|
||||||
ui->sendReferer->setChecked(settings.value("SendReferer", true).toBool());
|
ui->sendReferer->setChecked(settings.value("SendReferer", true).toBool());
|
||||||
|
|
||||||
//CSS Style
|
//CSS Style
|
||||||
|
|
Loading…
Reference in New Issue
Block a user