dwb: black about:blank, dns lookup

master
Pierre Neidhardt 2013-08-04 16:07:33 +02:00
parent 964d1c3985
commit 01193372d2
5 changed files with 63 additions and 1 deletions

1
.config/dwb/mimetypes Normal file
View File

@ -0,0 +1 @@
application/pdf zathura

View File

@ -110,7 +110,7 @@ font-entry=
proxy-url=
font=sans 10
monospace-font-family=monospace
addressbar-dns-lookup=false
addressbar-dns-lookup=true
enable-universal-access-from-file-uris=true
background-color=#000000
do-not-track=true

View File

@ -0,0 +1,7 @@
#!javascript
signals.connect("documentLoaded", function (wv) {
if (wv.uri == "about:blank") {
wv.inject("document.body.style.background = '#000';");
}
});

View File

@ -27,3 +27,56 @@ filterListDir : "~/.config/dwb/adblock_lists"
//>adblock_subscriptions___CONFIG
});
//>adblock_subscriptions___SCRIPT
//<navtools___SCRIPT
extensions.load("navtools", {
//<navtools___CONFIG
// Shortcut for navigating to the next page
forwardBind : "]]",
// Shortcut for navigating to the previous page
backBind : "[[",
// Go up one directory, e.g. from http://www.example.com/foo/bar to
// http://www.example.com/foo
updirBind : "gu",
// Go to top directory, e.g. from http://www.example.com/foo/bar to
// http://www.example.com
topdirBind : "gU",
// Patterns to match against when searching for "next"-links
nextPatterns : "next,more,>,\u2192,\xbb,\u226b,>>",
// Patterns to match against when searching for "previous"-links
previousPatterns : "prev,previous,back,<,\u2190,\xab,\u226a,<<"
//>navtools___CONFIG
});
//>navtools___SCRIPT
//<autoquvi___SCRIPT
/*<autoquvi___DISABLED
extensions.load("autoquvi", {
//<autoquvi___CONFIG
// The quvi command
quvi : "quvi",
// External player command
player : "mplayer %u",
// Whether to automatically play videos when quvi find a playable
// video
autoPlay : true,
// Whether to choose the quality before quvi starts
chooseQuality : true,
// A shortcut that spawns quvi for the current website
shortcut : "",
// A command that spawns quvi for the current website
command : "autoquvi"
//>autoquvi___CONFIG
});
autoquvi___DISABLED>*/
//>autoquvi___SCRIPT

View File

@ -75,6 +75,7 @@ fi
if [ -n "$(command -v dwb)" ] && [ ! -f "$XDG_DATA_HOME/dwb/extensions/adblock_subscriptions" ] ; then
echo "==> dwb"
dwbem -Ni adblock_subscriptions
dwbem -Ni navtools
# dwbem -Ni youtube_html5
echo
fi