You are not logged in.

#1476 2013-03-04 08:42:26

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

Re: dwb - a webkit web browser

The certificate warning has nothing to do with the error, 404 means that the repo was not found, can you manually clone the repo with

hg clone https://bitbucket.org/portix/dwb

?

Offline

#1477 2013-03-04 08:57:09

rg_arc
Member
Registered: 2011-03-20
Posts: 507

Re: dwb - a webkit web browser

ok it works... I had to change the _hgroot link to that instead of https://bitbucket.org/portix in the PKGBUILD

Offline

#1478 2013-03-08 17:10:57

rg_arc
Member
Registered: 2011-03-20
Posts: 507

Re: dwb - a webkit web browser

Another thing... is there any way for dwb to save passwords and usernames?

Offline

#1479 2013-03-08 17:18:27

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: dwb - a webkit web browser

There are a couple extensions you can load with dwbem that can store passwords and usernames... I have not set this up personally though. I just remember reading it somewhere in this giant tthread.

Offline

#1480 2013-03-08 17:49:33

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

Re: dwb - a webkit web browser

WonderWoofy wrote:

There are a couple extensions you can load with dwbem that can store passwords and usernames... I have not set this up personally though. I just remember reading it somewhere in this giant tthread.

There is only one that stores passwords, it is called formfiller, and there are 2 password generators, pwdhash and supergenpass.

Offline

#1481 2013-03-08 19:20:28

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: dwb - a webkit web browser

Thanks for the much more specific (read better) answer portix.  I love your browser BTW.

Offline

#1482 2013-03-10 17:07:59

F34R
Member
From: /dev/loliland
Registered: 2012-02-05
Posts: 245

Re: dwb - a webkit web browser

hi

can i add more than one adblock filters in settings ?

Offline

#1483 2013-03-10 17:35:46

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

Re: dwb - a webkit web browser

You can use a directory and add multiple lists to the directory. There is also a subscription extension, you can install it with

dwbem -i adblock_subscriptions

and subscribe/unsubscribe with :adblock_subscribe/:adblock_unsubscribe

Offline

#1484 2013-03-10 18:29:11

F34R
Member
From: /dev/loliland
Registered: 2012-02-05
Posts: 245

Re: dwb - a webkit web browser

portix wrote:

You can use a directory and add multiple lists to the directory. There is also a subscription extension, you can install it with

dwbem -i adblock_subscriptions

and subscribe/unsubscribe with :adblock_subscribe/:adblock_unsubscribe


i try this way , your subsciption list not included russian and japanese list with easylist and fanboy. downloaded some filters file type : txt put the forder and set in config file.

Offline

#1485 2013-03-10 20:00:27

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: dwb - a webkit web browser

F34R wrote:
portix wrote:

You can use a directory and add multiple lists to the directory. There is also a subscription extension, you can install it with

dwbem -i adblock_subscriptions

and subscribe/unsubscribe with :adblock_subscribe/:adblock_unsubscribe


i try this way , your subsciption list not included russian and japanese list with easylist and fanboy. downloaded some filters file type : txt put the forder and set in config file.

Is this a question?

Offline

#1486 2013-03-10 22:27:24

bslackr
Member
Registered: 2012-01-27
Posts: 131

Re: dwb - a webkit web browser

I have noticed a bug where the screen is not redrawn after going back in history. It seems to happen on minimalist sites that are comprised of mostly text and no images. It happens most frequently when I use dwb to open local html files, but I have also experienced it on regular websites.

Here's some screens, notice the url at the bottom:

First Page
Second Page
Back to First Page

Offline

#1487 2013-03-11 14:24:23

F34R
Member
From: /dev/loliland
Registered: 2012-02-05
Posts: 245

Re: dwb - a webkit web browser

WonderWoofy wrote:
F34R wrote:
portix wrote:

You can use a directory and add multiple lists to the directory. There is also a subscription extension, you can install it with

dwbem -i adblock_subscriptions

