You are not logged in.

#76 2010-08-11 23:52:17

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

Re: dwb - a webkit web browser

I reimplemented some parts of dwb and did some changes:

* slightly changed ui (each view has its own addressbar now)
* all settings and keybindings can now be changed while dwb is running via commandline or a webinterface
* more than one session can be saved
* profiles with different settings, quickmarks, bookmarks, history
* it is possible to have only one instance of dwb
* applications for opening downloads can be changed on the fly

- no formfiller yet

The problem with losing keyboard focus should be fixed.

Keybindings and screenshots can be found here.

Offline

#77 2010-08-12 02:08:24

empthollow
Member
Registered: 2009-09-26
Posts: 168

Re: dwb - a webkit web browser

Just installed.  I like the concept but i'm running into a big problem.  I can run dwb the first time and everything seems fine.  I press d to close, and then I can't run it again unless i delete the .config/dwb directory.  Here is the terminal output. 

[empthollow@MoonShadow ~]$ dwb
Cannot open /home/empthollow/.config/dwb/default/bookmarks: file not found
Cannot open /home/empthollow/.config/dwb/default/history: file not found
Cannot open /home/empthollow/.config/dwb/default/quickmarks: file not found
Cannot open /home/empthollow/.config/dwb/searchengines: file not found
Cannot open /home/empthollow/.config/dwb/mimetypes: file not found
Cannot open /home/empthollow/.config/dwb/default/cookies.allow: file not found
No keysfile found, creating a new file.
No settingsfile found, creating a new file.
[empthollow@MoonShadow ~]$ dwb
Received SIGSEGV, try to clean up.

