You are not logged in.
portix, I don't know if this was already asked, but is there a way to make animated gifs work in dwb?
Xmonad gets sh*t done. Fast.
Offline
Animated gifs will not work correctly with the webkit version from the repos, but you can install a development version of libwebkit and build dwb against this newer version. I just tested it with libwebkit-nightly-72146 from AUR and it seems to work fine. I think the animated-gifs support got broken with version 1.2.7-1 of libwebkit, so any older version also should do the trick.
Offline
Offline
Ftp is not supported by webkit. I currently don't have enough spare time to implement ftp support but i could add a property "ftp-client" to spawn an external ftp-client.
Offline
Animated gifs will not work correctly with the webkit version from the repos, but you can install a development version of libwebkit and build dwb against this newer version. I just tested it with libwebkit-nightly-72146 from AUR and it seems to work fine. I think the animated-gifs support got broken with version 1.2.7-1 of libwebkit, so any older version also should do the trick.
Ok, in this case I'll wait until they correct libwebkit.
Xmonad gets sh*t done. Fast.
Offline
Ftp is not supported by webkit. I currently don't have enough spare time to implement ftp support but i could add a property "ftp-client" to spawn an external ftp-client.
That would be a very Unix-y solution Thanks! I think spawning a terminal with lftp or something would be quite cool.
Scott
Offline
In the latest revision there is a new setting "ftp-client", i also renamed the "mail-program" setting to "mail-client" and added a script in src/userscripts called youtube-remote that controls the youtube-videoplayer from dwb-commandline or pauses the video and plays the video with mplayer instead.
Offline
Hey portix,
is this http://floppymoose.com possible with dwb too?
Offline
This will also work with dwb, except for the flashblocking thing. You can use "user-stylesheet-uri" for setting a path to the stylesheet file.
Offline
Hello,
Just discovered dwb and I'm amazed. Would love to donate some money for the time and effort you've put into this, portix. This is almost my perfect browser.
I have one question at this stage; I'm trying to enable cookies always, for every site. I've set "cookies=true" in the settings file; however this had no effect. However if I add a site to allow.cookies by pressing CC on a site, then it works. Is this expected behaviour? Is there a way to make it enable all cookies by default?
I should qualify this by saying that I'm running a slightly out-of-date dwb; the stable snapshot from the AUR (2011.02.20-1), rather than the dwb-hg package. I'll check this behaviour tomorrow when I'm at work and have the ability to.
Many thanks for your great work. I can see this becoming my main browser very quickly.
Offline
I have one question at this stage; I'm trying to enable cookies always, for every site. I've set "cookies=true" in the settings file; however this had no effect. However if I add a site to allow.cookies by pressing CC on a site, then it works. Is this expected behaviour? Is there a way to make it enable all cookies by default?
No, this is not the expected behaviour. I have just fixed it, so if you use the -hg version, it should work. Maybe i will also create a new snapshot today.
Offline
Is there a setting to change the default scroll step size?
transcend to the fifth abode
Offline
Is there a setting to change the default scroll step size?
No there wasn't a setting yet, so i created one, check the latest revision.
Edit: it's called "scroll-step".
Last edited by portix (2011-03-15 22:26:17)
Offline
ntness wrote:Is there a setting to change the default scroll step size?
No there wasn't a setting yet, so i created one, check the latest revision.
Edit: it's called "scroll-step".
Great!
This browser is really shaping up nicely--thanks for all your work.
transcend to the fifth abode
Offline
xwhatsit wrote:I have one question at this stage; I'm trying to enable cookies always, for every site. I've set "cookies=true" in the settings file; however this had no effect. However if I add a site to allow.cookies by pressing CC on a site, then it works. Is this expected behaviour? Is there a way to make it enable all cookies by default?
No, this is not the expected behaviour. I have just fixed it, so if you use the -hg version, it should work. Maybe i will also create a new snapshot today.
Marvellous. Works perfectly now. Thank-you very much!
Offline
I used to use Vimperator (although it's simply too slow for my ancient laptop), and I used a vim-style feature quite a lot when scouring HTML API docs (quite handy with Qt's docs); Ctrl-A, which increments the last number in a URL, and Ctrl-X, which decrements the last number in a URL.
Here are a couple of quick-and-dirty Perl userscripts to do the same thing. Apologies that the decrement script is longer; in Perl, I found out, the decrement operator is not `magic' like the increment operator (in terms of preserving leading zeroes).
#!/usr/bin/perl
# dwb: Control x
$URL = $ARGV[0];
$URL =~ /(.*?)(\d+)(\D*)$/;
$number=$2;
$length=length($number);
$number--;
$format="open %s%0" . $length . "d%s\n";
printf($format, $1, $number, $3);
#!/usr/bin/perl
# dwb: Control a
$URL = $ARGV[0];
$URL =~ /(.*?)(\d+)(\D*)$/;
$number=$2;
$number++;
print "open $1$number$3\n"
Offline
Youtube-remote only works with enable-plugins set to true. Is there a way to disable plugins and still have mplayer called when visiting a youtube page?
transcend to the fifth abode
Offline
No, this is not possible because the video is not downloaded if plugins are disabled. But of course you can use youtube-dl or cclive in a script to download the video and play it with mplayer.
I mainly wrote the script to watch youtube-videos fullscreen because pausing the video and playing it in mplayer instead uses less cpu.
Last edited by portix (2011-03-19 14:21:40)
Offline
keep up the awesome work man . love dwb.
on a side note- any idea why cpu usage shoots up to 100% when viewing pages such as http://darcsden.com/alex/darcsden/browse/LICENSE ?
Last edited by chris-kun (2011-03-20 21:11:28)
[home page] -- [code / configs]
"Once you go Arch, you must remain there for life or else Allan will track you down and break you." -- Bregol
Offline
on a side note- any idea why cpu usage shoots up to 100% when viewing pages such as http://darcsden.com/alex/darcsden/browse/LICENSE ?
This is a webkit-problem, it happens with all webkit-browsers that use libwebkit from the repos. Building dwb against a development version of libwebkit (libwebkit-git or libwebkit-nightly) should fix this.
Offline
Hey portix,
for my understanding. Where is the problem to block flash? Chrome got flashblock (https://chrome.google.com/extensions/de … abnl?hl=de) plugin so webkit should have a definition for flash. Is this a lib problem?
Your browser is really nice can't find anything that is similar in look&feel but I have the issues with flash and a little fight with the blocklist. Thats prevents me from using dwb as main browser.
Offline
It is possible to block flash and replace it with a clickable widget but there is a bug in webkitgtk's implementation, the widget will only show up, after scrolling the webpage, but i think i found a solution for this, but it needs some testing. I will commit it in the next days. I will not implement a whitelist or blacklist for now since i have some exams at university the next weeks. so i have not much spare time.
Offline
I already commited a plugin-blocker today. Just enable 'plugin-blocker' to get it work. Currently the plugin-blocker needs javascript enabled on the site, the plugin is blocked, but since most sites with flash-content need javascript anyway, this shouldn't be a big disadvantage but I will change this in future revisions.
Edit: It also works now with disabled javascript.
Last edited by portix (2011-03-23 23:22:27)
Offline
Hi portix, like that the plugin blocker is back again. Speeds things up immensely!
However it does seem a little flaky right now. I'm using the latest hg pull (yaourt says 341-1), and when I go to this site: http://benkrasnow.blogspot.com/2011/03/ … scope.html with the plugin blocker enabled, I just get a grey square, no click-to-enable widget like I get when I go to Youtube etc. Oddly enough, if I then type `yy' to yank the URL on that page, dwb segfaults.
Offline
I see, there is a problem when the plugin comes from a redirected site in an iframe. The plugin-blocker blocks the plugin and replaces it with a link at the same position, but i currently see no way to get the correct iframe when there is more than one iframe on that site, because accessing iframes from javascript is not possible and webkitgtk doesn't support direct access to the document, but i will have a look into it the next days.
One possible solution could be to create links at the top or bottom of the page to all plugins inside iframes but i'm not sure how practicable this would be.
Edit: The plugin-blocker should also work now with plugins embedded in iframes.
Last edited by portix (2011-03-24 23:02:35)
Offline