and subscribe/unsubscribe with :adblock_subscribe/:adblock_unsubscribe


i try this way , your subsciption list not included russian and japanese list with easylist and fanboy. downloaded some filters file type : txt put the forder and set in config file.

Is this a question?


yep, Probably work with put the txt in a folder and set the path without filtername ?

Offline

#1488 2013-03-11 15:52:55

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: dwb - a webkit web browser

Still not sure if I am parseing correctly... you wat to know if it will work if you manually download it, name it something ridiculous like boogerslist.text and then activate it through dwb?

In that case yes, it should not matter what your list is called as long as it is in the correct path and activated. Of course I have not tried this, so it is only speculation.

Offline

#1489 2013-03-11 17:24:49

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

Re: dwb - a webkit web browser

Yeah, the name doesn't matter as long as dwb finds a directory or a file. Of course 'adblocker-filterlist' must point to a valid path. If you use adblock_subscriptions you don't have to care about it because adblock_subscriptions will set the path.

Offline

#1490 2013-03-13 10:03:06

naphelge
Member
Registered: 2013-03-13
Posts: 15

Re: dwb - a webkit web browser

wow! I have been playing with differnt minimalist browsers for over a year, not quite satisfied with any. uzbl looked really promising, but was taking to much effort to customize to my liking. netsurf just suxord and I settled for xombrero/xxx-term, but although it states it is vim-like i found it unintuitive.

dwb is the browser (by the looks of it after a few days) I have been looking for! gawd awesome job!

The only thing I couldwish for, and no browser I have tried other than firefox, and the list is too long and very undistinguished, offers this feature, but I use it daily. Displaying, or a direct copy to the clipboard would be an immprovement even, source for text selected in a webpage. I often highlight a section of text on a webpage and just need to copy the source for the selection and not the entire page. In fact I do this more often than saving entire pages so that would be way kewl if that feature ever found its way into dwb. But I am in no gonna cry if it doesn't. Hell No!

thanks again for a wicked browser that really does surf like I am typing in a vim terminal.

Last edited by naphelge (2013-03-13 10:06:41)

Offline

#1491 2013-03-13 11:27:30

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

Re: dwb - a webkit web browser

I just hacked a quick script:

//!javascript 
// ys or :source_to_cliboard copies to clipboard
// yS or :source_to_primary copies to primary

function selectedSource() 
{
    var selection = window.getSelection();
    if (selection) 
    {
        var fragment = selection.getRangeAt(0).cloneContents();
        var d = document.createElement("div");
        d.appendChild(fragment);
        return (d.innerHTML);
    }
}
var copySource = function(selection, selectionText)
{
    var html = JSON.parse(tabs.current.focusedFrame.inject(selectedSource));
    if (html)
    {
        clipboard.set(selection, html);
        io.notify("Source copied to " + selectionText);
    }
    else
        io.error("No selection found");
}
bind("yS", copySource.bind(this, Selection.primary, "primary selection"), "source_to_primary");
bind("ys", copySource.bind(this, Selection.clipboard, "clipboard"), "source_to_cliboard");

You need the latest hg version, the community version doesn't support clipboard yet and in older hg-version only primary selection works because clipboard was broken.

Edit: this seems to be really useful so maybe this will get a default command that works without a userscript.

Last edited by portix (2013-03-13 11:29:01)

Offline

#1492 2013-03-13 11:37:07

HalosGhost
Forum Moderator
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,089
Website

Re: dwb - a webkit web browser

Hey portix! Has anyone hacked together a script (now that HSTS has been implemented upstream) to replicate https-everywhere functionality?

All the best,

-HG

Offline

#1493 2013-03-13 11:43:00

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

Re: dwb - a webkit web browser

@HalosGhost: Not that i know of.
@naphelge: here is a version that also shows the source:

//!javascript 
// ys or :source_to_cliboard copies to clipboard
// yS or :source_to_primary copies to primary
// sh or :show_source show source

