You are not logged in.

#1801 2013-08-26 04:52:58

wardhan
Member
Registered: 2013-08-26
Posts: 4

Re: dwb - a webkit web browser

i am unable to add a website on speeddial using the short cut key sda.
i have installed speeddial.

what is the proper way to add or delete or modify websites in speeddial ?

thank you

Offline

#1802 2013-08-26 09:24:54

portix
Member
Registered: 2009-01-13
Posts: 757

Re: dwb - a webkit web browser

Do you get any errors if you start dwb from a terminal and try to add a website?

Offline

#1803 2013-08-27 01:26:44

wardhan
Member
Registered: 2013-08-26
Posts: 4

Re: dwb - a webkit web browser

portix wrote:

Do you get any errors if you start dwb from a terminal and try to add a website?

no, b'coz i don't know about how to add through terminal. can you please provide cmd, so that i can inform outcome of the command.

i was just curious about the command, i did go through speeddial src.
it is showing :
// Command for adding a site
    cmdAdd : null,

thank you

Offline

#1804 2013-08-27 01:51:32

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,087
Website

Re: dwb - a webkit web browser

Wow, trying dwb for first time and very impressed. Seems to render faster than chromium, but I have not done a proper test.
I would like to be able to convert all my chromium bookmarks to dwb format. If someone has already worked out how to do this please let me know, otherwise I might refresh my sed and awk skillset P


Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.

Offline

#1805 2013-08-27 07:31:01

lahwaacz
Wiki Admin
From: Czech Republic
Registered: 2012-05-29
Posts: 748

Re: dwb - a webkit web browser

lagagnon wrote:

Wow, trying dwb for first time and very impressed. Seems to render faster than chromium, but I have not done a proper test.
I would like to be able to convert all my chromium bookmarks to dwb format. If someone has already worked out how to do this please let me know, otherwise I might refresh my sed and awk skillset P

I wrote this simple script in python for this purpose.

Offline

#1806 2013-08-27 14:28:54

John0000
Member
Registered: 2012-04-12
Posts: 40

Re: dwb - a webkit web browser

Hi there,

