diff options
author | 2009-05-17 11:48:05 +0200 | |
---|---|---|
committer | 2009-05-17 11:48:05 +0200 | |
commit | ec40bc9cc14226a94a45c51e56bf70a5173fd379 (patch) | |
tree | a9d20290b21c71d5f67ffcabe97afb6a49eb65ce /examples/configs | |
parent | c66bf8d5ead4e1834c5427af90ea2776f66bd78e (diff) |
load a page by default
Diffstat (limited to 'examples/configs')
-rw-r--r-- | examples/configs/sampleconfig-dev | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/configs/sampleconfig-dev b/examples/configs/sampleconfig-dev index 71fc46e..9196f4c 100644 --- a/examples/configs/sampleconfig-dev +++ b/examples/configs/sampleconfig-dev @@ -90,3 +90,6 @@ bind XS = sh 'echo "act script alert (\"This is sent by the shell via bind F= script for (var i=0; i < document.links.length; i++) {var uzblid = 'uzbl_link_hint_';var li = document.links[i];var pre = document.getElementById(uzblid+i);if (pre) {li.removeChild(pre);} else {var hint = document.createElement('div');hint.setAttribute('id',uzblid+i);hint.innerHTML = i;hint.style.display='inline';hint.style.lineHeight='90%';hint.style.backgroundColor='red';hint.style.color='white';hint.style.fontSize='small-xx';hint.style.fontWeight='light';hint.style.margin='0px';hint.style.padding='2px';hint.style.position='absolute';hint.style.textDecoration='none';hint.style.left=li.style.left;hint.style.top=li.style.top;li.insertAdjacentElement('afterBegin',hint);}} #hit f followed by linknumber and ENTER to follow that link bind f_ = script window.location = document.links[%s].href; + +# "home" page if you will +set uri = uzbl.org |