(dwb:3734): GLib-CRITICAL **: g_hash_table_get_values: assertion `hash_table != NULL' failed
Success.

--empthollow
Check out my Arch based live distro http://fluxcapacity.99k.org

Offline

#78 2010-08-12 02:29:37

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

Re: dwb - a webkit web browser

@empthollow: should be fixed now.

Offline

#79 2010-08-12 02:32:35

empthollow
Member
Registered: 2009-09-26
Posts: 168

Re: dwb - a webkit web browser

Thanks for the quick response, I will rebuild.


--empthollow
Check out my Arch based live distro http://fluxcapacity.99k.org

Offline

#80 2010-08-14 08:46:01

Psyce
Member
Registered: 2008-05-06
Posts: 51

Re: dwb - a webkit web browser

Hi is there a possiblity to disable javascript and just let defined sites get javascript done like for firefox noscript?

Last edited by Psyce (2010-08-14 08:46:17)

Offline

#81 2010-08-14 12:02:27

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

Re: dwb - a webkit web browser

At the moment there is no possibility to enable javascript for specific sites only but i'm planning to implement blocking content by content-type so this will be possible in the near future.

Offline

#82 2010-08-14 17:22:31

Psyce
Member
Registered: 2008-05-06
Posts: 51

Re: dwb - a webkit web browser

OK then i bear with it till u have time to implement it and than ure my god XD

Offline

#83 2010-08-15 22:40:46

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

Re: dwb - a webkit web browser

Added a simple javascript blocker. I dropped the idea to implement a general content blocker, because the only mimetypes that are recognized reliably before a page gets loaded, are images, javascript and text. 

The javascript blocker can be activated by setting the (global or perview) property block-javascript to true. Allowed domains can be added to a whitelist (or removed) with "tj" (toggle_javascript). If enabled, the number of blocked elements will be shown in the statusbar, or if a domain is allowed it is indicated by an "a".

Edit: I did the same for flash-content and it also seems to work.  block-flash must be enabled and  allowed domains can be added with "tf" (toggle_flash).

Last edited by portix (2010-08-16 00:47:22)

Offline

#84 2010-08-17 00:07:19

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

Re: dwb - a webkit web browser

Since on some sites not all flash content was recognised i removed the javascript and flashblocker and implemented a new content-blocker which blocks content by its mimetype, in the default setting flash and javascript is blocked. "ts" will allow and reload the current website.

Offline

#85 2010-08-17 17:30:42

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: dwb - a webkit web browser

Awesome job, man! I love this browser....but of course, the comments :-)

1. Google reader and gmail never finish loading.  Google maps, videos, etc work perfectly, as does your content blocker.
2. Netflix.com scrolls suuuuuper sloooowly. I've noticed this on other webkit browsers too, except for chrome. (Google reader is also really slow on the other webkit browsers).
3. Most pages require a quick mouse click someplace inside the page to focus the window to where I can use the space bar to scroll up and down. It's weird, because j-k works (for example on news.google.com) to scroll up and down, but I have to click in the window before using the space bar.
4. The save button on the 'Settings' page (Sgs) gives a 'No such setting' error in the bottom bar, and it doesn't appear to save the settings if I close that view and then reopen the settings page in a new view.
5. There used to be a 'show quickmarks' keybinding...I'm only seeing a 'show bookmarks' now.

Thanks very much for your work on this!
Scott

Last edited by firecat53 (2010-08-17 17:50:27)

Offline

#86 2010-08-17 20:45:17

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

Re: dwb - a webkit web browser

Thanks for your response.

1. + 2. Google reader works fine here but scrolling is really slow, but this seems to be webkit related.

3. Thanks for this remark, i didn't notice it, because i does not use the webkit builtin shortcuts, but i have fixed it with revision 78.

4. Removed the "save" button with revision 78. Changed settings will be saved if a text input loses focus and the value has changed or the return-key is pressed.

5. Maybe i will implement this later. For now you can simply add quickmark for your quickmarkfile (located in $HOME/.config/dwb/$profile/quickmarks).

Offline

#87 2010-08-18 06:00:12

empthollow
Member
Registered: 2009-09-26
Posts: 168

Re: dwb - a webkit web browser

I just finished building 81-1,  as firecat53 said gmail does not finish loading unless i use basic html.  Also I suspect a related issue is rutorrent does finish loading.  Both of these broke with this update.  Gmail and rutorrent used to load fine for me.  Thanks for the hard work.  This is a great browser.


--empthollow
Check out my Arch based live distro http://fluxcapacity.99k.org

Offline

#88 2010-08-18 07:34:34

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

Re: dwb - a webkit web browser

@empthollow: I have added a  content blocker which blocks javascript and flash content and is enabled by default. You can either allow gmail and rutorrent with "ts" or disable the content blocker (setting: block-content).

Offline

#89 2010-08-18 10:40:50

Psyce
Member
Registered: 2008-05-06
Posts: 51

Re: dwb - a webkit web browser

Hi portix,

the blocker works in some way and in another not when i get it right. When I surf @ sites like youtube flash is blocked but when I go to this site http://anonymous-proxy-servers.net/de/anontest or this http://www.gulli.com/privacy/internet/t … taetscheck for checking if all is working. The site say Javascripts isn't blocked and get data like my screen resolution.

Do you have an idea why this is not working for the Sites? Do I have to disable normal Java?

PS. I haven't used ts for allowing the sites using scripts.

Greetz
Psyce

Offline

#90 2010-08-18 19:38:20

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

Re: dwb - a webkit web browser

@Psyce, thanks for pointing that out. I figured out what causes the problem but i see no simple solution at the moment but it's on my todo list.

Offline

#91 2010-08-18 19:53:18

Psyce
Member
Registered: 2008-05-06
Posts: 51

Re: dwb - a webkit web browser

@Portix, its no problem i am thankful for your hard work making this browser. Just found that problem because I want a little bit privacy and thought I let you know it so you can do something. So I look forward for it get working in the future.

Offline

#92 2010-08-18 22:22:35

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: dwb - a webkit web browser

Ah, the 'ts' command on google reader and gmail allow them to finish loading and now they work fine. Thanks!

Scott

Offline

#93 2010-08-19 12:52:36

Pobega
Member
Registered: 2010-08-19
Posts: 11

Re: dwb - a webkit web browser

[pobega@crynyd ~]$ dwb
Received SIGSEGV, try to clean up.
Success.

No matter what I do dwb ends up crashing with this. I've never debugged a program before so I have no clue where to start. Any way you can message me some way to get in contact with you (@portix) so we can fix this?

I realize this problem is too vague, but it's exactly how it happens. dwb just randomly decides it's closing.

Offline

#94 2010-08-19 17:37:48

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

Re: dwb - a webkit web browser

This is really vague. I have enabled private messages now, so you can send me an email over the forum.

Offline

#95 2010-08-20 04:52:03

empthollow
Member
Registered: 2009-09-26
Posts: 168

Re: dwb - a webkit web browser

portix wrote:

@empthollow: I have added a  content blocker which blocks javascript and flash content and is enabled by default. You can either allow gmail and rutorrent with "ts" or disable the content blocker (setting: block-content).

thanks, I disabled block-content and all is well.  ts didn't work for me though.  It enabled and disabled scripts but that didn't make the difference.  When disabled gmail displayed a 'you must have javascript enabled' message, but enabled it wouldn't finish.  Disabling the content blocker works for me for now, just an fyi in case it helps.


--empthollow
Check out my Arch based live distro http://fluxcapacity.99k.org

Offline

#96 2010-08-27 00:31:14

empthollow
Member
Registered: 2009-09-26
Posts: 168

Re: dwb - a webkit web browser

I have a feature idea.  Please weigh in.  Add a mimetype file so that when you download a specific file type (i.e. pdf) whatever program specified in the mimetype file  would open the downloaded object - similar to the functionality of the mutt mimetype file.


--empthollow
Check out my Arch based live distro http://fluxcapacity.99k.org

Offline

#97 2010-08-27 00:42:31

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

Re: dwb - a webkit web browser

A similar feature is already built in. Before a download starts you can press C-x to specify  a program to open this
file (a full path must be specified but i.e. xpdf<Tab> will complete to /usr/bin/xpdf). The  specified application will be
saved for this mimetype.

Last edited by portix (2010-08-27 00:44:19)

Offline

#98 2010-08-27 02:06:43

empthollow
Member
Registered: 2009-09-26
Posts: 168

Re: dwb - a webkit web browser

Thanks, that feature works great.  I didn't see that when I scaned the man page, thanks for pointing that out.


--empthollow
Check out my Arch based live distro http://fluxcapacity.99k.org

Offline

#99 2010-08-30 18:59:45

Psyce
Member
Registered: 2008-05-06
Posts: 51

Re: dwb - a webkit web browser

hi portix,

got some little problems with the stability.

** Message: console message: http://files.video-loader.com/au2m8_preloader/79918829127732326071579.htm?vs=1&r=www.loombo.com%2Fno_file.html&s=www.loombo.com%2Fno_file.html&poR=http%3A%2F%2Fkino.to%2FStream%2FThe_Sorcerers_Apprentice.html&poS=http%3A%2F%2Fwww.loombo.com%2Fno_file.html&t=658732 @20: ReferenceError: Can't find variable: initiframe

** Message: console message: undefined @1: SyntaxError: Parse error

Received SIGSEGV, try to clean up.
Success.

this is the msg I get when browser exits. Hope u can do something with it.

Greetz
Psyce

Offline

#100 2010-08-30 19:38:16

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

Re: dwb - a webkit web browser

The console-message is a javascript message and i guess it has nothing to do with the segfault, so a few more
informations would be good. Is loombo.com the site, where this happened, does this also happen on other sites
and which revision is installed.

Offline

Board footer

Powered by FluxBB