You are not logged in.

#1201 2012-10-28 10:41:04

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

Re: dwb - a webkit web browser

flipper T wrote:

one problem, streaming flash video, video stutterers every 3 mins or so.

i assumed it was some kind of buffering issue, but same does not happen with chrome or firefox.

I haven't had this problem yet and i fear i cannot do anything about it because flash in webkitgtk is a black box.

Offline

#1202 2012-10-28 10:52:03

flipper T
Member
Registered: 2012-09-14
Posts: 419

Re: dwb - a webkit web browser

thx for quick reply.

slight omission in my post...this only happening when streaming hd flash (in particular from bbb.co.uk).

i will assume that your answer is still applicable, though.

keep up good work, much appreciated.


If I'm curt with you it's because time is a factor. I think fast, I talk fast and I need you guys to act fast if you wanna get out of this. So, pretty please... with sugar on top. Clean the [censored] car. -The Wolf

Offline

#1203 2012-10-29 17:15:40

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

Re: dwb - a webkit web browser

I noticed that there is a bug in the version from the community repo when a new searchengine is added. I'm not sure if i do a new release in the next weeks, so here is a fix:

--- base.js	2012-10-28 17:15:14.000000000 +0100
+++ /tmp/base.js	2012-10-29 18:04:45.819561813 +0100
@@ -692,7 +692,7 @@ Object.freeze((function () {
         return __addSearchEngine();
       },
     submitSearchEngine : function (obj) {
-        return __submitSearchEngine(obj.searchString);
+        return __submitSearchEngine(JSON.parse(obj).searchString);
       },
     focusInput : function () {
         __focusInput();

The patch can be applied (as root) with

patch /usr/share/dwb/scripts/base.js < /path/to/patch

Edit: In dwb-hg this is already fixed.

Last edited by portix (2012-10-29 17:18:12)

Offline

#1204 2012-10-30 15:49:24

maattd
Member
From: Toulouse, France
Registered: 2008-08-23
Posts: 56
Website

Re: dwb - a webkit web browser

Is someone using the anything-sync-daemon with dwb ?

Offline

#1205 2012-10-30 18:59:11

Šaran
Member
From: Bosnia
Registered: 2011-09-03
Posts: 407

Re: dwb - a webkit web browser

For browsers, you should use profile-sync-daemon.

Offline

#1206 2012-10-31 07:46:56

mhertz
Member
From: Denmark
Registered: 2010-06-19
Posts: 681

Re: dwb - a webkit web browser

I'm getting dwb + X crashing completelly and sending me back to the tty, when selecting this link: http://www.google.dk/url?sa=t&rct=j&q=s … cz43NfHPGg

Could someone else also test this link, please...

Btw, i'm using dwb-2012.10.28, from the repos...

Edit: The same happens with latest dwb-hg... Probably just a X error, but just in case... I'm using fully up-to-date system with testing repo enabled.

Last edited by mhertz (2012-10-31 07:56:44)

Offline

#1207 2012-10-31 10:24:58

jakob
Member
From: Berlin
Registered: 2005-10-27
Posts: 419

Re: dwb - a webkit web browser

Can't reproduce: use dwb-hg 1564 and updated my system a few mins ago…

Offline

#1208 2012-10-31 10:45:59

Mr_Kartoffelsalat
Member
Registered: 2012-04-17
Posts: 29

Re: dwb - a webkit web browser

I got the problem that I can load any website but can't see its content. If I switch to the sourcecode view (gf) I can see that the site is perfectly loaded. I think the reason for this problem is that with the last update libwebkit became webkitgtk2-1.10.1-1. What can I do to make dwb run again correctly?

Last edited by Mr_Kartoffelsalat (2012-10-31 10:46:25)

Offline

#1209 2012-10-31 11:14:21

jakob
Member
From: Berlin
Registered: 2005-10-27
Posts: 419

Re: dwb - a webkit web browser

Did you try dwb-hg? I compiled that yesterday, then updated to webkitgtk2, restarted dwb and it still works.

Offline

#1210 2012-10-31 11:27:07

Mr_Kartoffelsalat
Member
Registered: 2012-04-17
Posts: 29

Re: dwb - a webkit web browser

I just learned that dwb is in community repository now (obviously because I didn't read this thread proper, sorry for that) so I installed that version and everything is working again.

Last edited by Mr_Kartoffelsalat (2012-10-31 11:34:00)

Offline

#1211 2012-10-31 18:20:21

uzsolt
Member
Registered: 2012-06-13
Posts: 56

Re: dwb - a webkit web browser

Hi all!

I've discovered this browser. I've tried luakit, jumanji, uzbl but dwb seems very well smile
I've a problem: there is a hungarian web page (unix portal). On this page I'm using an extension (hupper): firefox and source code. Can I apply this with dwb?

I've tried this and this userscripts (which has same functionality) but dwb prints to stdout:
http://userscripts.org/scripts/show/99310

==> DEBUG [MESSAGE]  : In file /home/users/zsolt/.config/dwb/userscripts/hup.js
==> DEBUG [ERROR]    : Error in line 209: Can't find variable: document
==> DEBUG [STACK]    : [init] [anonymous] [[native code]]


==> DEBUG [MESSAGE]  : In file /home/users/zsolt/.config/dwb/userscripts/hup-new.js
==> DEBUG [ERROR]    : Error in line 20: Can't find variable: document
==> DEBUG [STACK]    : [anonymous] [[native code]]

java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.5) (ArchLinux-6.b24_1.11.5-1-x86_64)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

Can solve this problem?

Offline

#1212 2012-10-31 19:12:05

Baabelfish
Member
From: Finland
Registered: 2012-02-14
Posts: 17

Re: dwb - a webkit web browser

maattd wrote:

Is someone using the anything-sync-daemon with dwb ?

git


usability == arch + i3 + urxvt + vim + ranger + dwb + vlc + cmus + mutt + shitload of scripts

Offline

#1213 2012-10-31 19:13:06

mhertz
Member
From: Denmark
Registered: 2010-06-19
Posts: 681

Re: dwb - a webkit web browser

Update: I've traced the X crashing issue to using sna accel-method instead of default uxa for xf86-video-intel on my i3-370m 2.4ghz cpu with intel hd graphics... Funny that it only affects this one page versus the many others I have visited with sna enabled and no problems at all...

Nothing to do with dwb... Sorry smile

Last edited by mhertz (2012-10-31 19:23:43)

Offline

#1214 2012-10-31 19:28:49

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: dwb - a webkit web browser

Hi, I use the contenthandler extension with

#!javascript
//<contenthandler___SCRIPT
extensions.load("contenthandler", {
//<contenthandler___CONFIG
  // %u will be replaced with the uri of the request
  
  // Handle requests based on filename extension
  extension : {
	  "torrent" : "transmission-remote -a '%u'"
    // "pdf" : "xterm -e 'wget %u --directory-prefix=~/mypdfs'"
  },

  // Handle requests based on URI scheme
  uriScheme : {
	  "ftp://" : "urxvt -e 'ncftp %u'",
	  "magnet:" : "transmission-remote -a '%u'",
	  "mailto:" : "urxvt -e 'mutt %u'"
  },

  // Handle requests based on MIME type
  mimeType : {
    // "application/pdf" : "xterm -e 'wget %u --directory-prefix=~/mypdfs'"
  }
//>contenthandler___CONFIG
});
//>contenthandler___SCRIPT

in ~/.config/dwb/extensions. It works for the file extensions, but the uriScheme seems to be wrong. Is it a mistake I made or is there a bug? Clicking on a magnet link or a mailto link simply shows the error site you get not using this extension.

Help please smile

Offline

#1215 2012-10-31 19:48:02

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

Re: dwb - a webkit web browser

@uzsolt: if you want to use scripts from userscripts.org you need the userscripts extension. You can enable it with

dwbem -N -i userscripts

You can then put scripts from userscripts.org or other greasemonkey scripts into ~/.config/dwb/scripts.

@Army: The scheme is only the scheme part of the uri, which is the part before the first colon. For ftp-uris it is only ftp and for magnet-links it's only magnet.

Offline

#1216 2012-11-01 01:54:41

Reded
Member
From: Manchester, England
Registered: 2012-02-21
Posts: 242

Re: dwb - a webkit web browser

Mr_Kartoffelsalat wrote:

I got the problem that I can load any website but can't see its content. If I switch to the sourcecode view (gf) I can see that the site is perfectly loaded. I think the reason for this problem is that with the last update libwebkit became webkitgtk2-1.10.1-1. What can I do to make dwb run again correctly?

I get this problem with some very flash-heavy sites, and only when GPU accelerated compositing is checked. Happens on both -hg and community repo one.


"Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying "End-of-the-World Switch. PLEASE DO NOT TOUCH", the paint wouldn't even have time to dry."

Offline

#1217 2012-11-01 02:29:24

mhertz
Member
From: Denmark
Registered: 2010-06-19
Posts: 681

Re: dwb - a webkit web browser

Hey thanks man for mentioning that mate!

I've had a problem where X crashed completelly upon visiting a page, and where I had completelly forgotten that i'd enabled gpu-acceleration some time ago, and which gets fixed if disabling that option again, I know learn! disabling intel's sna accel-method also semi-fixes it, but shows the page completelly blank.

Thanks again!

Last edited by mhertz (2012-11-01 02:46:16)

Offline

#1218 2012-11-01 02:32:18

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

Re: dwb - a webkit web browser

Reded wrote:
Mr_Kartoffelsalat wrote:

I got the problem that I can load any website but can't see its content. If I switch to the sourcecode view (gf) I can see that the site is perfectly loaded. I think the reason for this problem is that with the last update libwebkit became webkitgtk2-1.10.1-1. What can I do to make dwb run again correctly?

I get this problem with some very flash-heavy sites, and only when GPU accelerated compositing is checked. Happens on both -hg and community repo one.

Are you using the adblocker? For me it seems that it is caused by element-hiding rules, i can reproduce it but if i remove all element hiding rules from the filterlist everything is fine.

Offline

#1219 2012-11-01 11:26:45

Mr_Kartoffelsalat
Member
Registered: 2012-04-17
Posts: 29

Re: dwb - a webkit web browser

jcook818 wrote:
portix wrote:

You can first try to put the style definitions in a css file and set user-stylesheet-uri to the path of that file, user-stylesheet-uri has to be a uri, so if it's a local file it has to be of the form file:///path/to/stylesheet.css.

This worked like a charm. Thank you!

(and yes btw, a donations link is certainly a good idea smile )

Would you be so kind and show your finished stylesheet? Thanks smile

Last edited by Mr_Kartoffelsalat (2012-11-01 11:27:11)

Offline

#1220 2012-11-01 11:47:48

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: dwb - a webkit web browser

WonderWoofy and I have problems with a link that works in firefox but not in dwb. The link in question: http://blog.flameeyes.eu/2012/10/gentoo … 12-edition

Offline

#1221 2012-11-01 12:29:01

jakob
Member
From: Berlin
Registered: 2005-10-27
Posts: 419

Re: dwb - a webkit web browser

What happens if you click it? Doesn't it open? Works fine here.

Offline

#1222 2012-11-01 12:42:05

flipper T
Member
Registered: 2012-09-14
Posts: 419

Re: dwb - a webkit web browser

cannot open in dwb here

"Forbidden

You don't have permission to access /cache/2012/10/gentoo-linux-health-report-—-october-2012-edition.html on this server.

Apache Server at blog.flameeyes.eu Port 80"


If I'm curt with you it's because time is a factor. I think fast, I talk fast and I need you guys to act fast if you wanna get out of this. So, pretty please... with sugar on top. Clean the [censored] car. -The Wolf

Offline

#1223 2012-11-01 12:50:59

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

Re: dwb - a webkit web browser

I can confirm it, it seems like they don't like "Chrome" to appear in the user-agent string, if i remove the Chrome part the page loads.

Offline

#1224 2012-11-01 13:04:16

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: dwb - a webkit web browser

portix wrote:

I can confirm it, it seems like they don't like "Chrome" to appear in the user-agent string, if i remove the Chrome part the page loads.

I had that setting left empty, is Chrome the default in such case? I have set it to 'links' now and it works ;P

Thanks!

Offline

#1225 2012-11-01 13:09:54

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

Re: dwb - a webkit web browser

If you leave it empty dwb will use webkit's default useragent and append "dwb-<version>" to the string, webkit's default user-agent currently is

Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.6+ (KHTML, like Gecko) Chromium/17.0.963.56 Chrome/17.0.963.56 Safari/537.6+

Offline

Board footer

Powered by FluxBB