You are not logged in.
Thank you! That's worked fine on a global basis. But perdomainsettings only allows webkitwebsettings. So it seems not possible to apply the above rule to a specific website.
Offline
user-stylesheet-uri is a webkitsetting, you can create a stylesheet file for facebook and set user-stylesheet-uri with perdomainsettings.
Offline
Wow! That's brilliant! It worked perfectly. Thanks a lot for the help.
Offline
Hi there again,
I'm having some extrange issues copy/pasting code from dwb, I'm just copying some oracle query's from my work wiki (hosted on google sites) and pasting it directly to SQL*.
I think dwb is messing with the spaces, when I copy the query from dwb:
SELECT TS# NEXT_TABLESPACE FROM
*
ERROR at line 3:
ORA-00911: invalid character
Meanwhile copying it from firefox, it works without any problem.
I've noticed that copying the same query from my personal dokuwiki, works without problem.
I've been trying to look at google site's html but is completely impossible (f***ing wysiwyg).
There's something I can do to workaround that problem?
Thanks!
Offline
user-stylesheet-uri is a webkitsetting, you can create a stylesheet file for facebook and set user-stylesheet-uri with perdomainsettings.
For some reason I can't get this to work. In the settings for perdomainsettings I have this:
uris : {
"http://bbs.archlinux.org/" : { user-stylesheet-uri : "file:///home/ian/.local/share/styles/arch_dark.css" },
},
and it does nothing. I've tried putting user-stylesheet-uri in quotation marks, and using underscores instead of hyphens, and still nothing. The same style sheet works fine in luakit, so I'm stumped.
Offline
portix wrote:user-stylesheet-uri is a webkitsetting, you can create a stylesheet file for facebook and set user-stylesheet-uri with perdomainsettings.
For some reason I can't get this to work. In the settings for perdomainsettings I have this:
uris : { "http://bbs.archlinux.org/" : { user-stylesheet-uri : "file:///home/ian/.local/share/styles/arch_dark.css" }, },
and it does nothing. I've tried putting user-stylesheet-uri in quotation marks, and using underscores instead of hyphens, and still nothing. The same style sheet works fine in luakit, so I'm stumped.
You can either use quotation marks or the name in camel case. It isn't applied because http://bbs.archlinux.org/ is redirected to https://bbs.archlinux.org/, the uri setting is only applied if the uri matches exactly. I think you want a hosts setting:
hosts : {
"bbs.archlinux.org" : { "user-stylesheet-uri" : "file:///home/ian/.local/share/styles/arch_dark.css" }
},
or
hosts : {
"bbs.archlinux.org" : { userStylesheetUri : "file:///home/ian/.local/share/styles/arch_dark.css" }
},
Offline
You can either use quotation marks or the name in camel case. It isn't applied because http://bbs.archlinux.org/ is redirected to https://bbs.archlinux.org/, the uri setting is only applied if the uri matches exactly. I think you want a hosts setting:
hosts : { "bbs.archlinux.org" : { "user-stylesheet-uri" : "file:///home/ian/.local/share/styles/arch_dark.css" } },
or
hosts : { "bbs.archlinux.org" : { userStylesheetUri : "file:///home/ian/.local/share/styles/arch_dark.css" } },
Apparently what was missing (once I moved it to the hosts section) is a comma after the entry:
hosts : {
"bbs.archlinux.org" : { "user-stylesheet-uri" : "file:///home/ian/.local/share/styles/arch_dark.css" },
},
Without that comma, not only does the stylesheet not get applied, but neither do any of the others I specify in perdomainstettings, which worked fine if I took the archlinux one out. But once I put the comma in, everything works.
Offline
If you are using dwb-git and dwbem -E perdomainsettings to change the configuration dwbem will warn you if your configuration contains errors.
Offline
I have to close and reopen dwb as it doesn't release the RAM it used. The usage goes up but rarely goes down.
I've found using a couple of settings background-tabs and load-on-focus to help reduce loading every page until I'm ready which helps lower the RAM usage of pages I'm not looking at. But recently I've switched over to dwb-git and it's closing itself for some mysterious reason. Maybe I'll need to update my git even though cower says it hasn't been updated in the AUR.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
karol wrote:I have to close and reopen dwb as it doesn't release the RAM it used. The usage goes up but rarely goes down.
I've found using a couple of settings background-tabs and load-on-focus to help reduce loading every page until I'm ready which helps lower the RAM usage of pages I'm not looking at. But recently I've switched over to dwb-git and it's closing itself for some mysterious reason. Maybe I'll need to update my git even though cower says it hasn't been updated in the AUR.
Waiting until the AUR PKGBUILD is updated is not how git packages work. The only time changes to these packages are made is when there is something in the build process that needs to be modified. Otherwise, you just update it as you see fit.
Offline
I'm subscribed to dwb RSS feed using newsbeuter. I'm also using cower. I usually do makepkg -fi in dwb-git directory when portix pushed new commit.
Offline
I'm subscribed to dwb RSS feed using newsbeuter. I'm also using cower. I usually do makepkg -fi in dwb-git directory when portix pushed new commit.
Neat, I didn't realize that there was news available via RSS (never really looked either... or even thought to look).
By the way, you don't need to use --force (-f) in that makepkg command. As of pacman 4.1's VCS awesomeness, if there is an update to the git repo, it will rebuild, if not it will try to reinstall the old package.
Offline
serdotlinecho wrote:I'm subscribed to dwb RSS feed using newsbeuter. I'm also using cower. I usually do makepkg -fi in dwb-git directory when portix pushed new commit.
Neat, I didn't realize that there was news available via RSS (never really looked either... or even thought to look).
By the way, you don't need to use --force (-f) in that makepkg command. As of pacman 4.1's VCS awesomeness, if there is an update to the git repo, it will rebuild, if not it will try to reinstall the old package.
Thanks.
Last edited by serdotlinecho (2013-12-04 18:00:40)
Offline
For some reason, I can't edit text areas in my external editor from dwb. In my settings I have
editor=evit dwb_uri
(evit is just a script that launches vim in urxvt). C-e launches the editor just fine, with a file "~/.cache/dwb/edit<digits>" - but (a) if there's already text in the textarea, it's not in the editor, (b) nothing I do in the editor is inserted in the textarea, and (c) the file in .cache/dwb/ remains until I manually delete it. Is there something wrong in my settings, or is it a bug? I'm using the latest stable version.
Offline
Offline
Are you using urxvt or urxvtc? urxvtc won't work with dwb.
I'm using urxvtc. I didn't realise it made a difference.
Offline
The editor process has to be a process that doesn't detach from the parent process, like urxvtc does.
Offline
The editor process has to be a process that doesn't detach from the parent process, like urxvtc does.
Ah, okay.
Offline
Oops, I went to website and twice I got the same bug. I go to this website under x86_64 and not have this problem, but under i686 for this time I got this bug. People are complaining about the new changes to yahoo, maybe this is one of them.
Received SIGSEGV, trying to clean up.
Last 12 stack frames:
12: dwb() [0x805322a]
11: dwb() [0x806c3f1]
10: linux-gate.so.1(__kernel_sigreturn+0) [0xb77a0400]
9: /usr/lib/libjavascriptcoregtk-1.0.so.0(_ZN3JSC3DFG15AssemblyHelpers17decodedCodeMapForEPNS_9CodeBlockE+0x1f2) [0xb53642f2]
8: /usr/lib/libjavascriptcoregtk-1.0.so.0(_ZN3JSC3DFG15OSRExitCompiler11compileExitERKNS0_7OSRExitERKNS_8OperandsINS_13ValueRecoveryENS_18OperandValueTraitsIS6_EEEEPNS0_19SpeculationRecoveryE+0x2269) [0xb539d869]
7: /usr/lib/libjavascriptcoregtk-1.0.so.0(+0x15499a) [0xb53a299a]
6: [0xaa7650a6]
5: /usr/lib/libjavascriptcoregtk-1.0.so.0(_ZN3JSC11Interpreter11executeCallEPNS_9ExecStateEPNS_8JSObjectENS_8CallTypeERKNS_8CallDataENS_7JSValueERKNS_7ArgListE+0x47d) [0xb5411fad]
4: /usr/lib/libjavascriptcoregtk-1.0.so.0(_ZN3JSC4callEPNS_9ExecStateENS_7JSValueENS_8CallTypeERKNS_8CallDataES2_RKNS_7ArgListE+0x60) [0xb54f3920]
3: /usr/lib/libwebkitgtk-1.0.so.0(+0x2d3423) [0xb6282423]
2: /usr/lib/libwebkitgtk-1.0.so.0(+0x4874a9) [0xb64364a9]
1: /usr/lib/libwebkitgtk-1.0.so.0(+0x4876d4) [0xb64366d4]
Segmentation fault (core dumped)
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
Oops, I went to website and twice I got the same bug.
Can you post a link to the website, or even better, can you create a backtrace and file a bug report on the bugtracker?
Offline
nomorewindows wrote:Oops, I went to website and twice I got the same bug.
Can you post a link to the website, or even better, can you create a backtrace and file a bug report on the bugtracker?
Now that I put gdb behind it, it don't want to fuss up. The site was mail.yahoo.com. People have been reporting strange behaviour with yahoo overall since their last upgrade. This was on the repo version of dwb.
Last edited by nomorewindows (2013-12-18 13:40:24)
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
I saw someone asking about this earlier in the thread, but I didn't really understand what was going on with it. Has anyone got Reddit Enhancement Suite working with dwb? I don't know how/if it's possible to use it as a dwb userscript. All the working dwb examples I've seen were (ba)sh scripts or js, but RES seems to be a binary(?). I can just keep using Firefox for reddit, but I'm really enjoying dwb so far and it'd be nice to be able to get this working. Any help would be appreciated.
Edit: I remembered that RES is open source too, so I went and found its source on github, so I have the js and css that go into the browser-specific plugin/extension binaries. But I still haven't been able to figure out how to hook this into dwb.
Last edited by 4z01235 (2013-12-27 04:51:44)
Offline
How do you add new ads to the adblocker's filter? (the Easylist filter)?
With Adblocker in Firefox or Chromium, one can rightclick on an ad that has slipped through the filter, to add that advertisment to the list. How does that work in dwb?
I've searched the web, read the man pages, but I can't find it or I missed it. Please help me out! Thanks in advance :-)
Offline
Great browser, i've decided to delete firefox+vimperator to use dwb-git. But some issues make me nervous:
1) How can i make all sites dark with grey letters? Is it necessary to compose own stylesheets for all pages i visit?
2) When i open couple of huge sites with javascript and images and restart browser - it hangs, taking 2-3 minutes to load them fully.
3) Fresh flashplayer is sometimes needed, is it possible to use chrome buit-in flash in dwb?
Offline
How do you add new ads to the adblocker's filter? (the Easylist filter)?
With Adblocker in Firefox or Chromium, one can rightclick on an ad that has slipped through the filter, to add that advertisment to the list. How does that work in dwb?
I've searched the web, read the man pages, but I can't find it or I missed it. Please help me out! Thanks in advance :-)
You might try requestpolicy.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline