|
|
2014-01-17
, 07:19
|
|
Posts: 168 |
Thanked: 143 times |
Joined on Nov 2012
|
#62
|
|
|
2014-01-17
, 07:29
|
|
Posts: 705 |
Thanked: 300 times |
Joined on May 2011
|
#63
|
|
|
2014-01-17
, 08:50
|
|
Posts: 16 |
Thanked: 2 times |
Joined on Dec 2013
|
#66
|
|
|
2014-01-17
, 09:28
|
|
Posts: 1,305 |
Thanked: 3,825 times |
Joined on Jul 2010
@ Brittany, France
|
#67
|
| The Following User Says Thank You to Kabouik For This Useful Post: | ||
|
|
2014-01-17
, 09:52
|
|
Posts: 426 |
Thanked: 1,812 times |
Joined on Dec 2013
|
#68
|
Google's mobile site doesn't work, anyone else experiencing same issue?
Cool browser otherwise. And new icon looks awesome.
I can't remove default bookmarks. They reappear on every launch.
| The Following 2 Users Say Thank You to llelectronics For This Useful Post: | ||
|
|
2014-01-17
, 13:35
|
|
Posts: 752 |
Thanked: 2,807 times |
Joined on Jan 2011
@ Czech Republic
|
#69
|
I need to take a look on how provide default bookmarks with the ability to delete them. It seems not as easy as it sounds

db.transaction(function(tx){
tx.executeSql('CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)');
var table = tx.executeSql("SELECT * FROM settings");
// Insert default values
if (table.rows.length === 0) {
tx.executeSql('INSERT INTO settings VALUES(?, ?)', ["region", qsTr("1")]);
tx.executeSql('INSERT INTO settings VALUES(?, ?)', ["forecastIndex", 0]);
tx.executeSql('INSERT INTO settings VALUES(?, ?)', ["hidePush", 1]);
};
});
var table = tx.executeSql("SELECT * FROM settings");
if (table.rows.length === 0) {
...
}
function getSetting(key) {
openDB();
var res = "";
db.transaction(function(tx) {
var rs = tx.executeSql('SELECT value FROM settings WHERE key=?;', [key]);
res = rs.rows.item(0).value;
});
return res;
Component.onCompleted: {
region = getSetting('region');
forecastIndex = getSetting('forecastIndex');
hidePush = getSetting('hidePush');
}

| The Following User Says Thank You to nodevel For This Useful Post: | ||
|
|
2014-01-17
, 13:46
|
|
Posts: 426 |
Thanked: 1,812 times |
Joined on Dec 2013
|
#70
|
![]() |
| Tags |
| browser, webbrowser |
| Thread Tools | |
|
I worked on some stuff the last couple of days. Unfortunately I still don't get the whole cookie stuff (they changed a lot here between Qt4 and 5).
What I could get to work is clearing cookies by simply removing the file that stores the cookies on the filesystem. This needs however a restart which is currently triggered in the code.
To sum up the new features/fixes:
RPM Download as usual from openrepos.net: https://openrepos.net/sites/default/....armv7hl_0.rpm
It takes a few days for the harbour version to be updated I guess.
Donation for my sailfish apps via PayPal
Donate using Liberapay
Last edited by llelectronics; 2014-01-16 at 21:56.