bind("yS", copySource.bind(this, Selection.primary, "primary selection"), "source_to_primary");
bind("ys", copySource.bind(this, Selection.clipboard, "clipboard"), "source_to_cliboard");
bind("sh", showSource, "show_source");

function selectedSource() 
{
    var selection = window.getSelection();
    if (selection) 
    {
        var fragment = selection.getRangeAt(0).cloneContents();
        var d = document.createElement("div");
        d.appendChild(fragment);
        return (d.innerHTML);
    }
}
function getSource()
{
    var html = JSON.parse(tabs.current.focusedFrame.inject(selectedSource));
    if (html)
        return html;
    else 
        io.error("No selection found");
}
function copySource(selection, selectionText)
{
    var html = getSource();
    if (html)
    {
        clipboard.set(selection, html);
        io.notify("Source copied to " + selectionText);
    }
};
function showSource() {
    var html = getSource();
    if (html)
    {
        var escaped  = html.replace(/(<)|(>)|(&)/g, function(m, lt, gt, amp) {
            return lt ? "&lt;" : gt ? "&gt;" : "&amp;";
        });
        execute("load_html <pre>" + escaped + "</pre>");
    }
};

Offline

#1494 2013-03-13 14:42:06

fliang
Member
Registered: 2013-03-13
Posts: 3

Re: dwb - a webkit web browser

Probably more relevant upstream with the webkitgtk package, but it seems like the current stable and development versions don't support scaletempo. When I change the playback speed in mp4 videos, the voices get chipmunked.

I saw that webkitgtk got this patched pretty recently (https://bugs.webkit.org/show_bug.cgi?id=31155) and the arch package was built before this patch was merged. Should I go there to request this feature be included, or is there a way to work around this using userscripts?

Last edited by fliang (2013-03-13 14:49:49)

Offline

#1495 2013-03-13 14:59:04

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

Re: dwb - a webkit web browser

There is no way to work around it if it's a bug in webkitgtk. I don't think requesting this feature makes sense as archlinux only provides the stable packages. You could try webkitgtk2-svn from AUR, the package version is 20130113 but that doesn't mean that you build that version, makepkg will always grab the last commit.

Last edited by portix (2013-03-13 14:59:38)

Offline

#1496 2013-03-13 18:19:57

ArchaiosFiniks
Member
Registered: 2012-04-01
Posts: 18

Re: dwb - a webkit web browser

This may be just me having weird habits, but I kind of got used to alt+[num] in a couple of applications to quickly change to a tab, yet the only way I found to change tabs were either using the mouse and clicking on it, or scrolling through them with Shift-J and Shift-k, but there's no way to go to a numbered tab directly.

Is there any way to implement it in dwb?

Offline

#1497 2013-03-13 18:23:59

HalosGhost
Forum Moderator
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,089
Website

Re: dwb - a webkit web browser

ArchaiosFiniks wrote:

This may be just me having weird habits, but I kind of got used to alt+[num] in a couple of applications to quickly change to a tab, yet the only way I found to change tabs were either using the mouse and clicking on it, or scrolling through them with Shift-J and Shift-k, but there's no way to go to a numbered tab directly.

Is there any way to implement it in dwb?

Actually, there is already a shortcut for this. I have it mapped to [num]b, but I'm pretty sure that's not the default.

All the best,

-HG

Offline

#1498 2013-03-13 18:38:11

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

Re: dwb - a webkit web browser

${number}T

is the default. Type 'Sk' to enter the Keys settings and search for focus_tab.

Offline

#1499 2013-03-13 19:03:25

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

Re: dwb - a webkit web browser

You can also map it to Alt+number with

Mod1 [n]

Offline

#1500 2013-03-13 19:23:18

ArchaiosFiniks
Member
Registered: 2012-04-01
Posts: 18

Re: dwb - a webkit web browser

portix wrote:

You can also map it to Alt+number with

Mod1 [n]

That worked, thank you!

Offline

Board footer

Powered by FluxBB