modified conkerorrc
This commit is contained in:
parent
8bd0382047
commit
a311b2fe95
1 changed files with 21 additions and 5 deletions
26
.conkerorrc
26
.conkerorrc
|
@ -11,11 +11,24 @@ require("clicks-in-new-buffer.js");
|
||||||
}*/
|
}*/
|
||||||
function test(window)
|
function test(window)
|
||||||
{
|
{
|
||||||
var test = window.tab2-bar;
|
//var test = window.getElementsByAttribute("id", "tab2-bar");
|
||||||
window.buffers.container.removeChild(test);
|
//if (test.length > 0)
|
||||||
|
// window.removeChild(test);
|
||||||
|
//else
|
||||||
|
// window.minibuffer.message("no luck");
|
||||||
|
var after = window.document.getElementById("minibuffer");
|
||||||
|
var testtab = window.document.getElementById("tab2-bar");
|
||||||
|
|
||||||
|
window["minibuffer"].message("I'm different!");
|
||||||
|
|
||||||
|
window.tab_bar.destroy();
|
||||||
|
delete window.tab_bar;
|
||||||
|
|
||||||
|
window.tab_bar = testtab;
|
||||||
|
after.parentNode.insertBefore(testtab, after);
|
||||||
}
|
}
|
||||||
|
|
||||||
//add_hook("window_initialize_hook", test);
|
add_hook("window_initialize_late_hook", test);
|
||||||
|
|
||||||
// VARIABLES
|
// VARIABLES
|
||||||
// Make middle mouse button open new tab in background
|
// Make middle mouse button open new tab in background
|
||||||
|
@ -23,12 +36,13 @@ clicks_in_new_buffer_target = OPEN_NEW_BUFFER_BACKGROUND;
|
||||||
|
|
||||||
// WEBJUMPS
|
// WEBJUMPS
|
||||||
define_webjump("delicious",
|
define_webjump("delicious",
|
||||||
"http://delicious.com/search?p=linux&lc=0&context=userposts%7Cslashed%7C",
|
"http://delicious.com/search?p=linux&lc=0&context=userposts%7Cslashed%7C&replace=no",
|
||||||
$alternative="http://delicious.com/slashed");
|
$alternative="http://delicious.com/slashed");
|
||||||
define_webjump("gmail",
|
define_webjump("gmail",
|
||||||
"https://mail.google.com/mail/#search/%s");
|
"https://mail.google.com/mail/#search/%s");
|
||||||
define_webjump("greader",
|
define_webjump("greader",
|
||||||
"http://www.google.com/reader/view/#search/%s/");
|
"http://www.google.com/reader/view/#search/%s/",
|
||||||
|
$alternative="http://reader.google.com");
|
||||||
define_webjump("github",
|
define_webjump("github",
|
||||||
"http://github.com/search?q=%s",
|
"http://github.com/search?q=%s",
|
||||||
$alternative="http://github.com/ryuslash/");
|
$alternative="http://github.com/ryuslash/");
|
||||||
|
@ -36,6 +50,8 @@ define_webjump("archwiki",
|
||||||
"http://wiki.archlinux.org/index.php?search=%s");
|
"http://wiki.archlinux.org/index.php?search=%s");
|
||||||
define_webjump("fedorawiki",
|
define_webjump("fedorawiki",
|
||||||
"https://fedoraproject.org/wiki/search=%s");
|
"https://fedoraproject.org/wiki/search=%s");
|
||||||
|
define_webjump("metal-archives",
|
||||||
|
"http://www.metal-archives.com/search.php?string=%s&type=band");
|
||||||
|
|
||||||
// FUNCTIONS
|
// FUNCTIONS
|
||||||
interactive("delicious-post",
|
interactive("delicious-post",
|
||||||
|
|
Loading…
Reference in a new issue