15 lines
548 B
JavaScript
15 lines
548 B
JavaScript
|
cwd = make_file("/home/slash/downloads/");
|
||
|
url_remoting_fn = load_url_in_new_buffer;
|
||
|
read_buffer_show_icons = true;
|
||
|
hints_display_url_panel = true;
|
||
|
|
||
|
add_hook("before_quit_hook",
|
||
|
function () {
|
||
|
var w = get_recent_conkeror_window();
|
||
|
var result = (w == null) ||
|
||
|
"y" == (yield w.minibuffer.read_single_character_option(
|
||
|
$prompt = "Quit Conkeror? (y/n)",
|
||
|
$options = ["y", "n"]));
|
||
|
yield co_return(result);
|
||
|
});
|