I recently found out that there is a method to track down a user even with cookies/javascript disabled, it uses the cache (demonstration is at http://lucb1e.com/rp/cookielesscookies/ ). You can even type a message and the message will be there next time you visit the site.

So I tried to get rid of the cache by disabling the options enable-offline-web-application-cache and enable-page-cache, and the cache-model option is set to webkit, but that doesn't work, the website in question is still able to identify me.

I also used lsof to see what files dwb what using but no luck there. Closing and restarting dwb doesn't flush the cache either.

In comparison when I hit the clear cache button in firefox it works, i.e. my visit count at the website is reset, and the message I typed disapear.

Any clues at how I could reset dwb's cache?

Thanks in advance !

Offline

#1807 2013-08-28 10:42:47

portix
Member
Registered: 2009-01-13
Posts: 757

Re: dwb - a webkit web browser

wardhan wrote:
portix wrote:

Do you get any errors if you start dwb from a terminal and try to add a website?

no, b'coz i don't know about how to add through terminal. can you please provide cmd, so that i can inform outcome of the command.

i was just curious about the command, i did go through speeddial src.
it is showing :
// Command for adding a site
    cmdAdd : null,

thank you

Is there any output if you start dwb from commandline and then try to add a website using sda?

@John0000: Have you removed ~/.local/share/webkit/databases, ~/.local/share/webkitgtk/localstorage and ~/.cache/webkitgtk after disabling html5 databases and localstorage?

Offline

#1808 2013-08-28 16:45:27

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,087
Website

Re: dwb - a webkit web browser

lahwaacz wrote:

I wrote this simple script in python for this purpose.

Perfect - thank you very much lahwaacz! In the meantime I just dumped the Chromium bookmarks to HTML and have the HTML file bookmarked. That's fairly easy but your little script is a gem.


Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.

Offline

#1809 2013-08-28 18:28:13

chupy35
Member
Registered: 2009-10-04
Posts: 13

Re: dwb - a webkit web browser

I am subscribed to the easylist with adblock, but it looks that it didnt work, i see a lot of advertisment

Last edited by chupy35 (2013-08-28 19:44:21)

Offline

#1810 2013-08-28 18:30:00

sekret
Member
Registered: 2013-07-22
Posts: 283

Re: dwb - a webkit web browser

John0000 wrote:

Any clues at how I could reset dwb's cache?

I'm not entirely sure, because I've disabled cache the minute I started using dwb, but what about ~/.cache/dwb ? This directory is empty on my system, but maybe you have stuff in there. If so, quit dwb, remove it and restart dwb.

Offline

#1811 2013-08-28 18:56:13

portix
Member
Registered: 2009-01-13
Posts: 757

Re: dwb - a webkit web browser

chupy35 wrote:

i am subscribed to the easylist wit adblock, but it looks that it didnt work, i see a lot of advertisment

Is the adblocker enabled?

Offline

#1812 2013-08-28 19:43:29

chupy35
Member
Registered: 2009-10-04
Posts: 13

Re: dwb - a webkit web browser

portix wrote:
chupy35 wrote:

i am subscribed to the easylist wit adblock, but it looks that it didnt work, i see a lot of advertisment

Is the adblocker enabled?

yep

dwbem -e adblock_subscriptions
!!! adblock_subscriptions is already enabled

Offline

#1813 2013-08-28 20:11:32

portix
Member
Registered: 2009-01-13
Posts: 757

Re: dwb - a webkit web browser

chupy35 wrote:

yep

dwbem -e adblock_subscriptions
!!! adblock_subscriptions is already enabled

dwb has a setting called 'adblocker', you must enable it, even if adblock_subscriptions is installed.

Offline

#1814 2013-08-29 01:10:05

wardhan
Member
Registered: 2013-08-26
Posts: 4

Re: dwb - a webkit web browser

portix wrote:
wardhan wrote:
portix wrote:

Do you get any errors if you start dwb from a terminal and try to add a website?

no, b'coz i don't know about how to add through terminal. can you please provide cmd, so that i can inform outcome of the command.

i was just curious about the command, i did go through speeddial src.
it is showing :
// Command for adding a site
    cmdAdd : null,

thank you

Is there any output if you start dwb from commandline and then try to add a website using sda?

i have tried the following 2 commands directly from cmd line & none of them seems to have any effect :

[1] $ dwb sda www.google.com
DWB EXTENSION: extension adblock_subscriptions: Successfully loaded and initialized.
DWB EXTENSION ERROR: extension userscripts: No scripts found, place scripts in $XDG_CONFIG_HOME/.config/dwb/greasemonkey
STACK: [userscriptsStart] [parseScripts] [init] [value] [anonymous]
DWB EXTENSION ERROR: extension userscripts: Initialization failed.
STACK: [value] [value] [anonymous]
DWB EXTENSION: extension speeddial: Successfully loaded and initialized.

[2] $ dwb -x sda www.google.com
DWB EXTENSION: extension adblock_subscriptions: Successfully loaded and initialized.
DWB EXTENSION ERROR: extension userscripts: No scripts found, place scripts in $XDG_CONFIG_HOME/.config/dwb/greasemonkey
STACK: [userscriptsStart] [parseScripts] [init] [value] [anonymous]
DWB EXTENSION ERROR: extension userscripts: Initialization failed.
STACK: [value] [value] [anonymous]
DWB EXTENSION: extension speeddial: Successfully loaded and initialized.

i have started dwb without any parameters & opened www.google.com & tried to add website by using "sda" :

dwb
DWB EXTENSION: extension adblock_subscriptions: Successfully loaded and initialized.
DWB EXTENSION ERROR: extension userscripts: No scripts found, place scripts in $XDG_CONFIG_HOME/.config/dwb/greasemonkey
STACK: [userscriptsStart] [parseScripts] [init] [value] [anonymous]
DWB EXTENSION ERROR: extension userscripts: Initialization failed.
STACK: [value] [value] [anonymous]
DWB EXTENSION: extension speeddial: Successfully loaded and initialized.
DWB SCRIPT EXCEPTION: in line 248: 'undefined' is not a function (evaluating 'wv.toPng(filename, config.snapshotWidth, config.snapshotHeight)')
DWB SCRIPT EXCEPTION: in line 248: 'undefined' is not a function (evaluating 'wv.toPng(filename, config.snapshotWidth, config.snapshotHeight)')

i hope the above data provides some useful information.

thank you.

Offline

#1815 2013-08-29 02:06:12

portix
Member
Registered: 2009-01-13
Posts: 757

Re: dwb - a webkit web browser

Are you using an older webkit release than 1.10?

Offline

#1816 2013-08-29 02:13:01

wardhan
Member
Registered: 2013-08-26
Posts: 4

Re: dwb - a webkit web browser

portix wrote:

Are you using an older webkit release than 1.10?

debian gnu/linux listing the package version : dwb (20130503hg-2)
excuse for the above.
the following packages are currently installed on my system, & i think i am using 1.0 :

~$ dpkg -l | grep webkit
ii  libkdewebkit5                         4:4.10.5-1                    amd64        KDE WebKit Library
ii  libqtwebkit4:amd64                    2.2.1-6                       amd64        Web content engine library for Qt
ii  libwebkitgtk-1.0-0                    2.0.4-3                       amd64        Web content engine library for GTK+
ii  libwebkitgtk-1.0-common               2.0.4-3                       all          Web content engine library for GTK+ - data files
ii  libwebkitgtk-3.0-0                    2.0.4-3                       amd64        Web content engine library for GTK+
ii  libwebkitgtk-3.0-common               2.0.4-3                       all          Web content engine library for GTK+ - data files

Last edited by wardhan (2013-08-29 02:31:28)

Offline

#1817 2013-08-29 02:55:26

portix
Member
Registered: 2009-01-13
Posts: 757

Re: dwb - a webkit web browser

Your dwb must be linked to an older version of webkitgtk, speeddial doesn't work if dwb was linked against a webkit version < 1.10.
Btw, this is an archlinux only forum, i think this is not the right place to discuss debian specific problems. If you need support for debian you can join the irc-channel #dwb on freenode or write a mail.

Offline

#1818 2013-08-29 17:03:01

John0000
Member
Registered: 2012-04-12
Posts: 40

Re: dwb - a webkit web browser

Thx for the answer portix

~/.local/share/webkit/databases is empty, even while doing the test. I also tried with 000 permissions.
~/.local/share/webkitgtk/localstorage I don't have a webkitgtk folder neither here nor anywhere in my comp, same thing with localstorage.
~/.cache/webkitgtk  same

@sekret
I do have a ~/.cache/dwb, empty, even while doing the test, and I even changed its permissions to 000 afterwards.



However, the strange thing is that after a couple minutes, the cache seems to be flushed on itself, without closing dwb or doing anything, because after reloading X times the count on the site reset to 2 and the message I typed disapeared.
Either the cache should work always, or not at all...

Offline

#1819 2013-08-29 17:11:42

portix
Member
Registered: 2009-01-13
Posts: 757

Re: dwb - a webkit web browser

The site you are referring to uses the image cache, the problem is, the cache is handled by webkit internally, dwb cannot flush the image cache because webkitgtk doesn't provide any methods to flush the cache. The only way to prevent webkit from using the cache is using reload_bypass_cache.

Offline

#1820 2013-08-29 22:52:04

John0000
Member
Registered: 2012-04-12
Posts: 40

Re: dwb - a webkit web browser

thanks for the answer it's indeed working !

Offline

#1821 2013-09-01 13:14:41

xorgx3
Member
From: Poland
Registered: 2011-11-29
Posts: 197

Re: dwb - a webkit web browser

What about youtube vids in this browser?
How can I enable flash plugin?

Offline

#1822 2013-09-01 13:28:06

nfisher.sr
Member
Registered: 2013-06-15
Posts: 45

Re: dwb - a webkit web browser

The gtk2 version should work with the normal flashplugin, or with gnash-gtk. The gtk3 version will need nspluginwrapper I believe?

Offline

#1823 2013-09-01 13:39:25

xorgx3
Member
From: Poland
Registered: 2011-11-29
Posts: 197

Re: dwb - a webkit web browser

Should work, but how to do this?

youtube we can watch for example with this workaround: https://wiki.archlinux.org/index.php/Dw … be-mplayer

but what about flash games and another content?

Offline

#1824 2013-09-01 17:37:38

bratmaxe
Member
From: Germany
Registered: 2010-11-07
Posts: 71

Re: dwb - a webkit web browser

Per default plugins like flash are blocked in dwb. Maybe that's the problem? Look on the settings page for a setting called plugin-blocker.

Offline

#1825 2013-09-01 20:25:44

xorgx3
Member
From: Poland
Registered: 2011-11-29
Posts: 197

Re: dwb - a webkit web browser

Yes, that was a problem.
But I'm using Pepper Flash, not flashplugin. It will be supported in the future?

Offline

Board footer

Powered by FluxBB